2 # ============LICENSE_START=======================================================
4 # ================================================================================
5 # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
21 # 0xx sample stock messages
22 MESSAGE_SAMPLE_NOARGS=\
24 Ignore: demo msg with no arg|\
26 An example of a message with no args
28 MESSAGE_SAMPLE_ONE_ARG=\
30 Ignore: demo msg with 1 arg {0}|\
32 An example of a message with 1 arg
34 MESSAGE_SAMPLE_TWO_ARGS=\
36 Ignore: demo msg with arg1 {0} and arg2 {1}|\
38 An example of a message with 2 args
42 # 1xx Permission Errors
43 AAF_CREDENTIAL_ERROR=\
45 Service credentials ({0}) are not valid for AAF connection|\
46 Check credentials are valid in appropriate AAF environment.|\
47 Connection to AAF was not allowed for the specified credentials.
49 CODEC_CREDENTIAL_ERROR=\
51 Failed to read CredentialCodecKeyfile {0} with error {1}|\
52 Check if CredentialCodecKeyfile has been corrupted.|\
53 CredentialCodecKeyfile is not in sync with application
55 PE_AUTHENTICATION_ERROR=\
57 User {0} perms {1} caught PolicyEngineException {1}|\
58 User needs to be granted perm before access.|\
59 Identified user was not authorized for the specific perm.
61 DR_PROV_AUTHORIZATION=\
63 Not authorized for API {0}|\
64 Bus Controller host needs to be provisioned as a Node and an AUTHORIZED_HOST.|\
65 DR Prov indicates that Bus Controller host is not authorized for the specified API.
67 # 2xx Availability Errors/Timeouts
70 Unable to load driver {0}. Error {1}|\
71 Check that specified driver is installed and accessible to application.|\
72 The software attempted to load a driver and was not successful.
74 HTTP_CONNECTION_ERROR=\
76 Exception during openConnection to {0} failed with {1}|\
77 Confirm syntax of URL is correct and network access from this host is allowed.|\
78 An attempt to URL.openConnection failed
80 HTTP_CONNECTION_EXCEPTION=\
82 Connection to {0} refused because {1}|\
83 Check if this is the proper server.|\
84 Application caught a ConnectionException
86 UNKNOWN_HOST_EXCEPTION=\
88 Caught exception {0} attempting to access {1}|\
89 Confirm that host is in DNS|\
90 Caught UnknownHostException when connecting to the designated host name.
97 Generic IO Exception condition
101 SSLHandshakeException from URL {0}|\
102 Confirm that target host has proper SSL certificate for DNS value used to access it.|\
103 SSLHandshake exception thrown on HttpsURLConnection method
105 AAF_UNEXPECTED_RESPONSE=\
107 rc= {0} :unable to {1} for {2}|\
108 Check configuration for this AAF instance.|\
109 Unexpected response from AAF for the intended action
113 Trying to read {0} and caught PolicyEngineException {1}|\
114 Check config file exists and has proper settings.|\
115 An unexpected exception from PE was caught.
119 Caught exception {0} while {1}|\
121 An unexpected socket exception was caught while performing the specified action.
125 ParsingException for object {0} using data:{1}|\
127 The JSON data provided to the object was not in the expected format
131 IO Error attempting using {0} to decrypt value {1}|\
132 Check permissions of file set for property CredentialCodecKeyfile.|\
133 Error using codec file for decryption.
139 Problem updating DB schema. {0}|\
140 Examine stack trace for clues.|\
141 The software was not able to process the sql file resources in the jar file.
145 Error initializing database access: {0}|\
146 Correct configuration based on detail.|\
147 The software was not able initialize objects from the DB.
151 Error while updating DB: {0}|\
152 Correct configuration based on detail.|\
153 The software was not able to update record(s) in the DB.
157 Database access problem: {0}|\
158 Correct configuration based on detail.|\
159 An exception related to DB access was caught and logged.
161 DB_FIELD_INIT_ERROR=\
163 Problem setting field {0} to {1} statement is {2}|\
164 DB schema may be out of sync with code.|\
165 SQLDate.set() failed to set field value.
167 DB_ACCESS_INIT_ERROR=\
169 Problem initializing sql access methods {0} |\
171 Error encountered while initializing basic field types.
173 DB_NO_FIELD_HANDLER=\
175 No field handler for class {0} field {1} index {2} type {3}|\
177 Missing field handler for specified code.
180 # 5xx Business Process Errors
181 PREREQ_DMAAP_OBJECT=\
183 Attempt to access {0} before dmaap object resource is available.|\
185 The dmaap object needs to be defined before attempting the desired access
189 Resource {0} with id {1} was not in sync with DR Prov.\
190 May need manual sync steps.\
191 The Bus Controller view of a resource does not match what was found on DR Prov
195 Trying to add edge from source {0} into Map belonging to {1}|\
196 May indicate a provisioning error.|\
197 Some error in logic is attempting to add an edge to a Map that is an edge.
201 Unable to create topic for {0} err={1} fields={2} msg={3}|\
203 Reporting an error caught while creating a topic
205 INGRESS_CREATE_ERROR=\
207 rc={0} unable to create ingress rule for {1} on feed {2} to {3}|\
209 Unexpected response while creating ingress rule
211 FEED_PUB_PROV_ERROR=\
213 For feed {0} resulting set of publishers do not match requested set of publishers {1} vs {2}|\
215 The number of publishers on a feed do not match after provisioning request.
217 FEED_SUB_PROV_ERROR=\
219 For feed {0} i={1} url={2} err={3}|\
221 An error occurred when provisioning subs on a feed.
225 Unable to publish {0} provisioning message. rc={1} msg={2}|\
227 An error occurred when publishing a message to MM
229 EGRESS_CREATE_ERROR=\
231 rc={0} unable to create egress rule for {1} on feed {2} to {3}|\
233 Unexpected response while creating egress rule
236 UNEXPECTED_CONDITION=\
238 Unexpected exception encountered {0}|\
240 An error to catch unexpected conditions. Hopefully a clue in the stack trace.