Merge "Fix url for catalog query" into casablanca
authorSteve Smokowski <ss835w@att.com>
Thu, 17 Jan 2019 13:28:28 +0000 (13:28 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 17 Jan 2019 13:28:28 +0000 (13:28 +0000)
47 files changed:
bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/DmaapPropertiesClientTest.java
bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/dmaapproperties/GlobalDmaapPublisherTest.java
bpmn/MSOCommonBPMN/src/test/java/org/onap/so/client/exception/ExceptionBuilderTest.java
docs/api/apis/SO_Interface.rst [moved from docs/api/SO_Interface.rst with 89% similarity]
docs/api/offered_consumed_apis.rst
docs/developer_info/developer_information.rst
docs/release-notes.rst
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/camunda/model/ActivityInstance.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/camunda/model/ActivityInstance.java with 97% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/camunda/model/ProcessDefinition.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/camunda/model/ProcessDefinition.java with 95% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/camunda/model/ProcessInstance.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/camunda/model/ProcessInstance.java with 97% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/camunda/model/ProcessInstanceVariable.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/camunda/model/ProcessInstanceVariable.java with 95% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/camunda/model/SoActiveInfraRequests.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/camunda/model/SoActiveInfraRequests.java with 98% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/camunda/CamundaConfiguration.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/configuration/camunda/CamundaConfiguration.java with 96% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/camunda/CamundaRestUrlProvider.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/configuration/camunda/CamundaRestUrlProvider.java with 98% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/database/DatabaseConfiguration.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/configuration/database/DatabaseConfiguration.java with 96% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/database/DatabaseUrlProvider.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/configuration/database/DatabaseUrlProvider.java with 96% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/rest/BasicAuthorizationHttpRequestInterceptor.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/configuration/rest/BasicAuthorizationHttpRequestInterceptor.java with 97% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/rest/CorsConfigurer.java [new file with mode: 0644]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/rest/HttpClientConnectionConfiguration.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/configuration/rest/HttpClientConnectionConfiguration.java with 98% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/rest/HttpServiceProviderConfiguration.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/configuration/rest/HttpServiceProviderConfiguration.java with 88% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/rest/RestTemplateConfiguration.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/configuration/rest/RestTemplateConfigration.java with 97% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/db/service/DatabaseServiceProvider.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/db/service/DatabaseServiceProvider.java with 92% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/db/service/DatabaseServiceProviderImpl.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/db/service/DatabaseServiceProviderImpl.java with 87% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/exception/InvalidRestRequestException.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/exception/InvalidRestRequestException.java with 96% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/exception/RestProcessingException.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/exception/RestProcessingException.java with 96% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/model/ActivityInstanceDetail.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/model/ActivityInstanceDetail.java with 98% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/model/ProcessDefinitionDetail.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/model/ProcessDefinitionDetail.java with 95% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/model/ProcessInstanceDetail.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/model/ProcessInstanceDetail.java with 97% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/model/ProcessInstanceIdDetail.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/model/ProcessInstanceIdDetail.java with 94% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/model/ProcessInstanceVariableDetail.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/model/ProcessInstanceVariableDetail.java with 95% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/model/SoInfraRequest.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/model/SoInfraRequest.java with 97% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/model/SoInfraRequestBuilder.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/model/SoInfraRequestBuilder.java with 99% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/rest/service/CamundaProcessDataServiceProvider.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/rest/service/CamundaProcessDataServiceProvider.java with 81% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/rest/service/CamundaProcessDataServiceProviderImpl.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/rest/service/CamundaProcessDataServiceProviderImpl.java with 91% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/rest/service/HttpRestServiceProvider.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/rest/service/HttpRestServiceProvider.java with 96% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/rest/service/HttpRestServiceProviderImpl.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/rest/service/HttpRestServiceProviderImpl.java with 96% similarity]
so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/utils/ObjectEqualsUtils.java [moved from so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/montoring/utils/ObjectEqualsUtils.java with 97% similarity]
so-monitoring/so-monitoring-handler/src/test/java/org/onap/so/montoring/configuration/CamundaConfigurationTest.java
so-monitoring/so-monitoring-handler/src/test/java/org/onap/so/montoring/configuration/CamundaRestUrlProviderTest.java
so-monitoring/so-monitoring-handler/src/test/java/org/onap/so/montoring/configuration/HttpServiceProviderConfigurationTest.java
so-monitoring/so-monitoring-handler/src/test/java/org/onap/so/montoring/configuration/PojoClassesTests.java
so-monitoring/so-monitoring-handler/src/test/java/org/onap/so/montoring/configuration/database/DatabaseUrlProviderTest.java
so-monitoring/so-monitoring-handler/src/test/java/org/onap/so/montoring/db/api/DatabaseServiceProviderTest.java
so-monitoring/so-monitoring-handler/src/test/java/org/onap/so/montoring/rest/service/CamundaProcessDataServiceProviderTest.java
so-monitoring/so-monitoring-handler/src/test/java/org/onap/so/montoring/utils/ObjectEqualsUtilsTest.java
so-monitoring/so-monitoring-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringController.java
so-monitoring/so-monitoring-service/src/test/java/org/onap/so/monitoring/rest/api/SoMonitoringControllerTest.java

index dbf2eb7..95b8652 100644 (file)
@@ -26,6 +26,7 @@ import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
 import static com.shazam.shazamcrest.matcher.Matchers.sameBeanAs;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertThat;
+import static org.junit.Assert.assertTrue;
 
 import java.io.File;
 import java.io.IOException;
@@ -46,6 +47,7 @@ public class DmaapPropertiesClientTest extends BaseTest{
        @Autowired
        private DmaapPropertiesClient dmaapPropertiesClient;
 
+
        private final String file = "src/test/resources/org/onap/so/client/avpn/dmaap/avpnDmaapAsyncRequestStatus.json";
        private String requestId = "rq1234d1-5a33-55df-13ab-12abad84e331";
        private String clientSource = "SPP";
index 47e0583..4d7c85e 100644 (file)
@@ -21,6 +21,7 @@
 package org.onap.so.client.dmaapproperties;
 
 import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
 
 import org.junit.Test;
 import org.onap.so.BaseTest;
@@ -30,7 +31,8 @@ public class GlobalDmaapPublisherTest extends BaseTest{
 
        @Autowired
        private GlobalDmaapPublisher globalDmaapPublisher;
-       
+
+
        @Test
        public void testGetters() {
                assertEquals("dmaapUsername", globalDmaapPublisher.getUserName());
index d1013e7..2e25449 100644 (file)
@@ -21,7 +21,7 @@
 package org.onap.so.client.exception;
 
 import static org.junit.Assert.assertEquals;
-
+import static org.junit.Assert.assertTrue;
 import org.camunda.bpm.engine.delegate.BpmnError;
 import org.junit.Test;
 import org.onap.so.bpmn.mock.FileUtil;
@@ -32,6 +32,7 @@ public class ExceptionBuilderTest extends BaseTest {
        private static final String RESOURCE_PATH = "__files/";
        private static final String VALID_ERROR_MESSAGE = "{test error message}";
 
+
        @Test
        public void buildAndThrowWorkflowExceptionTest() {
                try {
similarity index 89%
rename from docs/api/SO_Interface.rst
rename to docs/api/apis/SO_Interface.rst
index 4f3d914..b079989 100644 (file)
@@ -5,7 +5,7 @@
 SO Interfaces
 ================================
 
-.. image:: ../images/SO_1.png
+.. image:: ../../images/SO_1.png
 
 SO APIs
 ----------------
@@ -1151,8 +1151,8 @@ RequestStatus Object
 |percentProgress          |String            |percentage of progress                           |
 +-------------------------+------------------+-------------------------------------------------+
 
-SDC API
---------
+SDC Client API
+------------------
 
 Get List of Existing Catalog Assets 
 +++++++++++++++++++++++++++++++++++
@@ -1371,380 +1371,9 @@ Response:
 |Content-Disposition |M        |Specifies  the name of  file to  store the  downloaded artifact’s  payload  ( RFC 2183) .                                 |
 +--------------------+---------+--------------------------------------------------------------------------------------------------------------------------+
 
-Upload Artifact 
-+++++++++++++++
-
-+--------------------+-----------------------------------------------------------------------------------------------+
-|Interface Definition|Description                                                                                    |
-+====================+===============================================================================================+
-|URI                 |/sdc/v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceNormalizedName}/artifacts|
-+--------------------+-----------------------------------------------------------------------------------------------+
-|Operation Type      |POST                                                                                           |
-+--------------------+-----------------------------------------------------------------------------------------------+
-
-Request Parameters:
-
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|Attribute                     |Qualifier|Cardinality|Content|Description                                                                          |
-+==============================+=========+===========+=======+=====================================================================================+
-|assetType                     |M        |1          |String |The requested asset type.valid values are resources/services.                        |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|Uuid                          |M        |1          |String |The uuid of the asset as published in the metadata                                   |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|resourceInstanceNormalizedName|M        |1          |String |Normalized name of resource                                                          |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-
-Request Body
-++++++++++++
-
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|Attribute                     |Qualifier|Cardinality|Content|Description                                                                          |
-+==============================+=========+===========+=======+=====================================================================================+
-|payloadData                   |M        |1          |String |The data of the artifact after Base64 encoding                                       |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactLabel                 |M        |1          |String |Identifier of the artifact within the VF / Service.                                  |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactName                  |M        |1          |String |The name of the artifact                                                             |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactType                  |M        |1          |String |The type of the artifact                                                             |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactGroupType             |M        |1          |String |Whether the artifact is informational or deployment.                                 |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|description                   |M        |1          |String |Description of the artifact                                                          |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-
-Request Headers:
-
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Header Name        |Qualifier|Description                                                                              |
-+===================+=========+=========================================================================================+
-|X-ECOMP-RequestID  |N        |request ID.If it is not sent it will be automatically generated by SDC on request receipt|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|X-ECOMP-InstanceID |Y        |Instance ID                                                                              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Accept             |N        |Determines the format of the body of the response. Valid values are :  “application/json”|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Authorization      |Y        |Base64 encoded username:password                                                         |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|USER_ID            |Y        |The user ID of the DCAE Designer. This user must also have Designer role in SDC          |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Content-Type       |Y        |Valid value is : application/json                                                        |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Content-MD5        |Y        |The value for this header must be the MD5 checksum over the whole json body              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-
-Response:
-
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|Attribute           |Qualifier|Content|Description                                                                                        |
-+====================+=========+=======+===================================================================================================+
-|artifactName        |M        |String |Artifact File name                                                                                 |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactType        |M        |String |Artifact Type                                                                                      |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactURL         |M        |String |Relative artifact’s URL.                                                                           |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactDescription |M        |String |Artifact Description.                                                                              |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactTimeout     |N        |String |Will be populated only if its value is not 0.                                                      |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactChecksum    |Y        |String |Base-64 encoded MD5 checksum of the artifact’s payload.                                            |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactUUID        |Y        |String |Global UUID generated by SDC each time  when artifact payload is  updated.                         |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactVersion     |Y        |String |Service Version .                                                                                  |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|generatedFromUUID   |N        |String |This attribute will be sent only  in the case of an artifact generated on basis of other artifact  |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-
-Update Artifact  
-+++++++++++++++
-
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-|Interface Definition|Description                                                                                                   |
-+====================+==============================================================================================================+
-|URI                 |/sdc/v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceNormalizedName}/artifacts/{artifactUUID}|
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-|Operation Type      |POST                                                                                                          |
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-
-Request Parameters:
-
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|Attribute                     |Qualifier|Cardinality|Content|Description                                                                          |
-+==============================+=========+===========+=======+=====================================================================================+
-|assetType                     |M        |1          |String |The requested asset type.valid values are resources/services.                        |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|Uuid                          |M        |1          |String |The uuid of the asset as published in the metadata                                   |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactUUID                  |M        |1          |String |The uuid of the artifact as published in the response of the upload/update operation |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|resourceInstanceNormalizedName|M        |1          |String |Normalized name of resource                                                          |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-
-Request Headers:
-
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Header Name        |Qualifier|Description                                                                              |
-+===================+=========+=========================================================================================+
-|X-ECOMP-RequestID  |N        |request ID.If it is not sent it will be automatically generated by SDC on request receipt|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|X-ECOMP-InstanceID |Y        |Instance ID                                                                              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Accept             |N        |Determines the format of the body of the response. Valid values are :  “application/json”|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Authorization      |Y        |Base64 encoded username:password                                                         |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|USER_ID            |Y        |The user ID of the DCAE Designer. This user must also have Designer role in SDC          |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Content-Type       |Y        |Valid value is : application/json                                                        |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Content-MD5        |Y        |The value for this header must be the MD5 checksum over the whole json body              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-
-Request Body:
-
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|Attribute                     |Qualifier|Cardinality|Content|Description                                                                          |
-+==============================+=========+===========+=======+=====================================================================================+
-|payloadData                   |M        |1          |String |The data of the artifact after Base64 encoding                                       |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactLabel                 |M        |1          |String |Identifier of the artifact within the VF / Service.                                  |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactName                  |M        |1          |String |The name of the artifact                                                             |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactType                  |M        |1          |String |The type of the artifact                                                             |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactGroupType             |M        |1          |String |Whether the artifact is informational or deployment.                                 |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|description                   |M        |1          |String |Description of the artifact                                                          |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-
-Response:
-
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|Attribute           |Qualifier|Content|Description                                                                                        |
-+====================+=========+=======+===================================================================================================+
-|artifactName        |M        |String |Artifact File name                                                                                 |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactType        |M        |String |Artifact Type                                                                                      |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactURL         |M        |String |Relative artifact’s URL.                                                                           |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactDescription |M        |String |Artifact Description.                                                                              |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactTimeout     |N        |String |Will be populated only if its value is not 0.                                                      |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactChecksum    |Y        |String |Base-64 encoded MD5 checksum of the artifact’s payload.                                            |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactUUID        |Y        |String |Global UUID generated by SDC each time  when artifact payload is  updated.                         |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|artifactVersion     |Y        |String |Service Version .                                                                                  |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|generatedFromUUID   |N        |String |This attribute will be sent only  in the case of an artifact generated on basis of other artifact  |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-
-Delete Artifact   
-+++++++++++++++
-
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-|Interface Definition|Description                                                                                                   |
-+====================+==============================================================================================================+
-|URI                 |/sdc/v1/catalog/{assetType}/{uuid}/resourceInstances/{resourceInstanceNormalizedName}/artifacts/{artifactUUID}|
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-|Operation Type      |DELETE                                                                                                        |
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-
-Request Parameters:
-
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|Attribute                     |Qualifier|Cardinality|Content|Description                                                                          |
-+==============================+=========+===========+=======+=====================================================================================+
-|assetType                     |M        |1          |String |The requested asset type.valid values are resources/services.                        |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|Uuid                          |M        |1          |String |The uuid of the asset as published in the metadata                                   |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|artifactUUID                  |M        |1          |String |The uuid of the artifact as published in the response of the upload/update operation |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-|resourceInstanceNormalizedName|M        |1          |String |Normalized name of resource                                                          |
-+------------------------------+---------+-----------+-------+-------------------------------------------------------------------------------------+
-
-Request Headers:
-
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Header Name        |Qualifier|Description                                                                              |
-+===================+=========+=========================================================================================+
-|X-ECOMP-RequestID  |N        |request ID.If it is not sent it will be automatically generated by SDC on request receipt|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|X-ECOMP-InstanceID |Y        |Instance ID                                                                              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Accept             |N        |Determines the format of the body of the response. Valid values are :  “application/json”|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Authorization      |Y        |Base64 encoded username:password                                                         |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|USER_ID            |Y        |The user ID of the DCAE Designer. This user must also have Designer role in SDC          |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-
-Response:
-
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|Attribute           |Qualifier|Content|Description                                                                                        |
-+====================+=========+=======+===================================================================================================+
-|artifactUUID        |Y        |String |Global UUID generated by SDC each time  when artifact payload is  updated.                         |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-
-Update Lifecycle   
-++++++++++++++++
-
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-|Interface Definition|Description                                                                                                   |
-+====================+==============================================================================================================+
-|URI                 |/sdc/v1/catalog/{assetType}/{uuid}/lifecycleState/{lifecycleOperation}                                        |
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-|Operation Type      |POST                                                                                                          |
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-
-Request Parameters:
-
-+------------------------------+---------+-----------+-------+-----------------------------------------------------------------------------------------------------+
-|Attribute                     |Qualifier|Cardinality|Content|Description                                                                                          |
-+==============================+=========+===========+=======+=====================================================================================================+
-|assetType                     |M        |1          |String |The requested asset type.valid values are resources/services.                                        |
-+------------------------------+---------+-----------+-------+-----------------------------------------------------------------------------------------------------+
-|Uuid                          |M        |1          |String |The uuid of the asset as published in the metadata                                                   |
-+------------------------------+---------+-----------+-------+-----------------------------------------------------------------------------------------------------+
-|lifecycleOperation            |M        |1          |String |The lifecycle operation to be performed on the asset.Valid values are: Checkin / Checkout /  Certify |
-+------------------------------+---------+-----------+-------+-----------------------------------------------------------------------------------------------------+
-
-Request Headers:
-
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Header Name        |Qualifier|Description                                                                              |
-+===================+=========+=========================================================================================+
-|X-ECOMP-RequestID  |N        |request ID.If it is not sent it will be automatically generated by SDC on request receipt|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|X-ECOMP-InstanceID |Y        |Instance ID                                                                              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Accept             |N        |Determines the format of the body of the response. Valid values are :  “application/json”|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Authorization      |Y        |Base64 encoded username:password                                                         |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|USER_ID            |Y        |The user ID of the DCAE Designer. This user must also have Designer role in SDC          |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-
-Request Parameters:
-
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Attribute          |Qualifier|Description                                                                              |
-+===================+=========+=========================================================================================+
-|userRemarks        |N        |Short description (free text) about the asset version being changed                      |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-
-Response:
-
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|Attribute           |Qualifier|Content|Description                                                                                        |
-+====================+=========+=======+===================================================================================================+
-|uuid                |Y        |String |UUID generated by SDC per each major version of the asset                                          |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|invariantUUID       |Y        |String |UUID generated by SDC per each asset. This UUID stays constant for all the asset’s versions        |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|name                |Y        |String |The name of the asset.                                                                             |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|version             |Y        |String |The asset version in SDC catalog                                                                   |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|category            |Y        |String |Category of the asset.                                                                             |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|subcategory         |Y        |String |Sub-category of the asset.                                                                         |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|resourceType        |Y        |String |The type of resource.                                                                              |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|lifecycleState      |Y        |String |The lifecycle state of the asset.                                                                  |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|lastUpdaterUserId   |Y        |String |User ID of the SDC designer who was the last to update the asset for this major version.           |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-
-Create Resource   
-+++++++++++++++
-
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-|Interface Definition|Description                                                                                                   |
-+====================+==============================================================================================================+
-|URI                 |/sdc/v1/catalog/resources                                                                                     |
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-|Operation Type      |POST                                                                                                          |
-+--------------------+--------------------------------------------------------------------------------------------------------------+
-
-Request Headers:
-
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Header Name        |Qualifier|Description                                                                              |
-+===================+=========+=========================================================================================+
-|X-ECOMP-RequestID  |N        |request ID.If it is not sent it will be automatically generated by SDC on request receipt|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|X-ECOMP-InstanceID |Y        |Instance ID                                                                              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Accept             |N        |Determines the format of the body of the response. Valid values are :  “application/json”|
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Authorization      |Y        |Base64 encoded username:password                                                         |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|USER_ID            |Y        |The user ID of the DCAE Designer. This user must also have Designer role in SDC          |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Content-Type       |Y        |Valid value is : application/json                                                        |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-
-Request Parameters:
-
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|Attribute          |Qualifier|Description                                                                              |
-+===================+=========+=========================================================================================+
-|name               |Y        |The name of the resource                                                                 |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|description        |Y        |Short description of the resource                                                        |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|resourceType       |Y        |“VFCMT” / “VF” / “PNF”                                                                   |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|category           |Y        |VFCMT category is “Template”.                                                            |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|subcategory        |Y        |VFCMT subcategory is “Monitoring Template”.                                              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|vendorName         |Y        |Vendor Name                                                                              |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|vendorRelease      |Y        |Vendor Release                                                                           |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|tags               |Y        |The tags are used for search options.                                                    |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|icon               |Y        |The icon should be pre-defined in SDC.                                                   |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-|contactId          |Y        |The user ID of user responsible for this VFCMT.                                          |
-+-------------------+---------+-----------------------------------------------------------------------------------------+
-
-Response:
-
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|Attribute           |Qualifier|Content|Description                                                                                        |
-+====================+=========+=======+===================================================================================================+
-|uuid                |Y        |String |UUID generated by SDC per each major version of the asset                                          |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|invariantUUID       |Y        |String |UUID generated by SDC per each asset. This UUID stays constant for all the asset’s versions        |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|name                |Y        |String |The name of the asset.                                                                             |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|version             |Y        |String |The asset version in SDC catalog                                                                   |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|category            |Y        |String |Category of the asset.                                                                             |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|subcategory         |Y        |String |Sub-category of the asset.                                                                         |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|resourceType        |Y        |String |The type of resource.                                                                              |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|lifecycleState      |Y        |String |The lifecycle state of the asset.                                                                  |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-|lastUpdaterUserId   |Y        |String |User ID of the SDC designer who was the last to update the asset for this major version.           |
-+--------------------+---------+-------+---------------------------------------------------------------------------------------------------+
-
-UUI API
+E2E Service API
 ----------------
+
 Create E2E service instance
 ++++++++++++++++++++++++++++
 
index f6b593a..0caef0a 100644 (file)
@@ -31,6 +31,13 @@ The list of APIs that SO offerers for monitroing the BPMN flows could be found i
 
    "swagger json file", "yaml doc"
    ":download:`link <swagger/SO_MONITORING_SWAGGER.json>`", ":download:`link <swagger/SO_MONITORING_SWAGGER.yaml>`"
-   
+
+Further Reading
+----------------------------------------
+
 Detailed documentation can be found here:
-   SO_Interface.rst
\ No newline at end of file
+
+.. toctree::
+   :maxdepth: 1
+
+   apis/SO_Interface.rst
\ No newline at end of file
index 61be8f0..f6d66b9 100644 (file)
@@ -7,14 +7,13 @@ SO Developer Information
 
 .. toctree::
    :maxdepth: 1
-   
-.. developer_info_Project_Structure.rst
+
    Camunda_Modeler.rst
-.. developer_info_Main_Process_Flows.rst
-.. developer_info_Subprocess_Process_Flows.rst
-.. developer_info_Project_Deployment_Strategy.rst
    Building_SO.rst
    Working_with_SO_Docker.rst
    Camunda_Cockpit_Community_Edition.rst
    Camunda_Cockpit_Enterprise_Edition.rst
-   
\ No newline at end of file
+.. developer_info_Project_Structure.rst
+.. developer_info_Main_Process_Flows.rst
+.. developer_info_Subprocess_Process_Flows.rst
+.. developer_info_Project_Deployment_Strategy.rst
\ No newline at end of file
index 1cb4ba1..763d702 100644 (file)
@@ -8,6 +8,55 @@ Service Orchestrator Release Notes
 
 The SO provides the highest level of service orchestration in the ONAP architecture. 
 
+Version: 1.3.6
+--------------
+
+:Release Date: 2018-01-10
+
+This is the official release package that released for the Casablanca Maintenance.
+
+Casablanca Release branch
+
+**New Features**
+
+This release is supporting the features of Casablanca and their defect fixes.
+- `SO-1336 <https://jira.onap.org/browse/SO-1336>`_
+- `SO-1249 <https://jira.onap.org/browse/SO-1249>`_
+- `SO-1257 <https://jira.onap.org/browse/SO-1257>`_
+- `SO-1258 <https://jira.onap.org/browse/SO-1258>`_
+- `SO-1256 <https://jira.onap.org/browse/SO-1256>`_
+- `SO-1194 <https://jira.onap.org/browse/SO-1256>`_
+- `SO-1248 <https://jira.onap.org/browse/SO-1248>`_
+- `SO-1184 <https://jira.onap.org/browse/SO-1184>`_
+
+**Docker Images**
+
+Dockers released for SO:
+
+ - onap/so/api-handler-infra,1.3.6
+ - onap/so/bpmn-infra,1.3.6
+ - onap/so/catalog-db-adapter,1.3.6
+ - onap/so/openstack-adapter,1.3.6
+ - onap/so/request-db-adapter,1.3.6
+ - onap/so/sdc-controller,1.3.6
+ - onap/so/sdnc-adapter,1.3.6
+ - onap/so/so-monitoring,1.3.6
+ - onap/so/vfc-adapter,1.3.6
+
+**Known Issues**
+
+
+**Security Notes**
+
+       SO code has been formally scanned during build time using NexusIQ and all Critical vulnerabilities have been addressed, items that remain open have been assessed for risk and determined to be false positive. The SO open Critical security vulnerabilities and their risk assessment have been documented as part of the `project <https://wiki.onap.org/pages/viewpage.action?pageId=43385708>`_.
+
+       Quick Links:
+
+ - `SO project page <https://wiki.onap.org/display/DW/Service+Orchestrator+Project>`_
+ - `Passing Badge information for SO <https://bestpractices.coreinfrastructure.org/en/projects/1702>`_
+ - `Project Vulnerability Review Table for SO <https://wiki.onap.org/pages/viewpage.action?pageId=43385708>`_
+
+
 Version: 1.3.3
 --------------
 
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.camunda.model;
+package org.onap.so.monitoring.camunda.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.camunda.model;
+package org.onap.so.monitoring.camunda.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.camunda.model;
+package org.onap.so.monitoring.camunda.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.camunda.model;
+package org.onap.so.monitoring.camunda.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 import com.fasterxml.jackson.annotation.JsonIgnore;
 
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.camunda.model;
+package org.onap.so.monitoring.camunda.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
diff --git a/so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/rest/CorsConfigurer.java b/so-monitoring/so-monitoring-handler/src/main/java/org/onap/so/monitoring/configuration/rest/CorsConfigurer.java
new file mode 100644 (file)
index 0000000..557e2a6
--- /dev/null
@@ -0,0 +1,52 @@
+/*-
+ * ============LICENSE_START=======================================================
+ *  Copyright (C) 2018 Ericsson. 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.
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.monitoring.configuration.rest;
+
+import org.springframework.boot.web.servlet.FilterRegistrationBean;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.core.Ordered;
+import org.springframework.web.cors.CorsConfiguration;
+import org.springframework.web.cors.UrlBasedCorsConfigurationSource;
+import org.springframework.web.filter.CorsFilter;
+
+import java.util.concurrent.TimeUnit;
+
+/**
+ * @author waqas.ikram@ericsson, eoin.hanan@ericsson.com
+ */
+@Configuration
+public class CorsConfigurer  {
+
+    @Bean
+    public CorsFilter corsFilter() {
+        UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
+        CorsConfiguration config = new CorsConfiguration();
+        config.setAllowCredentials(true);
+        config.addAllowedOrigin("*");
+        config.addAllowedHeader("*");
+        config.addAllowedMethod("*");
+        source.registerCorsConfiguration("/**", config);
+        return new CorsFilter(source);
+    }
+}
+
+
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.configuration.rest;
+package org.onap.so.monitoring.configuration.rest;
 
-import static org.onap.so.montoring.configuration.rest.RestTemplateConfigration.CAMUNDA_REST_TEMPLATE;
-import static org.onap.so.montoring.configuration.rest.RestTemplateConfigration.DATABASE_REST_TEMPLATE;
+import static org.onap.so.monitoring.configuration.rest.RestTemplateConfiguration.CAMUNDA_REST_TEMPLATE;
+import static org.onap.so.monitoring.configuration.rest.RestTemplateConfiguration.DATABASE_REST_TEMPLATE;
 
-import org.onap.so.montoring.rest.service.HttpRestServiceProvider;
-import org.onap.so.montoring.rest.service.HttpRestServiceProviderImpl;
+import org.onap.so.monitoring.rest.service.HttpRestServiceProvider;
+import org.onap.so.monitoring.rest.service.HttpRestServiceProviderImpl;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Qualifier;
 import org.springframework.beans.factory.annotation.Value;
@@ -18,7 +18,7 @@
  * ============LICENSE_END=========================================================
  */
  
-package org.onap.so.montoring.configuration.rest;
+package org.onap.so.monitoring.configuration.rest;
 
 import java.util.concurrent.TimeUnit;
 
@@ -37,7 +37,7 @@ import org.springframework.web.client.RestTemplate;
  * @author waqas.ikram@ericsson.com
  */
 @Configuration
-public class RestTemplateConfigration {
+public class RestTemplateConfiguration {
 
     public static final String DATABASE_REST_TEMPLATE = "databaseRestTemplate";
 
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.db.service;
+package org.onap.so.monitoring.db.service;
 
 import java.util.List;
 import java.util.Map;
 
-import org.onap.so.montoring.model.SoInfraRequest;
+import org.onap.so.monitoring.model.SoInfraRequest;
 
 
 /**
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.db.service;
+package org.onap.so.monitoring.db.service;
 
-import static org.onap.so.montoring.configuration.rest.HttpServiceProviderConfiguration.DATABASE_HTTP_REST_SERVICE_PROVIDER;
+import static org.onap.so.monitoring.configuration.rest.HttpServiceProviderConfiguration.DATABASE_HTTP_REST_SERVICE_PROVIDER;
 
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 
-import org.onap.so.montoring.camunda.model.SoActiveInfraRequests;
-import org.onap.so.montoring.configuration.database.DatabaseUrlProvider;
-import org.onap.so.montoring.model.SoInfraRequest;
-import org.onap.so.montoring.model.SoInfraRequestBuilder;
-import org.onap.so.montoring.rest.service.HttpRestServiceProvider;
+import org.onap.so.monitoring.camunda.model.SoActiveInfraRequests;
+import org.onap.so.monitoring.configuration.database.DatabaseUrlProvider;
+import org.onap.so.monitoring.model.SoInfraRequest;
+import org.onap.so.monitoring.model.SoInfraRequestBuilder;
+import org.onap.so.monitoring.rest.service.HttpRestServiceProvider;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Qualifier;
 import org.springframework.stereotype.Service;
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.model;
+package org.onap.so.monitoring.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 /**
  * @author waqas.ikram@ericsson.com
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.model;
+package org.onap.so.monitoring.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 /**
  * @author waqas.ikram@ericsson.com
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.model;
+package org.onap.so.monitoring.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 /**
  * @author waqas.ikram@ericsson.com
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.model;
+package org.onap.so.monitoring.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 /**
  * @author waqas.ikram@ericsson.com
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.model;
+package org.onap.so.monitoring.model;
 
 /**
  * @author waqas.ikram@ericsson.com
  */
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 public class ProcessInstanceVariableDetail {
 
@@ -17,9 +17,9 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.model;
+package org.onap.so.monitoring.model;
 
-import static org.onap.so.montoring.utils.ObjectEqualsUtils.isEqual;
+import static org.onap.so.monitoring.utils.ObjectEqualsUtils.isEqual;
 
 /**
  * @author waqas.ikram@ericsson.com
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.rest.service;
+package org.onap.so.monitoring.rest.service;
 
 import java.util.List;
 
-import org.onap.so.montoring.model.ActivityInstanceDetail;
-import org.onap.so.montoring.model.ProcessDefinitionDetail;
-import org.onap.so.montoring.model.ProcessInstanceDetail;
-import org.onap.so.montoring.model.ProcessInstanceIdDetail;
-import org.onap.so.montoring.model.ProcessInstanceVariableDetail;
+import org.onap.so.monitoring.model.ActivityInstanceDetail;
+import org.onap.so.monitoring.model.ProcessDefinitionDetail;
+import org.onap.so.monitoring.model.ProcessInstanceDetail;
+import org.onap.so.monitoring.model.ProcessInstanceIdDetail;
+import org.onap.so.monitoring.model.ProcessInstanceVariableDetail;
 
 import com.google.common.base.Optional;
 
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.rest.service;
+package org.onap.so.monitoring.rest.service;
 
-import static org.onap.so.montoring.configuration.rest.HttpServiceProviderConfiguration.CAMUNDA_HTTP_REST_SERVICE_PROVIDER;
+import static org.onap.so.monitoring.configuration.rest.HttpServiceProviderConfiguration.CAMUNDA_HTTP_REST_SERVICE_PROVIDER;
 
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
 
-import org.onap.so.montoring.camunda.model.ActivityInstance;
-import org.onap.so.montoring.camunda.model.ProcessDefinition;
-import org.onap.so.montoring.camunda.model.ProcessInstance;
-import org.onap.so.montoring.camunda.model.ProcessInstanceVariable;
-import org.onap.so.montoring.configuration.camunda.CamundaRestUrlProvider;
-import org.onap.so.montoring.model.ActivityInstanceDetail;
-import org.onap.so.montoring.model.ProcessDefinitionDetail;
-import org.onap.so.montoring.model.ProcessInstanceDetail;
-import org.onap.so.montoring.model.ProcessInstanceIdDetail;
-import org.onap.so.montoring.model.ProcessInstanceVariableDetail;
+import org.onap.so.monitoring.camunda.model.ActivityInstance;
+import org.onap.so.monitoring.camunda.model.ProcessDefinition;
+import org.onap.so.monitoring.camunda.model.ProcessInstance;
+import org.onap.so.monitoring.camunda.model.ProcessInstanceVariable;
+import org.onap.so.monitoring.configuration.camunda.CamundaRestUrlProvider;
+import org.onap.so.monitoring.model.ActivityInstanceDetail;
+import org.onap.so.monitoring.model.ProcessDefinitionDetail;
+import org.onap.so.monitoring.model.ProcessInstanceDetail;
+import org.onap.so.monitoring.model.ProcessInstanceIdDetail;
+import org.onap.so.monitoring.model.ProcessInstanceVariableDetail;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Qualifier;
 import org.springframework.stereotype.Service;
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.rest.service;
+package org.onap.so.monitoring.rest.service;
 
-import org.onap.so.montoring.exception.InvalidRestRequestException;
-import org.onap.so.montoring.exception.RestProcessingException;
+import org.onap.so.monitoring.exception.InvalidRestRequestException;
+import org.onap.so.monitoring.exception.RestProcessingException;
 import org.springframework.http.HttpEntity;
 import org.springframework.http.HttpMethod;
 import org.springframework.http.HttpStatus;
index de891dd..fb56d84 100644 (file)
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.configuration;
+package org.onap.so.monitoring.configuration;
 
 import static org.junit.Assert.assertEquals;
 
 import org.junit.Test;
-import org.onap.so.montoring.configuration.camunda.CamundaConfiguration;
-import org.onap.so.montoring.configuration.camunda.CamundaRestUrlProvider;
+import org.onap.so.monitoring.configuration.camunda.CamundaConfiguration;
+import org.onap.so.monitoring.configuration.camunda.CamundaRestUrlProvider;
 
 
 /**
index 5fa9b44..3cd8a33 100644 (file)
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.configuration;
+package org.onap.so.monitoring.configuration;
 
 import static org.junit.Assert.assertEquals;
 
 import java.util.UUID;
 
 import org.junit.Test;
-import org.onap.so.montoring.configuration.camunda.CamundaRestUrlProvider;
+import org.onap.so.monitoring.configuration.camunda.CamundaRestUrlProvider;
 
 /**
  * @author waqas.ikram@ericsson.com
index 13a2f98..1b3e168 100644 (file)
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.configuration;
+package org.onap.so.monitoring.configuration;
 
 import static org.junit.Assert.assertNotNull;
 
 import org.junit.Test;
-import org.onap.so.montoring.configuration.rest.HttpServiceProviderConfiguration;
-import org.onap.so.montoring.rest.service.HttpRestServiceProvider;
+import org.onap.so.monitoring.configuration.rest.HttpServiceProviderConfiguration;
+import org.onap.so.monitoring.rest.service.HttpRestServiceProvider;
 import org.springframework.web.client.RestTemplate;
 
 /**
index 93dfa79..f51d4c6 100644 (file)
@@ -17,7 +17,7 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.configuration;
+package org.onap.so.monitoring.configuration;
 
 import static org.junit.Assert.assertFalse;
 
@@ -46,14 +46,14 @@ public class PojoClassesTests {
 
     @Test
     public void test_camunda_module_pojo_classes() throws ClassNotFoundException {
-        test("org.onap.so.montoring.camunda.model");
-        assertEqualMethod("org.onap.so.montoring.camunda.model");
+        test("org.onap.so.monitoring.camunda.model");
+        assertEqualMethod("org.onap.so.monitoring.camunda.model");
     }
 
     @Test
     public void test_so_monitoring_pojo_classes() throws ClassNotFoundException {
-        test("org.onap.so.montoring.model");
-        assertEqualMethod("org.onap.so.montoring.model");
+        test("org.onap.so.monitoring.model");
+        assertEqualMethod("org.onap.so.monitoring.model");
     }
 
     public void assertEqualMethod(final String pojoPackage) throws ClassNotFoundException {
index d9d2609..d820e94 100644 (file)
@@ -17,7 +17,7 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.configuration.database;
+package org.onap.so.monitoring.configuration.database;
 
 import static org.junit.Assert.assertEquals;
 
index 3bb7b28..8c06426 100644 (file)
@@ -17,7 +17,7 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.db.api;
+package org.onap.so.monitoring.db.api;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
@@ -33,12 +33,12 @@ import java.util.Map;
 import java.util.UUID;
 
 import org.junit.Test;
-import org.onap.so.montoring.camunda.model.SoActiveInfraRequests;
-import org.onap.so.montoring.configuration.database.DatabaseUrlProvider;
-import org.onap.so.montoring.db.service.DatabaseServiceProvider;
-import org.onap.so.montoring.db.service.DatabaseServiceProviderImpl;
-import org.onap.so.montoring.model.SoInfraRequest;
-import org.onap.so.montoring.rest.service.HttpRestServiceProvider;
+import org.onap.so.monitoring.camunda.model.SoActiveInfraRequests;
+import org.onap.so.monitoring.configuration.database.DatabaseUrlProvider;
+import org.onap.so.monitoring.db.service.DatabaseServiceProvider;
+import org.onap.so.monitoring.db.service.DatabaseServiceProviderImpl;
+import org.onap.so.monitoring.model.SoInfraRequest;
+import org.onap.so.monitoring.rest.service.HttpRestServiceProvider;
 
 import com.google.common.base.Optional;
 
index 351c476..c3930df 100644 (file)
@@ -17,7 +17,7 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.rest.service;
+package org.onap.so.monitoring.rest.service;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
@@ -29,15 +29,15 @@ import java.util.List;
 import java.util.UUID;
 
 import org.junit.Test;
-import org.onap.so.montoring.camunda.model.ActivityInstance;
-import org.onap.so.montoring.camunda.model.ProcessDefinition;
-import org.onap.so.montoring.camunda.model.ProcessInstance;
-import org.onap.so.montoring.camunda.model.ProcessInstanceVariable;
-import org.onap.so.montoring.configuration.camunda.CamundaRestUrlProvider;
-import org.onap.so.montoring.model.ActivityInstanceDetail;
-import org.onap.so.montoring.model.ProcessDefinitionDetail;
-import org.onap.so.montoring.model.ProcessInstanceIdDetail;
-import org.onap.so.montoring.model.ProcessInstanceVariableDetail;
+import org.onap.so.monitoring.camunda.model.ActivityInstance;
+import org.onap.so.monitoring.camunda.model.ProcessDefinition;
+import org.onap.so.monitoring.camunda.model.ProcessInstance;
+import org.onap.so.monitoring.camunda.model.ProcessInstanceVariable;
+import org.onap.so.monitoring.configuration.camunda.CamundaRestUrlProvider;
+import org.onap.so.monitoring.model.ActivityInstanceDetail;
+import org.onap.so.monitoring.model.ProcessDefinitionDetail;
+import org.onap.so.monitoring.model.ProcessInstanceIdDetail;
+import org.onap.so.monitoring.model.ProcessInstanceVariableDetail;
 
 import com.google.common.base.Optional;
 
index b1ad4ea..dd363ab 100644 (file)
@@ -17,7 +17,7 @@
  * SPDX-License-Identifier: Apache-2.0
  * ============LICENSE_END=========================================================
  */
-package org.onap.so.montoring.utils;
+package org.onap.so.monitoring.utils;
 
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
index de2263b..155b4e6 100644 (file)
@@ -32,16 +32,16 @@ import javax.ws.rs.core.MediaType;
 import javax.ws.rs.core.Response;
 import javax.ws.rs.core.Response.Status;
 
-import org.onap.so.montoring.db.service.DatabaseServiceProvider;
-import org.onap.so.montoring.exception.InvalidRestRequestException;
-import org.onap.so.montoring.exception.RestProcessingException;
-import org.onap.so.montoring.model.ActivityInstanceDetail;
-import org.onap.so.montoring.model.ProcessDefinitionDetail;
-import org.onap.so.montoring.model.ProcessInstanceDetail;
-import org.onap.so.montoring.model.ProcessInstanceIdDetail;
-import org.onap.so.montoring.model.ProcessInstanceVariableDetail;
-import org.onap.so.montoring.model.SoInfraRequest;
-import org.onap.so.montoring.rest.service.CamundaProcessDataServiceProvider;
+import org.onap.so.monitoring.db.service.DatabaseServiceProvider;
+import org.onap.so.monitoring.exception.InvalidRestRequestException;
+import org.onap.so.monitoring.exception.RestProcessingException;
+import org.onap.so.monitoring.model.ActivityInstanceDetail;
+import org.onap.so.monitoring.model.ProcessDefinitionDetail;
+import org.onap.so.monitoring.model.ProcessInstanceDetail;
+import org.onap.so.monitoring.model.ProcessInstanceIdDetail;
+import org.onap.so.monitoring.model.ProcessInstanceVariableDetail;
+import org.onap.so.monitoring.model.SoInfraRequest;
+import org.onap.so.monitoring.rest.service.CamundaProcessDataServiceProvider;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
index 13953b0..ca2a88d 100644 (file)
@@ -22,7 +22,7 @@ package org.onap.so.monitoring.rest.api;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
-import static org.onap.so.montoring.configuration.rest.RestTemplateConfigration.CAMUNDA_REST_TEMPLATE;
+import static org.onap.so.monitoring.configuration.rest.RestTemplateConfiguration.CAMUNDA_REST_TEMPLATE;
 import static org.springframework.test.web.client.match.MockRestRequestMatchers.requestTo;
 import static org.springframework.test.web.client.response.MockRestResponseCreators.withBadRequest;
 import static org.springframework.test.web.client.response.MockRestResponseCreators.withSuccess;
@@ -41,12 +41,12 @@ import javax.ws.rs.core.Response.Status;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
-import org.onap.so.montoring.configuration.camunda.CamundaRestUrlProvider;
-import org.onap.so.montoring.model.ActivityInstanceDetail;
-import org.onap.so.montoring.model.ProcessDefinitionDetail;
-import org.onap.so.montoring.model.ProcessInstanceDetail;
-import org.onap.so.montoring.model.ProcessInstanceIdDetail;
-import org.onap.so.montoring.model.ProcessInstanceVariableDetail;
+import org.onap.so.monitoring.configuration.camunda.CamundaRestUrlProvider;
+import org.onap.so.monitoring.model.ActivityInstanceDetail;
+import org.onap.so.monitoring.model.ProcessDefinitionDetail;
+import org.onap.so.monitoring.model.ProcessInstanceDetail;
+import org.onap.so.monitoring.model.ProcessInstanceIdDetail;
+import org.onap.so.monitoring.model.ProcessInstanceVariableDetail;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Qualifier;
 import org.springframework.boot.test.context.SpringBootTest;