aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/SDNC_AAIService_Adaptor/aaiReadTest.txt
diff options
context:
space:
mode:
authorMarco Platania <platania@research.att.com>2019-03-05 14:30:15 -0500
committerMarco Platania <platania@research.att.com>2019-03-05 14:30:15 -0500
commit7016a047e524ddd304aa4fbfe2e9f49280d02fd7 (patch)
treefa73354599e3236a3425511bcb99b3dabedef615 /tutorials/SDNC_AAIService_Adaptor/aaiReadTest.txt
parent1b81e8f0b51576f761aa8e3329285bfb61e6dd79 (diff)
Add tutorial about SDNC-AAI Service adaptor
- Simple DGs for writing and reading services to/from AAI - Postman POST calls to trigger DGs using CCSDK/SLI API Change-Id: I9eaa58e0a2b08e783cf61f11cb45e6f740f15ddf Issue-ID: INT-658 Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'tutorials/SDNC_AAIService_Adaptor/aaiReadTest.txt')
-rw-r--r--tutorials/SDNC_AAIService_Adaptor/aaiReadTest.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/tutorials/SDNC_AAIService_Adaptor/aaiReadTest.txt b/tutorials/SDNC_AAIService_Adaptor/aaiReadTest.txt
new file mode 100644
index 00000000..76853e7e
--- /dev/null
+++ b/tutorials/SDNC_AAIService_Adaptor/aaiReadTest.txt
@@ -0,0 +1,19 @@
+curl -X POST \
+ http://10.12.5.253:30202/restconf/operations/SLI-API:execute-graph \
+ -H 'Authorization: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' \
+ -H 'Content-Type: application/json' \
+ -H 'Postman-Token: 04a25312-5513-4667-a621-934cff51e289' \
+ -H 'cache-control: no-cache' \
+ -d '{
+ "input": {
+ "module-name": "AAI_READ_TEST",
+ "rpc-name": "aaiReadTest",
+ "mode": "sync",
+ "sli-parameter": [
+ {
+ "parameter-name": "aai-service-id",
+ "string-value": "792be903-6572-4306-8ae0-be884f7740b4"
+ }
+ ]
+ }
+}' \ No newline at end of file