diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/installation/installation.rst | 12 | ||||
-rw-r--r-- | docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json | 86 |
2 files changed, 4 insertions, 94 deletions
diff --git a/docs/installation/installation.rst b/docs/installation/installation.rst index 38ecb3c..d5bfbb7 100644 --- a/docs/installation/installation.rst +++ b/docs/installation/installation.rst @@ -89,11 +89,6 @@ You should get:: "version": "v4" } -Play with Postman ------------------ - -A full collection of requests is available in *docs/offeredapis/postman* for inspiration - OOM Context ----------- @@ -139,12 +134,13 @@ Running an integration test with SO, SDC, DMAAP, AAI:: **Understanding OOM deployment** -NBI uses AAF init container to generate valid server certificate, signed by ONAP Root CA. -This server certificate is used for TLS over HTTP. +NBI uses AAF init container to generate valid server certificate, signed by +ONAP Root CA. This server certificate is used for TLS over HTTP. Passing specific JAVA_OPTS to NBI SpringBoot java app will enable HTTPS. -Here are some OOM related files which could help to understand how HTTPS is set up. +Here are some OOM related files which could help to understand how HTTPS is +set up. Search for JAVA_OPTS in https://github.com/onap/oom/blob/master/kubernetes/nbi/templates/deployment.yaml diff --git a/docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json b/docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json deleted file mode 100644 index 6aae232..0000000 --- a/docs/offeredapis/postman/ONAPBeijingServiceOrderDoc.postman_collection.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "variables": [], - "info": { - "name": "ONAP Beijing ServiceOrder Test", - "_postman_id": "3e51270b-0ef8-0bc3-5b92-8c9b8270cb71", - "description": "", - "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" - }, - "item": [ - { - "name": "ServiceOrder1", - "request": { - "url": "http://127.0.0.1:8090/serviceOrder", - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "" - }, - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"externalId\": \"NBI-SO001\",\n \"priority\": \"1\",\n \"description\": \"Firevall service ordering on customer specified\",\n \"category\": \"Consumer\",\n \"requestedStartDate\": \"2018-02-28T13:33:37.299Z\",\n \"requestedCompletionDate\": \"2018-02-28T13:33:37.299Z\",\n \"relatedParty\": [\n {\n \"id\": \"6490\",\n \"role\": \"ONAPcustomer\",\n \"name\": \"Jean Pontus\",\n \"@referredType\": \"individual\"\n }\n ],\n \"orderItem\": [\n {\n \"id\": \"1\",\n \"action\": \"add\",\n \"service\": {\n \"name\": \"vFW0001\",\n \"serviceState\": \"active\",\n \"serviceSpecification\": {\n \"id\": \"3dd3923d-1681-4f5b-99bb-f695ab147004\"\n }\n }\n }\n ]\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "ServiceOrder2", - "request": { - "url": "http://127.0.0.1:8090/serviceOrder", - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "" - }, - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"externalId\": \"NBI-SO002\",\n \"priority\": \"1\",\n \"description\": \"Firevall service ordering on customer not specified - added to generic customer\",\n \"category\": \"Consumer\",\n \"requestedStartDate\": \"2018-02-28T13:33:37.299Z\",\n \"requestedCompletionDate\": \"2018-02-28T13:33:37.299Z\",\n \"orderItem\": [\n {\n \"id\": \"1\",\n \"action\": \"add\",\n \"service\": {\n \"name\": \"vFW0002\",\n \"serviceState\": \"active\",\n \"serviceSpecification\": {\n \"id\": \"3dd3923d-1681-4f5b-99bb-f695ab147004\"\n }\n }\n }\n ]\n}" - }, - "description": "" - }, - "response": [] - }, - { - "name": "ServiceOrder3", - "request": { - "url": "http://127.0.0.1:8090/serviceOrder", - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "description": "" - }, - { - "key": "Content-Type", - "value": "application/json", - "description": "" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"externalId\": \"LudONAP002\",\n \"priority\": \"1\",\n \"description\": \"Ludo ONAP Order\",\n \"category\": \"Consumer\",\n \"requestedStartDate\": \"2018-02-28T13:33:37.299Z\",\n \"requestedCompletionDate\": \"2018-02-28T13:33:37.299Z\",\n \"orderItem\": [\n {\n \"id\": \"1\",\n \"action\": \"add\",\n \"service\": {\n \"name\": \"vFW0002\",\n \"serviceState\": \"active\",\n \"serviceSpecification\": {\n \"id\": \"3dd3923d-1681-4f5b-99bb-f695ab147004\"\n }\n }\n }\n ]\n}" - }, - "description": "" - }, - "response": [] - } - ] -}
\ No newline at end of file |