Remove mso-oof-adapter from SO
[so.git] / so-monitoring / so-monitoring-service / src / test / java / org / onap / so / monitoring / rest / api / Constants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Ericsson. All rights reserved.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  * 
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  * 
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  * 
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20 package org.onap.so.monitoring.rest.api;
21
22 import java.nio.file.Path;
23 import java.nio.file.Paths;
24 import java.util.UUID;
25
26 /**
27  * @author andrei.barcovschi@ericsson.com
28  *
29  */
30 public class Constants {
31
32     public static final String PROCRESS_DEF_ID = "AFRFLOW:1:c6eea1b7-9722-11e8-8caf-022ac9304eeb";
33
34     public static final String EMPTY_ARRAY_RESPONSE = "[]";
35
36     public static final String PROCESS_INSTACE_ID = "5956a99d-9736-11e8-8caf-022ac9304eeb";
37
38     public static final String EMPTY_STRING = "";
39
40     public static final String SOURCE_TEST_FOLDER = "src/test/resources/camundaResponses/";
41
42     public static final Path PROCESS_DEF_RESPONSE_JSON_FILE = Paths.get(SOURCE_TEST_FOLDER + "processDefinition.json");
43
44     public static final Path ACTIVITY_INSTANCE_RESPONSE_JSON_FILE =
45             Paths.get(SOURCE_TEST_FOLDER + "activityInstance.json");
46
47     public static final Path PROCESS_INSTANCE_VARIABLES_RESPONSE_JSON_FILE =
48             Paths.get(SOURCE_TEST_FOLDER + "processInstanceVariables.json");
49
50     public static final Path PROCCESS_INSTANCE_RESPONSE_JSON_FILE =
51             Paths.get(SOURCE_TEST_FOLDER + "processInstance.json");
52
53     public static final Path SINGLE_PROCCESS_INSTANCE_RESPONSE_JSON_FILE =
54             Paths.get(SOURCE_TEST_FOLDER + "singleprocessInstance.json");
55
56     public static final Path SEARCH_RESULT_RESPONSE_JSON_FILE =
57             Paths.get("src/test/resources/databaseResponses/searchResult.json");
58
59     public static final String ID = UUID.randomUUID().toString();
60
61     public static final long END_TIME_IN_MS = 1546351200000l;
62
63     public static final long START_TIME_IN_MS = 1546346700000l;
64
65     private Constants() {}
66
67 }