summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcae/collectors/restconf/common/Constants.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap/dcae/collectors/restconf/common/Constants.java')
-rwxr-xr-xsrc/main/java/org/onap/dcae/collectors/restconf/common/Constants.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/java/org/onap/dcae/collectors/restconf/common/Constants.java b/src/main/java/org/onap/dcae/collectors/restconf/common/Constants.java
new file mode 100755
index 0000000..4845bfc
--- /dev/null
+++ b/src/main/java/org/onap/dcae/collectors/restconf/common/Constants.java
@@ -0,0 +1,38 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * org.onap.dcaegen2.collectors.restconf
+ * ================================================================================
+ * Copyright (C) 2018 Nokia. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.dcae.collectors.restconf.common;
+
+public class Constants {
+ public static final String KDEFAULT_TEMP_FILENAME = "templateFileName";
+ public static final String KSETTING_REST_API_URL = "restapiUrl";
+ public static final String KSETTING_HTTP_METHOD = "httpMethod";
+ public static final String KSETTING_RESP_PREFIX = "responsePrefix";
+ public static final String KSETTING_SKIP_SENDING = "skipSending";
+ public static final String KSETTING_FORMAT = "format";
+ public static final String KSETTING_DMAAPCONFIGS = "collector.dmaapfile";
+ public static final String[] KDEFAULT_DMAAPCONFIGS = new String[]{"./etc/DmaapConfig.json"};
+ public static final String KSETTING_SSE_CONNECT_URL = "sseConnectURL";
+ public static final int KDEFAULT_MAXQUEUEDEVENTS = 1024 * 4;
+ public static final String RESPONSE_CODE = "restapi-result.response-code";
+ public static final String OUTPUT_IDENTIFIER = "restapi-result.ietf-subscribed-notifications:output.identifier";
+ public static final String RESPONSE_CODE_200 = "200";
+ public static final String KCONFIG = "c";
+}