From f0944b0dffa4904161cf40d5da13d5d2d34b0cbe Mon Sep 17 00:00:00 2001 From: liboNet Date: Wed, 27 Mar 2019 00:49:32 +0800 Subject: add SDC client and reception handle . add reception framework wraps handle and subplug interface . add plugins include sdc handler now. . add forward acts the post interface for specified item like artifact . add model acts for the sepcifeid item like CSAR . update pom.xml and package/pom.xml to includes all submodules . Fix the compile issue by typo and change groupid to framework Change-Id: Idbff0ca612045c6ee52ba23cd305f2764c9600f8 Issue-ID: MULTICLOUD-514 Signed-off-by: liboNet --- .../src/test/resources/handling-sdc.json | 27 ++++++++++++++++++++++ .../src/test/resources/handling-sdcInvalid.json | 26 +++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 artifactbroker/plugins/reception-plugins/src/test/resources/handling-sdc.json create mode 100644 artifactbroker/plugins/reception-plugins/src/test/resources/handling-sdcInvalid.json (limited to 'artifactbroker/plugins/reception-plugins/src/test/resources') diff --git a/artifactbroker/plugins/reception-plugins/src/test/resources/handling-sdc.json b/artifactbroker/plugins/reception-plugins/src/test/resources/handling-sdc.json new file mode 100644 index 0000000..0bb936b --- /dev/null +++ b/artifactbroker/plugins/reception-plugins/src/test/resources/handling-sdc.json @@ -0,0 +1,27 @@ +{ + "name" : "parameterConfig1", + "asdcAddress": "localhost", + "messageBusAddress": [ + "a.com", + "b.com", + "c.com" + ], + "user": "policy", + "password": "policy", + "pollingInterval":20, + "pollingTimeout":30, + "retryDelay":30, + "consumerId": "policy-id", + "artifactTypes": [ + "TOSCA_CSAR", + "HEAT" + ], + "consumerGroup": "policy-group", + "environmentName": "TEST", + "keyStorePath": "null", + "keyStorePassword": "null", + "activeServerTlsAuth": false, + "isFilterInEmptyResources": true, + "isUseHttpsWithDmaap": false +} + diff --git a/artifactbroker/plugins/reception-plugins/src/test/resources/handling-sdcInvalid.json b/artifactbroker/plugins/reception-plugins/src/test/resources/handling-sdcInvalid.json new file mode 100644 index 0000000..803fc41 --- /dev/null +++ b/artifactbroker/plugins/reception-plugins/src/test/resources/handling-sdcInvalid.json @@ -0,0 +1,26 @@ +{ + "name" : "parameterConfig1", + "asdcAddress": "", + "messageBusAddress": [ + "a.com", + "b.com", + "c.com" + ], + "user": "tbdsdc-1480", + "password": "tbdsdc-1480", + "pollingInterval":-1, + "pollingTimeout":-2, + "consumerId": "policy-id", + "artifactTypes": [ + "TOSCA_CSAR", + "HEAT" + ], + "consumerGroup": "policy-group", + "environmentName": "environmentName", + "keyStorePath": "null", + "keyStorePassword": "null", + "activeserverTlsAuth": false, + "isFilterInEmptyResources": true, + "isUseHttpsWithDmaap": false +} + -- cgit 1.2.3-korg