diff options
author | Reshmasree <reshmasree.chamarthi2@wipro.com> | 2019-03-21 18:54:53 +0530 |
---|---|---|
committer | Reshmasree <reshmasree.chamarthi2@wipro.com> | 2019-03-27 20:22:53 +0530 |
commit | ab400d51a639a01f31a60ac9d1e127d4d4d28b24 (patch) | |
tree | fd7ee3eb66c976bba4e4027e993eeb95666b98e8 /dpo/data-formats | |
parent | 3cd4023832810e8b65f85a9db807c8bafec38d82 (diff) |
Add component spec and blueprint
- validated component spec and blueprints are added to the repo
- pom file changed to build,tag and push the docker image
- checkstyle version changed from 1.2.3-SNAPSHOT to 1.2.3
- entrypoint script added
Change-Id: I0fcf8a17b0c5ce1990de506bf94d2d9ddf93d6fd
Issue-ID: DCAEGEN2-1159
Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com>
Diffstat (limited to 'dpo/data-formats')
-rw-r--r-- | dpo/data-formats/cellListFromSdnr-dataformat.json | 18 | ||||
-rw-r--r-- | dpo/data-formats/configdb-req-dataformat.json | 12 | ||||
-rw-r--r-- | dpo/data-formats/dmaap_son.json | 45 | ||||
-rw-r--r-- | dpo/data-formats/nbrListFromSdnr-dataformat.json | 33 | ||||
-rw-r--r-- | dpo/data-formats/oofToSonAsyncResp-dataformat.json | 91 | ||||
-rw-r--r-- | dpo/data-formats/oofToSonSyncResp-dataformat.json | 38 | ||||
-rw-r--r-- | dpo/data-formats/pciFromSdnr-dataformat.json | 29 | ||||
-rw-r--r-- | dpo/data-formats/pnfNameFromSdnr-dataformat.json | 29 | ||||
-rw-r--r-- | dpo/data-formats/policyToSonReq-dataformat.json | 23 | ||||
-rw-r--r-- | dpo/data-formats/policyToSonResp-dataformat.json | 64 | ||||
-rw-r--r-- | dpo/data-formats/sonInputFromSdnr-dataformat.json | 212 | ||||
-rw-r--r-- | dpo/data-formats/sonToOofReq-dataformat.json | 97 | ||||
-rw-r--r-- | dpo/data-formats/sonToPolicyDmaap-dataformat.json | 87 | ||||
-rw-r--r-- | dpo/data-formats/sonToPolicyReq-dataformat.json | 24 |
14 files changed, 802 insertions, 0 deletions
diff --git a/dpo/data-formats/cellListFromSdnr-dataformat.json b/dpo/data-formats/cellListFromSdnr-dataformat.json new file mode 100644 index 0000000..610552e --- /dev/null +++ b/dpo/data-formats/cellListFromSdnr-dataformat.json @@ -0,0 +1,18 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "", + "items": { + "description": "", + "type": "string" + }, + "type": "array" + }, + "self": { + "description": "", + "name": "CELLLIST_FROM_SDNR", + "version": "1.0.0" + } +} + diff --git a/dpo/data-formats/configdb-req-dataformat.json b/dpo/data-formats/configdb-req-dataformat.json new file mode 100644 index 0000000..a40a05c --- /dev/null +++ b/dpo/data-formats/configdb-req-dataformat.json @@ -0,0 +1,12 @@ +{ + "self": { + "name": "CONFIGDB-REQ", + "version": "1.0.0", + "description": "Request to config DB" + + }, + "dataformatversion": "1.0.0", + "unstructured": { + "encoding": "UTF-8" + } +} diff --git a/dpo/data-formats/dmaap_son.json b/dpo/data-formats/dmaap_son.json new file mode 100644 index 0000000..43f7b8e --- /dev/null +++ b/dpo/data-formats/dmaap_son.json @@ -0,0 +1,45 @@ +{"nbr_list_change_topic":{ + "type": "message_router", + "aaf_username": "", + "aaf_password": "", + "dmaap_info": { + "client_role": "son-subscriber", + "client_id": "sdnr-son-1", + "location": "onap", + "topic_url": "https://HOSTNAME:3905/events/PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO" + } +}, +"fault_management_topic":{ + "type": "message_router", + "aaf_username": "", + "aaf_password": "", + "dmaap_info": { + "client_role": "son-subscriber", + "client_id": "sdnr-son-1", + "location": "onap", + "topic_url": "https://HOSTNAME:3905/events/unauthenticated.SEC_FAULT_OUTPUT" + } +}, +"performance_management_topic":{ + "type": "message_router", + "aaf_username": "", + "aaf_password": "", + "dmaap_info": { + "client_role": "son-subscriber", + "client_id": "sdnr-son-1", + "location": "onap", + "topic_url": "https://HOSTNAME:3905/events/unauthenticated.SEC_MEASUREMENT_OUTPUT" + } +}, +"CL_topic":{ + "type": "message_router", + "aaf_username": "", + "aaf_password": "", + "dmaap_info": { + "client_role": "policy-publisher", + "client_id": "policy-son-1", + "location": "onap", + "topic_url": "https://HOSTNAME:3905/events/DCAE_CL_OUTPUT" + } +} +} diff --git a/dpo/data-formats/nbrListFromSdnr-dataformat.json b/dpo/data-formats/nbrListFromSdnr-dataformat.json new file mode 100644 index 0000000..ad50950 --- /dev/null +++ b/dpo/data-formats/nbrListFromSdnr-dataformat.json @@ -0,0 +1,33 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "cellId": { + "description": "", + "type": "string" + }, + "pciValue": { + "description": "", + "type": "integer" + } + }, + "required": [ + "cellId", + "pciValue" + ], + "type": "object" + }, + "type": "array" + }, + "self": { + "description": "", + "name": "NBRLST_FROM_SDNR", + "version": "1.0.0" + } +} + diff --git a/dpo/data-formats/oofToSonAsyncResp-dataformat.json b/dpo/data-formats/oofToSonAsyncResp-dataformat.json new file mode 100644 index 0000000..2668370 --- /dev/null +++ b/dpo/data-formats/oofToSonAsyncResp-dataformat.json @@ -0,0 +1,91 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "requestId": { + "description": "", + "type": "string" + }, + "requestStatus": { + "description": "", + "type": "string" + }, + "solutions": { + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "finishTime": { + "description": "", + "type": "string" + }, + "networkId": { + "description": "", + "type": "string" + }, + "pciSolutions": { + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "cellId": { + "description": "", + "type": "string" + }, + "pci": { + "description": "", + "type": "string" + } + }, + "required": [ + "cellId", + "pci" + ], + "type": "object" + }, + "type": "array" + }, + "startTime": { + "description": "", + "type": "string" + } + }, + "required": [ + "finishTime", + "networkId", + "pciSolutions", + "startTime" + ], + "type": "object" + }, + "type": "array" + }, + "statusMessage": { + "description": "", + "type": "string" + }, + "transactionId": { + "description": "", + "type": "string" + } + }, + "required": [ + "requestId", + "requestStatus", + "solutions", + "statusMessage", + "transactionId" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_OOF_ASYNC_RESP", + "version": "1.0.0" + } +} diff --git a/dpo/data-formats/oofToSonSyncResp-dataformat.json b/dpo/data-formats/oofToSonSyncResp-dataformat.json new file mode 100644 index 0000000..11f8cd0 --- /dev/null +++ b/dpo/data-formats/oofToSonSyncResp-dataformat.json @@ -0,0 +1,38 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "requestId": { + "description": "", + "type": "string" + }, + "requestStatus": { + "description": "", + "type": "string" + }, + "statusMessage": { + "description": "", + "type": "string" + }, + "transactionId": { + "description": "", + "type": "string" + } + }, + "required": [ + "requestId", + "requestStatus", + "statusMessage", + "transactionId" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_OOF_SYNC_RESP", + "version": "1.0.0" + } +} diff --git a/dpo/data-formats/pciFromSdnr-dataformat.json b/dpo/data-formats/pciFromSdnr-dataformat.json new file mode 100644 index 0000000..5eb8e7c --- /dev/null +++ b/dpo/data-formats/pciFromSdnr-dataformat.json @@ -0,0 +1,29 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "attribute-name": { + "description": "", + "type": "string" + }, + "value": { + "description": "", + "type": "string" + } + }, + "required": [ + "attribute-name", + "value" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "PCI_FROM_SDNR", + "version": "1.0.0" + } +} + diff --git a/dpo/data-formats/pnfNameFromSdnr-dataformat.json b/dpo/data-formats/pnfNameFromSdnr-dataformat.json new file mode 100644 index 0000000..84787dc --- /dev/null +++ b/dpo/data-formats/pnfNameFromSdnr-dataformat.json @@ -0,0 +1,29 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "attribute-name": { + "description": "", + "type": "string" + }, + "value": { + "description": "", + "type": "string" + } + }, + "required": [ + "attribute-name", + "value" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "PNFNAME_FROM_SDNR", + "version": "1.0.0" + } +} + diff --git a/dpo/data-formats/policyToSonReq-dataformat.json b/dpo/data-formats/policyToSonReq-dataformat.json new file mode 100644 index 0000000..f787695 --- /dev/null +++ b/dpo/data-formats/policyToSonReq-dataformat.json @@ -0,0 +1,23 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "policyName": { + "description": "", + "type": "string" + } + }, + "required": [ + "policyName" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_TO_POLICY_REST_REQ", + "version": "1.0.0" + } +} diff --git a/dpo/data-formats/policyToSonResp-dataformat.json b/dpo/data-formats/policyToSonResp-dataformat.json new file mode 100644 index 0000000..526f145 --- /dev/null +++ b/dpo/data-formats/policyToSonResp-dataformat.json @@ -0,0 +1,64 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "configBody": { + "description": "", + "type": "string" + }, + "configBodyType": { + "description": "", + "type": "string" + }, + "configName": { + "description": "", + "type": "string" + }, + "onapName": { + "description": "", + "type": "string" + }, + "policyClass": { + "description": "", + "type": "string" + }, + "policyConfigType": { + "description": "", + "type": "string" + }, + "policyName": { + "description": "", + "type": "string" + }, + "policyVersion": { + "description": "", + "type": "string" + }, + "ttlDate": { + "description": "", + "type": "string" + } + }, + "required": [ + "configBody", + "configBodyType", + "configName", + "onapName", + "policyClass", + "policyConfigType", + "policyName", + "policyVersion", + "ttlDate" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "POLICY_TO_SON_REST_RESP", + "version": "1.0.0" + } +} + diff --git a/dpo/data-formats/sonInputFromSdnr-dataformat.json b/dpo/data-formats/sonInputFromSdnr-dataformat.json new file mode 100644 index 0000000..de8c017 --- /dev/null +++ b/dpo/data-formats/sonInputFromSdnr-dataformat.json @@ -0,0 +1,212 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "AAI": { + "description": "", + "type": "object" + }, + "Action": { + "description": "", + "type": "string" + }, + "Payload": { + "additionalproperties": true, + "description": "", + "properties": { + "RadioAccess": { + "additionalproperties": true, + "description": "", + "properties": { + "FAPServiceList": { + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "CellConfig": { + "additionalproperties": true, + "description": "", + "properties": { + "LTE": { + "additionalproperties": true, + "description": "", + "properties": { + "RAN": { + "additionalproperties": true, + "description": "", + "properties": { + "CellIdentity": { + "description": "", + "type": "string" + }, + "NeighborListInUse": { + "additionalproperties": true, + "description": "", + "properties": { + "LTECellNumberOfEntries": { + "description": "", + "type": "string" + }, + "LTENeighborListInUseLTECell": { + "description": "", + "items": { + "additionalproperties": true, + "description": "", + "properties": { + "alias": { + "description": "", + "type": "string" + }, + "blacklisted": { + "description": "", + "type": "string" + }, + "cid": { + "description": "", + "type": "string" + }, + "enable": { + "description": "", + "type": "string" + }, + "mustInclude": { + "description": "", + "type": "string" + }, + "phyCellId": { + "description": "", + "type": "string" + }, + "plmnid": { + "description": "", + "type": "string" + }, + "pnfName": { + "description": "", + "type": "string" + } + }, + "required": [ + "alias", + "blacklisted", + "cid", + "enable", + "mustInclude", + "phyCellId", + "plmnid", + "pnfName" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "LTECellNumberOfEntries", + "LTENeighborListInUseLTECell" + ], + "type": "object" + } + }, + "required": [ + "CellIdentity", + "NeighborListInUse" + ], + "type": "object" + } + }, + "required": [ + "RAN" + ], + "type": "object" + } + }, + "required": [ + "LTE" + ], + "type": "object" + }, + "X0005b9Lte": { + "additionalproperties": true, + "description": "", + "properties": { + "phyCellIdInUse": { + "description": "", + "type": "string" + }, + "pnfName": { + "description": "", + "type": "string" + } + }, + "required": [ + "phyCellIdInUse", + "pnfName" + ], + "type": "object" + }, + "alias": { + "description": "", + "type": "string" + } + }, + "required": [ + "CellConfig", + "X0005b9Lte", + "alias" + ], + "type": "object" + }, + "type": "array" + }, + "FAPServiceNumberOfEntries": { + "description": "", + "type": "string" + } + }, + "required": [ + "FAPServiceList", + "FAPServiceNumberOfEntries" + ], + "type": "object" + } + }, + "required": [ + "RadioAccess" + ], + "type": "object" + }, + "from": { + "description": "", + "type": "string" + }, + "requestID": { + "description": "", + "type": "string" + }, + "version": { + "description": "", + "type": "string" + } + }, + "required": [ + "AAI", + "Action", + "Payload", + "from", + "requestID", + "version" + ], + "type": "object" + }, + "self": { + "description": "dmaap message from SDNR to SON handler", + "name": "SON_INPUT_FROM_SDNR", + "version": "1.0.0" + } +} + diff --git a/dpo/data-formats/sonToOofReq-dataformat.json b/dpo/data-formats/sonToOofReq-dataformat.json new file mode 100644 index 0000000..3ca70e0 --- /dev/null +++ b/dpo/data-formats/sonToOofReq-dataformat.json @@ -0,0 +1,97 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "cellInfo": { + "additionalproperties": true, + "description": "", + "properties": { + "cellIdList": { + "description": "", + "items": { + "description": "", + "type": "string" + }, + "type": "array" + }, + "networkId": { + "description": "", + "type": "string" + } + }, + "required": [ + "cellIdList", + "networkId" + ], + "type": "object" + }, + "requestInfo": { + "additionalproperties": true, + "description": "", + "properties": { + "callbackUrl": { + "description": "", + "type": "string" + }, + "numSolutions": { + "description": "", + "type": "integer" + }, + "optimizers": { + "description": "", + "items": { + "description": "", + "type": "string" + }, + "type": "array" + }, + "requestId": { + "description": "", + "type": "string" + }, + "requestType": { + "description": "", + "type": "string" + }, + "sourceId": { + "description": "", + "type": "string" + }, + "timeout": { + "description": "", + "type": "integer" + }, + "transactionId": { + "description": "", + "type": "string" + } + }, + "required": [ + "callbackUrl", + "numSolutions", + "optimizers", + "requestId", + "requestType", + "sourceId", + "timeout", + "transactionId" + ], + "type": "object" + } + }, + "required": [ + "cellInfo", + "requestInfo" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_TO_OOF_REST_REQ", + "version": "1.0.0" + } +} + diff --git a/dpo/data-formats/sonToPolicyDmaap-dataformat.json b/dpo/data-formats/sonToPolicyDmaap-dataformat.json new file mode 100644 index 0000000..fcca5e6 --- /dev/null +++ b/dpo/data-formats/sonToPolicyDmaap-dataformat.json @@ -0,0 +1,87 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "AAI": { + "additionalproperties": true, + "description": "", + "properties": { + "generic-vnf.is-closed-loop-disabled": { + "description": "", + "type": "string" + }, + "generic-vnf.prov-status": { + "description": "", + "type": "string" + }, + "generic-vnf.vnf-id": { + "description": "", + "type": "string" + } + }, + "required": [ + "generic-vnf.is-closed-loop-disabled", + "generic-vnf.prov-status", + "generic-vnf.vnf-id" + ], + "type": "object" + }, + "Action": { + "description": "", + "type": "string" + }, + "closedLoopAlarmStart": { + "description": "", + "type": "integer" + }, + "closedLoopControlName": { + "description": "", + "type": "string" + }, + "closedLoopEventClient": { + "description": "", + "type": "string" + }, + "closedLoopEventStatus": { + "description": "", + "type": "string" + }, + "from": { + "description": "", + "type": "string" + }, + "payload": { + "description": "", + "type": "string" + }, + "requestID": { + "description": "", + "type": "string" + }, + "target": { + "description": "", + "type": "string" + }, + "target_type": { + "description": "", + "type": "string" + }, + "version": { + "description": "", + "type": "string" + } + }, + "required": [ + "AAI", "Action", "closedLoopAlarmStart", "closedLoopControlName", "closedLoopEventClient", "closedLoopEventStatus", "from", "payload", "requestID", "target", "target_type", "version" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_TO_POLICY_DMAAP", + "version": "1.0.0" + } +} diff --git a/dpo/data-formats/sonToPolicyReq-dataformat.json b/dpo/data-formats/sonToPolicyReq-dataformat.json new file mode 100644 index 0000000..7686242 --- /dev/null +++ b/dpo/data-formats/sonToPolicyReq-dataformat.json @@ -0,0 +1,24 @@ +{ + "dataformatversion": "1.0.0", + "jsonschema": { + "$schema": "http://json-schema.org/draft-04/schema#", + "additionalproperties": true, + "description": "", + "properties": { + "policyName": { + "description": "", + "type": "string" + } + }, + "required": [ + "policyName" + ], + "type": "object" + }, + "self": { + "description": "", + "name": "SON_TO_POLICY_REST_REQ", + "version": "1.0.0" + } +} + |