diff options
author | MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> | 2021-07-12 16:14:53 +0530 |
---|---|---|
committer | Md Irshad Sheikh <md.irshad.sheikh@huawei.com> | 2021-08-17 11:17:09 +0000 |
commit | f6755e34a8968756b59ca65bec50116530d40a48 (patch) | |
tree | d0df73f5f952f110eb57d1a22abb74da3c0672ad /so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/test/java/org/onap/so/monitoring/rest/api/Constants.java | |
parent | 2991403a7d566264ff4fbc0f46bbb10da3e2e3c6 (diff) |
Add Junit coverage
Issue-ID: SO-3707
Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>
Change-Id: I76af230437d54a0142f3f963f555ac1589ad954b
Diffstat (limited to 'so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/test/java/org/onap/so/monitoring/rest/api/Constants.java')
-rw-r--r-- | so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/test/java/org/onap/so/monitoring/rest/api/Constants.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/test/java/org/onap/so/monitoring/rest/api/Constants.java b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/test/java/org/onap/so/monitoring/rest/api/Constants.java index aef8234..c237117 100644 --- a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/test/java/org/onap/so/monitoring/rest/api/Constants.java +++ b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/test/java/org/onap/so/monitoring/rest/api/Constants.java @@ -39,6 +39,8 @@ public class Constants { public static final String SOURCE_TEST_FOLDER = "src/test/resources/camundaResponses/"; + public static final String SOURCE_CATALOG_FOLDER = "src/test/resources/catalogResponses/"; + public static final Path PROCESS_DEF_RESPONSE_JSON_FILE = Paths.get(SOURCE_TEST_FOLDER + "processDefinition.json"); public static final Path ACTIVITY_INSTANCE_RESPONSE_JSON_FILE = @@ -56,6 +58,42 @@ public class Constants { public static final Path SEARCH_RESULT_RESPONSE_JSON_FILE = Paths.get("src/test/resources/databaseResponses/searchResult.json"); + public static final Path SERVICE_RECIPE_RESPONSE_JSON_FILE = + Paths.get(SOURCE_CATALOG_FOLDER + "serviceRecipeResponse.json"); + + public static final Path SERVICE_RECIPE_REQUEST_JSON_FILE = + Paths.get(SOURCE_CATALOG_FOLDER + "serviceRecipeRequest.json"); + + public static final Path NETWORK_RECIPE_RESPONSE_JSON_FILE = + Paths.get(SOURCE_CATALOG_FOLDER + "networkRecipeResponse.json"); + + public static final Path SERVICE_RESPONSE_JSON_FILE = + Paths.get(SOURCE_CATALOG_FOLDER + "serviceResponse.json"); + + public static final Path SERVICE_MODELVERSIONID_NOT_EXIST = + Paths.get(SOURCE_CATALOG_FOLDER + "service_Model_Version_Not_Exist.json"); + + public static final Path SERVICE_SERVICE_ACTION_CONFLICT = + Paths.get(SOURCE_CATALOG_FOLDER + "service_ServiceActionConflict.json"); + + public static final Path SERVICE_TYPE_NETWORK_REQUEST = + Paths.get(SOURCE_CATALOG_FOLDER + "serviceRecipeRequest_TypeNetwork.json"); + + public static final Path SERVICE_TYPE_NETWORK_RESPONSE = + Paths.get(SOURCE_CATALOG_FOLDER + "service_Type_Network_Response.json"); + + public static final Path SERVICE_TYPE_VNF_REQUEST = + Paths.get(SOURCE_CATALOG_FOLDER + "serviceRecipeRequest_TypeVnf.json"); + + public static final Path VNF_RECIPE_RESPONSE_JSON_FILE = + Paths.get(SOURCE_CATALOG_FOLDER + "vnfRecipeResponse.json"); + + public static final Path SERVICE_TYPE_VNF_RESPONSE = + Paths.get(SOURCE_CATALOG_FOLDER + "service_Type_Vnf_Response.json"); + + public static final Path EMPTY_RESPONSE_JSON_FILE = + Paths.get(SOURCE_CATALOG_FOLDER + "EmptyResponse.json"); + public static final String ID = UUID.randomUUID().toString(); public static final long END_TIME_IN_MS = 1546351200000l; |