diff options
author | 2019-03-21 08:01:55 +0800 | |
---|---|---|
committer | 2019-03-21 08:05:09 +0800 | |
commit | 94d7d990ac85143fd3605c9a094082592d554e2a (patch) | |
tree | 01af85a5d39416a72366ee3dcc09a6dbce76d580 /artifactbroker/main/src/test/resources | |
parent | 20cc990e09f61a75375b2f39a0b7d9b790f37ccd (diff) |
add rest serve and distribution framework
. update the pom.xml to include a submodule main
. add all common necessnary package into pom.xml
. add rest server and test case
. port the distribution framework
. which supports both http and https
Change-Id: I5ccc712342fc8929d11e553f3e09f36e93a80935
Issue-ID: MULTICLOUD-546
Signed-off-by: liboNet <libo.zhu@intel.com>
Diffstat (limited to 'artifactbroker/main/src/test/resources')
3 files changed, 19 insertions, 0 deletions
diff --git a/artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters.json b/artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters.json new file mode 100644 index 0000000..9e20224 --- /dev/null +++ b/artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters.json @@ -0,0 +1,9 @@ +{ + "name":"SDCDistributionGroup", + "restServerParameters":{ + "host":"0.0.0.0", + "port":6969, + "userName":"healthcheck", + "password":"zb!XztG34" + } +} diff --git a/artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_Https.json b/artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_Https.json new file mode 100644 index 0000000..6aa6116 --- /dev/null +++ b/artifactbroker/main/src/test/resources/parameters/DistributionConfigParameters_Https.json @@ -0,0 +1,10 @@ +{ + "name":"SDCDistributionGroup", + "restServerParameters":{ + "host":"0.0.0.0", + "port":6969, + "userName":"healthcheck", + "password":"zb!XztG34", + "https":true + } +} diff --git a/artifactbroker/main/src/test/resources/ssl/policy-keystore b/artifactbroker/main/src/test/resources/ssl/policy-keystore Binary files differnew file mode 100644 index 0000000..7d2b1ec --- /dev/null +++ b/artifactbroker/main/src/test/resources/ssl/policy-keystore |