aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api
AgeCommit message (Collapse)AuthorFilesLines
2017-10-30Fix typos in GENERIC-RESOURCE-APIDan Timoney2-2/+2
Updated location of Yang-mapping properties file and fixed typo in Yang model for GENERIC-RESOURCE-API. Change-Id: I379274beefd5673cca5096ff3769b552e0475535 Issue-ID: SDNC-151 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-23Create a Junit test for NetworkTopologyOperationJoey Sullivan6-92/+361
This test verifies NetworkTopologyOperation RPC executes a DG then produces the expected NetworkTopologyOperationOutput and persisted the expected Service in the DataBroker. In addition util classes were updated to make it easier to write additional MDSAL test in the future. Change-Id: Icf099c0dbf4445fb5d3e5b009a8cb6e8ca7200cb Issue-ID: SDNC-101 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-10-19Create a Junit test for ServiceTopologyOperationJoey Sullivan9-79/+638
This test verifies ServiceTopologyOperation RPC executes a DG then produces the expected ServiceTopologyOperationOutput and persisted the expected Service in the DataBroker. In addition util classes were written to make it easier to write additional MDSAL test in the future. Change-Id: I2281099df767397b628ec2caff06f3dd49962b8b Issue-ID: SDNC-101 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-10-19Ignore ModifiedNodeDoesNotExistException on deleteDan Timoney1-1/+1
When trying to deleteVnf from operational or config tree, if a ModifiedNodeDoesNotExistException is cause for commit exception it means that the data you are trying to delete does not exist. So you wanted it gone, it's already gone ... log a message at debug level but don't fail the transaction. Change-Id: Iea0f4e78522cc2f437843e2b17080855cd314ea6 Issue-ID: SDNC-137 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-13Sonar coverage - GenericResourceApi providerbeili.zhou2-122/+318
Add Junit test case for GenericResourceApiSvcLogicServiceClient In GenericResourceApiSvcLogicServiceClient: - Fix sonarlint issues (remove un-used import and etc) - Changed tab to 4 spaces as per ONAP Java code style Issue-Id: SDNC-101 Change-Id: I789d20a749f8daa4d6b626fedef6a9bb904bae2e Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-10-13Fix installation issues with generic-resource-apiDan Timoney14-1742/+1382
Updated generic-resource-api to use Aries blueprint to install and resolved issues preventing it from installing properly in karaf. Change-Id: Iaef8bdb7a9e6aaf149a8e8a0d847197cf3f704a9 Issue-ID: SDNC-109 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-10Add missing info to swagger docDan Timoney1-1/+9
Add missing required sections of info in swagger doc for generic-resource-api Change-Id: Iea25ce95d6bc0ae0d0edb7ad9a4f71be0669f231 Issue-ID: SDNC-72 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-10Convert swagger docs to v 2Dan Timoney3-2/+41413
Generate updated swagger specs and convert from swagger 1.2 to 2.0 format. Change-Id: I2d357b903596b3f2341ed5d024465e967fdaa76c Issue-ID: SDNC-72 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-04Added new request-actions for overlayGaurav Agrawal1-0/+2
Added new request-actions for dci overlay activation & deactivation. This is required to differentiate dci activation/deactivation for VoLTE use case from normal network activation/deactivation. Change-Id: I865963b78ae8b8ba3a8173259179013997318e87 Issue-Id: SDNC-110 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-28Add VNF-API, GEN-RES SWAGGER docBrian Freeman1-0/+1
Issue-ID: SDNC-72 Change-Id: I1a9fcf3fb99668acba6e89ce8b1db9500adb5670 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-25Improve SDNC Sonar coverageramu.n2-8/+143
Added initial test cases for GENERIC-RESOURCE-APIs Change-Id: I84a0d44210f97b9378ad75cc55919d5d404be6a2 Issue-Id: SDNC-101 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-22Merge "Remove sdnc-sli version dependency"Dan Timoney1-1/+1
2017-09-22Merge "Fix GENERIC-RESOURCE-API yang validation issues"Dan Timoney1-2/+2
2017-09-21Merge "Refer JUNIT version of parent pom."Marcus Williams1-7/+6
2017-09-21Merge "Add RPCs for vCPE"Dan Timoney3-15/+517
2017-09-21Fix GENERIC-RESOURCE-API yang validation issuesramu.n1-2/+2
when validate GENERIC-RESOURCE-API.yang with "pyang" has some issues Change-Id: Ibdc71e5a369a6815766e42667beacc4a262dc196 Issue-Id: SDNC-99 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-21Add RPCs for vCPEDan Timoney3-15/+517
Added new RPCs for tunnelxconn and brg RPCs. Change-Id: I036beaad10a8ac1f4c088dffa9a589b7b6bae227 Issue-ID: SDNC-98 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-21Refer JUNIT version of parent pom.Gaurav Agrawal1-7/+6
Remove the hardcoded version and rather take from parent pom. Change-Id: Ia146f738af2b447b6164bcf8a6ed7a5700d767d9 Issue-Id: SDNC-97 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-21Change "try" to try-with-resourcessurya-huawei1-12/+4
One major issue in sdnc/northbound module *This is done for a guaranteed closing of resource and not worrying about finally block to close it Issue-Id: CCSDK-87 Change-Id: Ic6ea871cb9fb61cbce24b61d7c434d3404570ae7 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-19Remove sdnc-sli version dependencyBrian Freeman1-1/+1
Issue-ID: SDNC-86 Change-Id: Iae6f03e1d69840f0c0d2dab97d502eb61b65b149 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-19Some minor refinements to generic-resource-apiGaurav Agrawal1-150/+160
Minor refinements to generic-resource-api including: 1) Replace printStackTrace() with log 2) Use built-in string formatting instead of string concatenation 3) Removed redundant ';' after switch statement 4) Change the private method names to follow guidelines to start with lower case 5) Removed redundant null assignment Change-Id: I48eb08f7305aa549b952715615201a13c3458ca4 Issue-Id: SDNC-45 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-07Some minor refinements/fixesGaurav Agrawal3-15/+17
Minor refinements to generic-resource-api like sonar issue fix, removal of redundant typecast etc. Change-Id: Ibb52f280847478e589640afb428088f379fab5b3 Issue-Id: SDNC-45 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-07Replace deprecated APIs with newer oneGaurav Agrawal5-16/+20
Replace following deprecated API 1) NotificationProviderService replaced with NotificationPublishService 2) InstanceIdentifier<T> toInstance() replace with build() 3) setProperties replaced with setYangMappingProperties Change-Id: Id3e9f116cb825187bf65cc5ac9d6f49484ab0846 Issue-Id: SDNC-45 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-07Update revision no of generic-resource-api.yangGaurav Agrawal4-8/+8
Update the generic-resource-api-provider.yang revision to fall in-line with generic-resource-api.yang, also depicting actual initial version addition date. Issue-Id: SDNC-45 Change-Id: I3193d997fb7261ca1c61eaa61acf949c806e56a4 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-05Seed code submit of generic-resource-apiDan Timoney19-0/+5236
Final seed code submit of generic-resource-api. This version is ready to submit if it verifies clean. Change-Id: Id5d5cec97a5deccfbda478c0dd7e1967900d76a1 Issue-ID: SDNC-45 Signed-off-by: Dan Timoney <dtimoney@att.com>