Revisions made to the Model Loader to use Babel
[aai/model-loader.git] / src / main / resources / org / openecomp / modelloader / service / ModelLoaderMsgs.properties
index 8e2d043..112b48c 100644 (file)
@@ -1,21 +1,22 @@
 ###\r
-# ============LICENSE_START=======================================================
-# MODEL LOADER SERVICE
-# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
-# ================================================================================
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-# \r
-#      http://www.apache.org/licenses/LICENSE-2.0\r
-# \r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.
-# ============LICENSE_END=========================================================\r
+#  ============LICENSE_START==========================================\r
+#  org.onap.aai\r
+#  ===================================================================\r
+#  Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.\r
+#  Copyright © 2017-2018 Amdocs\r
+#  ===================================================================\r
+#  Licensed under the Apache License, Version 2.0 (the "License");\r
+#  you may not use this file except in compliance with the License.\r
+#  You may obtain a copy of the License at\r
+#\r
+#         http://www.apache.org/licenses/LICENSE-2.0\r
+#\r
+#  Unless required by applicable law or agreed to in writing, software\r
+#  distributed under the License is distributed on an "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+#  See the License for the specific language governing permissions and\r
+#  limitations under the License.\r
+#  ============LICENSE_END============================================\r
 ###\r
 \r
 #Resource key=Error Code|Message text|Resolution text |Description text\r
@@ -45,74 +46,95 @@ LOADING_CONFIGURATION=\
                   MDLSVC0001I|\\r
                   Loading configuration |\\r
                   None. Attempting to load configuration|\\r
-                  Attempting to load Model Loader Service configuration\r
+                  Attempting to load Model Loader Service configuration.|\\r
                   \r
 STOPPING_CLIENT=\\r
                   MDLSVC0002I|\\r
                   Stopping distribution client|\\r
                   None. Stopping service|\\r
-                  Stopping the Model Service distribution client\r
+                  Stopping the Model Service distribution client.|\\r
                   \r
 DISTRIBUTION_EVENT=\\r
                   MDLSVC0003I|\\r
                   Distribution event: {0}|\\r
                   None. Processing distribution.|\\r
-                  A distribution event was received from the ASDC\r
+                  A distribution event was received from the ASDC.|\\r
                   \r
 AAI_REST_REQUEST_SUCCESS=\\r
                   MDLSVC0004I|\\r
                   Sent {0} request to {1}.  Response: {2}|\\r
                   None. Successfully sent REST request to AAI.|\\r
-                  The given request was sent to the specified endpoint.\r
+                  The given request was sent to the specified endpoint.|\\r
                   \r
 AAI_REST_REQUEST_UNSUCCESSFUL=\\r
                   MDLSVC0005I|\\r
                   Sent {0} request to {1}.  Response code: {2}, Response message: {3}|\\r
                   REST request to AAI unsuccessful. Check response code, and message. |\\r
-                  The given request was unsuccessful.                                        \r
+                  The given request was unsuccessful.|\\r
 \r
 DOWNLOAD_COMPLETE=\\r
                   MDLSVC0006I|\\r
-                  Download of artifact {0} from ASDC complete.  Result: {1}|\\r
-                  None.|\\r
-                  An artifact was downloaded from the ASDC\r
+                  Download of artifact {0} from ASDC complete. An artifact was downloaded from the ASDC. Payload: {1}|\\r
                   \r
 EVENT_PUBLISHED=\\r
                   MDLSVC0007I|\\r
                   Published {0} event for artifact {1}.  Result: {2}|\\r
                   None.|\\r
-                  An event was published to the event bus\r
+                  An event was published to the event bus|\\r
+                  \r
+\r
+BABEL_REST_REQUEST_PAYLOAD=\\r
+                  MDLSVC0008I|\\r
+                  Sending request to Babel. {0}|\\r
+\r
+BABEL_RESPONSE_PAYLOAD=\\r
+                  MDLSVC0009I|\\r
+                  Received response from Babel. {0}|\\r
+\r
+AAI_REST_REQUEST_PAYLOAD=\\r
+                 MDLSVC0010I|\\r
+                 A&AI request payload: {0}|\\r
+                 \r
+UNSUPPORTED_ARTIFACT_TYPE=\\r
+                 MDLSVC0011I|\\r
+                 The downloaded artifact: {0} has an unsupported type of: {1}|\\r
                   \r
 # ERROR Level Logs                  \r
 ASDC_CONNECTION_ERROR=\\r
                   MDLSVC2001E|\\r
                   Unable to register with ASDC: {0}|\\r
                   Check configuration.  Check network connection to ASDC|\\r
-                  During initialization, was not able to register with the configured ASDC instance\r
+                  During initialization, was not able to register with the configured ASDC instance|\\r
                   \r
 DISTRIBUTION_EVENT_ERROR=\\r
                   MDLSVC2002E|\\r
                   Distribution event error: {0}|\\r
                   Check configuration.  Check network connection to ASDC and UEB|\\r
-                  A failure occurred processing a distribution event\r
+                  A failure occurred processing a distribution event|\\r
                   \r
 AAI_REST_REQUEST_ERROR=\\r
                   MDLSVC2003E|\\r
                   Failed to send {0} request to {1}: {2}|\\r
                   Check configuration.  Check network connection to AAI.|\\r
-                  A failure occurred attempting to send a request to the AAI\r
+                  A failure occurred attempting to send a request to the AAI|\\r
 \r
 ARTIFACT_PARSE_ERROR=\\r
                   MDLSVC2004E|\\r
                   Failed to parse artifact: {0}|\\r
                   Check artifact. |\\r
-                  A failure occurred attempting to parse artifact from SDC\r
+                  A failure occurred attempting to parse artifact from SDC|\\r
+\r
+BABEL_REST_REQUEST_ERROR=\\r
+                  MDLSVC2005E|\\r
+                  Failed to send {0} request to {1}: {2}|\\r
+                  Check configuration.  Check network connection to Babel.|\\r
+                  A failure occurred attempting to send a request to the Babel|\\r
                                                     \r
 # DEBUG Level Logs                  \r
 INITIALIZING=\\r
                   MDLSVC0001D|\\r
                   init(): {0}|\\r
                   None. Initializing service|\\r
-                  Debug information during model loader initialization\r
+                  Debug information during model loader initialization|\\r
                                   \r
     \r