+ protected static final String EXTENSION_NAME = "interface info";\r
+\r
+ protected static final String API_VERSION_NAME = "api-version";\r
+ protected static final String API_VERSION = "1.0.0";\r
+\r
+ protected static final String LAST_MOD_NAME = "last-mod-release";\r
+\r
+ protected static final String AUTHORIZATION_TYPE = "basicAuth";\r
+\r
+ protected static final String VERSION_MINOR_NAME = "X-MinorVersion";\r
+ protected static final String VERSION_MINOR_DESCRIPTION =\r
+ "Used to request or communicate a MINOR version back from the client"\r
+ + " to the server, and from the server back to the client";\r
+\r
+ protected static final String VERSION_PATCH_NAME = "X-PatchVersion";\r
+ protected static final String VERSION_PATCH_DESCRIPTION = "Used only to communicate a PATCH version in a "\r
+ + "response for troubleshooting purposes only, and will not be provided by" + " the client on request";\r
+\r
+ protected static final String VERSION_LATEST_NAME = "X-LatestVersion";\r
+ protected static final String VERSION_LATEST_DESCRIPTION = "Used only to communicate an API's latest version";\r
+\r
+ protected static final String REQUEST_ID_NAME = "X-ONAP-RequestID";\r
+ protected static final String REQUEST_ID_HDR_DESCRIPTION = "Used to track REST transactions for logging purpose";\r
+ protected static final String REQUEST_ID_PARAM_DESCRIPTION = "RequestID for http transaction";\r
+\r
+ protected static final String AUTHENTICATION_ERROR_MESSAGE = "Authentication Error";\r
+ protected static final String AUTHORIZATION_ERROR_MESSAGE = "Authorization Error";\r
+ protected static final String SERVER_ERROR_MESSAGE = "Internal Server Error";\r
+ protected static final String NOT_FOUND_MESSAGE = "Resource Not Found";\r
+ protected static final String INVALID_BODY_MESSAGE = "Invalid Body";\r
+ protected static final String INVALID_PAYLOAD_MESSAGE = "Not Acceptable Payload";\r
+ protected static final String HTTP_CONFLICT_MESSAGE = "Delete Conflict, Rule Violation";\r
+ protected static final String ERROR_MESSAGE_NO_POLICIES_FOUND = "No policies found";\r
+\r
+ protected final Coder coder = new StandardCoder();\r