DMAAP-83 Initial code import
[dmaap/dbcapi.git] / src / main / java / org / onap / dmaap / dbcapi / logging / logmsg.properties
1 ###
2 # ============LICENSE_START=======================================================
3 #  org.onap.dmaap
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
10
11 #      http://www.apache.org/licenses/LICENSE-2.0
12
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=========================================================
19 ###
20
21 # 0xx sample stock messages
22 MESSAGE_SAMPLE_NOARGS=\
23   01|\
24   Ignore: demo msg with no arg|\
25   No resolution|\
26   An example of a message with no args
27
28 MESSAGE_SAMPLE_ONE_ARG=\
29   02|\
30   Ignore: demo  msg with 1 arg {0}|\
31   No resolution|\
32   An example of a message with 1 arg
33
34 MESSAGE_SAMPLE_TWO_ARGS=\
35   03|\
36   Ignore: demo msg with arg1 {0} and arg2 {1}|\
37   No resolution|\
38   An example of a message with 2 args
39   
40
41   
42 # 1xx Permission Errors
43 AAF_CREDENTIAL_ERROR=\
44   101|\
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.
48   
49 CODEC_CREDENTIAL_ERROR=\
50   102|\
51   Failed to read CredentialCodecKeyfile {0} with error {1}|\
52   Check if CredentialCodecKeyfile has been corrupted.|\
53   CredentialCodecKeyfile is not in sync with application
54   
55 PE_AUTHENTICATION_ERROR=\
56   103|\
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.
60   
61 DR_PROV_AUTHORIZATION=\
62   104|\
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.
66
67 # 2xx Availability Errors/Timeouts
68 DRIVER_UNAVAILABLE=\
69   201|\
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.
73   
74 HTTP_CONNECTION_ERROR=\
75   202|\
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
79
80 HTTP_CONNECTION_EXCEPTION=\
81   203|\
82   Connection to {0} refused because {1}|\  
83   Check if this is the proper server.|\
84   Application caught a ConnectionException
85
86 UNKNOWN_HOST_EXCEPTION=\
87   204|\
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.
91
92 # 3xx Data Errors
93 IO_EXCEPTION=\
94   301|\
95   IOexception {0}|\
96   No resolution.|\
97   Generic IO Exception condition
98
99 SSL_HANDSHAKE_ERROR=\
100   302|\
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
104   
105 AAF_UNEXPECTED_RESPONSE=\
106   303|\
107   rc= {0} :unable to {1} for {2}|\
108   Check configuration for this AAF instance.|\
109   Unexpected response from AAF for the intended action
110   
111 PE_EXCEPTION=\
112   304|\
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.
116   
117 SOCKET_EXCEPTION=\
118   305|\
119   Caught exception {0} while {1}|\
120   No comment.|\
121   An unexpected socket exception was caught while performing the specified action.
122   
123 JSON_PARSING_ERROR=\
124   306|\
125   ParsingException for object {0} using data:{1}|\
126   No comment.|\
127   The JSON data provided to the object was not in the expected format
128  
129  DECRYPT_IO_ERROR=\
130    307|\
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. 
134   
135 # 4xx Schema Errors
136
137 DB_UPGRADE_ERROR=\
138   401|\
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.
142  
143 DB_INIT_ERROR=\
144   402|\
145   Error initializing database access: {0}|\
146   Correct configuration based on detail.|\
147   The software was not able initialize objects from the DB.
148   
149 DB_UPDATE_ERROR=\
150   403|\
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.
154  
155 DB_ACCESS_ERROR=\
156   404|\
157   Database access problem: {0}|\
158   Correct configuration based on detail.|\
159   An exception related to DB access was caught and logged.
160   
161 DB_FIELD_INIT_ERROR=\
162   405|\
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.
166
167 DB_ACCESS_INIT_ERROR=\
168   406|\
169   Problem initializing sql access methods {0} |\
170   No comment.|\
171   Error encountered while initializing basic field types.
172   
173 DB_NO_FIELD_HANDLER=\
174   407|\
175   No field handler for class {0} field {1} index {2} type {3}|\
176   No comment.|\
177   Missing field handler for specified code.
178
179
180 # 5xx Business Process Errors
181 PREREQ_DMAAP_OBJECT=\
182   501|\
183   Attempt to access {} before dmaap object resource is available.|\
184   No remediation.|\
185   The dmaap object needs to be defined before attempting the desired access
186   
187 PROV_OUT_OF_SYNC=\
188   502|\
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
192   
193 MM_CIRCULAR_REF=\
194   503|\
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.
198   
199 TOPIC_CREATE_ERROR=\
200   504|\
201   Unable to create topic for {0} err={1} fields={2} msg={3}|\
202   No comment.|\
203   Reporting an error caught while creating a topic
204   
205 INGRESS_CREATE_ERROR=\
206   505|\
207   rc={0} unable to create ingress rule for {1} on feed {2} to {3}|\
208   No comment.|\
209   Unexpected response while creating ingress rule
210   
211 FEED_PUB_PROV_ERROR=\
212   506|\
213   For feed {0} resulting set of publishers do not match requested set of publishers {1} vs {2}|\
214   No comment.|\
215   The number of publishers on a feed do not match after provisioning request.
216   
217 FEED_SUB_PROV_ERROR=\
218   507|\
219   For feed {0} i={1} url={2}  err={3}|\
220   No comment.|\
221   An error occurred when provisioning subs on a feed.
222   
223 MM_PUBLISH_ERROR=\
224   508|\
225   Unable to publish {0} provisioning message. rc={1} msg={2}|\
226   No comment.|\
227   An error occurred when publishing a message to MM
228   
229 EGRESS_CREATE_ERROR=\
230   509|\
231   rc={0} unable to create egress rule for {1} on feed {2} to {3}|\
232   No comment.|\
233   Unexpected response while creating egress rule
234   
235 # 900 Unknown Errors
236 UNEXPECTED_CONDITION=\
237   901|\
238   Unexpected exception encountered {0}|\
239   No resolution|\
240   An error to catch unexpected conditions.  Hopefully a clue in the stack trace.