diff options
Diffstat (limited to 'juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources')
6 files changed, 111 insertions, 0 deletions
diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/server.properties b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/server.properties new file mode 100644 index 0000000..55d99f6 --- /dev/null +++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/server.properties @@ -0,0 +1,29 @@ +############################################################################### +# Copyright 2016 Huawei Technologies Co., Ltd. +# +# 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. +############################################################################### + +## Integration Test Server Configuration File + +## Server IpAddress +serverip=127.0.0.1 + +## Server Port +serverport=8080 + +## Http Moco Server Port +mocohttpport=12306 + +## Https Moco Server Port +mocohttpsport=12307
\ No newline at end of file diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/configroa/setDebugModelTestFail.json b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/configroa/setDebugModelTestFail.json new file mode 100644 index 0000000..258a256 --- /dev/null +++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/configroa/setDebugModelTestFail.json @@ -0,0 +1,16 @@ +{ + "request": { + "uri": "/juju-vnfmadapter-service/rest/config/debug/1r", + "method": "get", + "headers": { + "Content-Type": "application/json;charset=UTF-8" + }, + "json": { + } + }, + "response": { + "status": 500, + "json": { + } + } +}
\ No newline at end of file diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/configroa/setDebugModelTestSuccess.json b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/configroa/setDebugModelTestSuccess.json new file mode 100644 index 0000000..2ba2bc4 --- /dev/null +++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/configroa/setDebugModelTestSuccess.json @@ -0,0 +1,16 @@ +{ + "request": { + "uri": "/juju-vnfmadapter-service/rest/config", + "method": "get", + "headers": { + "Content-Type": "application/json;charset=UTF-8" + }, + "json": {} + }, + "response": { + "status": 200, + "json": { + "debugModel":false + } + } +}
\ No newline at end of file diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/deploySerivce.json b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/deploySerivce.json new file mode 100644 index 0000000..e9f9b4d --- /dev/null +++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/deploySerivce.json @@ -0,0 +1,16 @@ +{ + "request": { + "uri": "/juju-vnfmadapter-service/rest/openoapi/juju/v1/vnfms/deploy", + "method": "post", + "headers": { + "Content-Type": "application/json;charset=UTF-8" + }, + "json": {"appName":"testApp"} + }, + "response": { + "status": 200, + "json": { + "debugModel":false + } + } +}
\ No newline at end of file diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/destroySerivce.json b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/destroySerivce.json new file mode 100644 index 0000000..5a978a2 --- /dev/null +++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/destroySerivce.json @@ -0,0 +1,16 @@ +{ + "request": { + "uri": "/juju-vnfmadapter-service/rest/openoapi/juju/v1/vnfms/", + "method": "get", + "headers": { + "Content-Type": "application/json;charset=UTF-8" + }, + "json": {} + }, + "response": { + "status": 200, + "json": { + "debugModel":false + } + } +}
\ No newline at end of file diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/getVnfStatus.json b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/getVnfStatus.json new file mode 100644 index 0000000..1b07b65 --- /dev/null +++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/integration-test/resources/testcase/jujuclientroa/getVnfStatus.json @@ -0,0 +1,18 @@ +{ + "request": { + "uri": "/juju-vnfmadapter-service/rest/openoapi/juju/v1/vnfms/testabc/status", + "method": "post", + "headers": { + "Content-Type": "application/json;charset=UTF-8" + }, + "json": { + "appName":"testApp" + } + }, + "response": { + "status": 200, + "json": { + "debugModel":false + } + } +}
\ No newline at end of file |