aboutsummaryrefslogtreecommitdiffstats
path: root/vnfapi
AgeCommit message (Collapse)AuthorFilesLines
2018-01-30Fixed sonar errors to line 1224Jakub Dudycz1-362/+297
Change-Id: I973460d2a34818294280cae7b44a285448672bdf Issue-ID: SDNC-242 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-01-30Fixed sonar errors to line 463Jakub Dudycz4-119/+150
Change-Id: Ib3c5a2e872fd47585dca1df49237206e968760e0 Issue-ID: SDNC-242 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2017-12-20Resolve duplicate file nameDan Timoney1-1/+1
Renamed vnfapiProviderTest.java to VnfapiProviderTestBase.java to avoid conflict with VnfapiProviderTest.java Change-Id: I500785a038691c17b84faac427232da2f9fdee21 Issue-ID: SDNC-228 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-22Deleting missing vnf-list entry cause infiniteLoopJoey Sullivan8-11/+692
Deleting a vnf-list entry that does not exist from the databoker throws a ModifiedNodeDoesNotExistException. This conflicted with the optimistic locking retry mechanism causing a infinite loop. Change-Id: I216a31eabf710ed365c8d928e4df0e866848eeca Issue-ID: SDNC-156 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-11-21Bump minor versionJessica Wagantall5-6/+6
Bump minor version in preparation for Amsterdam branching. Change-Id: If5ef8fc3ffb6c819d1c3b8eed0922729997243ef Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-15Roll to next versionDan Timoney5-6/+6
Since release 1.2.1 has already been cut, need to bump version to 1.2.2-SNAPSHOT. Change-Id: I97f293f264082d78d15984c231b67759c3e1006b Issue-ID: SDNC-74 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-14Fix preload-network-topology-operation err msgsMarcus G K Williams2-12/+13
Issue-Id: SDNC-145 Change-Id: Ibf4fe3101b278ad3dee7632863eb10f4b4c88e48 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-11-09Roll to version 1.2.1-SNAPSHOTv1.2.1Dan Timoney5-6/+6
Roll to next release version Change-Id: Id1d521317ca37583ed28b2bf60b0411120f13e00 Issue-ID: SDNC-74 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-19Ignore ModifiedNodeDoesNotExistException on deleteDan Timoney1-4/+10
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-16Add junit test for vnfapiProviderHao Kuang3-843/+2283
(1) added junit test for vnf apiProvider (2) formatted vnfapiProvider via using ONAP java code formatter (3) added license for VnfSdnUtilTest Issue-Id: SDNC-123 Change-Id: Ia0a12003a97331ae790224df14012b48d99af7d5 Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-10-13Sonar coverage vnfapi -VNFSDNSvcLogicServiceClientbeili.zhou2-240/+580
Add Junit test case for VNFSDNSvcLogicServiceClient In VNFSDNSvcLogicServiceClient: - Fix sonarlint issues (remove un-used import and etc) - Changed tab to 4 spaces as per ONAP Java code style Issue-Id: SDNC-123 Change-Id: Id176e915f17ef5fabc6805415f92d60b4c8e95b2 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-10-13Add junit test for VnfSdnUtilTestHao Kuang4-191/+195
(1) add junit test for vnfSdnUtilTest (2) format VnfSdnUtil.java via using ONAP java code formatter (3) fix some sonar lint issues Issue-Id: SDNC-123 Change-Id: I0e1cd55f67b238d70514a2caf02f4ead7809de31 Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-10-12Fixed vnfapi install issueDan Timoney11-331/+49
Fixed issues with vnfapi install: - Resolved issue installing vnftools by converting to blueprint - Resolved issue not finding RPC implementation of vnfapi by fixing dependency feature vnftools, and by converting vnfapi to blueprint. The root cause in both cases was probably something wrong with the provider configuration, but it was simpler (not to mention more maintainable) to just convert from config to blueprint. Change-Id: I7010a845687673c932457774f3103834d328ab84 Issue-ID: SDNC-119 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-10Convert swagger docs to v 2Dan Timoney2-1/+27326
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-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-27Merge "Fix VNF-API yang validation issues"Dan Timoney2-582/+592
2017-09-25Change "try" to try-with-resourcessurya-huawei1-11/+3
One major issue in sdnc/northbound module *This is done for a guaranteed closing of resource and avoiding the finally block Issue-Id: CCSDK-87 Change-Id: I3ab9119f0b10f47d16864aa3619cc54e069bb9de Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-21Fix VNF-API yang validation issuesramu.n2-582/+592
when validate VNF-API.yang with "pyang" has some issues Change-Id: I908a6bee90b24614f66df61afccf617a599b58db Issue-Id: SDNC-99 Signed-off-by: Ramu N <ramu.n@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-18Replace deprecated APIs with newer oneGaurav Agrawal5-25/+28
Replace following deprecated API 1) NotificationProviderService replaced with NotificationPublishService 2) InstanceIdentifier<T> toInstance() replace with build() 3) setProperties replaced with setYangMappingProperties Change-Id: I89fba42e88363c5e1e5b23fe272d2754361aee25 Issue-Id: SDNC-89 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-14Set RequestId as MDC in SDNCvaibhav.jain11-0/+15
SDNC dosen't set RequestId as MDC whereas it logs it into the log message as svcRequestId. A change has been made to set RequestId as MDC so that it propagates throughout the flow. Change-Id: I0b66958f3ece2a90e11d2986cfd5bbd0858d27ce Issue-ID: SO-87 Signed-off-by: vaibhav.jain1 <vaibhav.jain1@amdocs.com>
2017-09-08Fix few Blocker/Critical sonar issuesramu.n1-4/+4
Fix few Blocker/Critical sonar issues in sdnc northbound modules https://sonar.onap.org/component_issues?id=org.openecomp.sdnc.northbound%3Asdnc-northbound#resolved=false|severities=BLOCKER%2CCRITICAL Change-Id: I277dd72784a2186acffdd2a7045fecbef528f56b Issue-Id: SDNC-65 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-09-07Fix Blocker/Critical sonar issuesRamu N2-13/+12
Fix Blocker/Critical sonar issues in vnfapi module https://sonar.onap.org/component_issues?id=org.openecomp.sdnc.northbound%3Asdnc-northbound#resolved=false|severities=BLOCKER%2CCRITICAL Issue-Id: SDNC-65 Change-Id: Ie5617b7f40ed1d05eb9657a9686fef4b4c9bec35 Signed-off-by: Ramu N <ramu.n@huawei.com>
2017-08-30Update SDNC NB to depend on CCSDKMarcus G K Williams17-3784/+3784
Refactor code to use CCSDK Issue-Id: SDNC-50 Change-Id: If637d1a0609ec5ae9df60939f72eb64888e61e71 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-30Prune migrated components from sdnc/northboundDan Timoney5-6/+6
Prune components that were migrated from sdnc/northbound to ccsdk by removing code and replacing with a README.md that redirects the reader to the appropriate CCSDK repo Change-Id: I317b1d0093a1dd4647feaf6b852826a2230f4879 Issue-ID: SDNC-59 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-06-05[SDNC-14] Roll northbound to version 1.1.2Dan Timoney5-6/+6
Roll northbound to use version 1.1.2 of rootpom, to ensure latest version is being used Change-Id: I44f45531212bf4bb7eb3bffdc25f34bd1ad8e592 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-05-23fix some build issuesGuo Ruijing1-0/+1
1. use 1.1.1 rootpom 2. add verson for opendaylight-karaf-empty 3. use parameter for dblib-provider Change-Id: Ia68a765011c70eae4a7275b33bc2906ed95ba5fb Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-05-04fix maven local build issueGuo Ruijing3-0/+5
onap jenkins use maven-assembly-plugin 2.2-beta-5. without fix, local build use maven-assembly-plugin 2.4.1 and build fails as: Assembly is incorrectly configured: null. to fix local build issue: 1. update to maven-assembly-plugin 2.6 2. add AssemblyId configuration which is needed for assembly >= 2.2 Change-Id: Id929f6ff31beb64e9025346c0bf636d44a5eaa47 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-04-25[RENUMBER] Roll to next snapshotDan Timoney5-6/+6
Roll to snapshot version 1.1.1-SNAPSHOT Change-Id: Ic1cc0e706715cdcd8eca1502e99e65be2e961a42 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-04-24[SDNC-5] Split listenersDan Timoney15-20/+61
Split dmaap-listener and ueb-listener to separate artifacts Change-Id: I7b1d5b15c8ef850ace75d4da451143ba4062b817 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-04-07Fix assembly xmls for maven-assembly-plugin v2.2+Gary Wu3-0/+4
Starting in version 2.2, maven-assembly-plugin requires an id tag in the assembly descriptor xmls. This patch allows the project to be built in environments that use newer versions of maven-assembly-plugin. For details, see: https://issues.apache.org/jira/browse/MASSEMBLY-517 Change-Id: I3a721da4aa47be58127fa3f8971f01635d400185 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-03-31[SDNC-5] Rebase sdnc-northboundDan Timoney16-30/+35
Port to OpenDaylight Boron and sync updates since 16.10 Change-Id: I036c5d0bb600b305300e653023caffc83a262604 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-03-15[VERSION] Roll to next versionDan Timoney5-6/+6
Roll to version 1.1.0-SNAPSHOT Change-Id: I3da790c1ed744760070953905180bdc72464843c Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-02-24[VERSION] Roll back to snapshotDan Timoney5-6/+6
Roll back to version 1.0.0-SNAPSHOT Change-Id: Icf45d62d223d7f8f1111452c93489d9ba9184273 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-02-21[VERSION] Official root pom versionDan Timoney5-6/+6
Update to use version 1.0.0 of root pom Change-Id: I9b9d4bea913f60d62cc9dae171db6c117ec10c72 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-02-20[VERSION] Change version to snapshotDan Timoney5-6/+6
Change version to 1.0.0-SNAPSHOT and skip tests Change-Id: If753fa7b08f2abb57429efe6b044353c21f18e16 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-02-15Initial commit for OpenECOMP SDN-C northboundDan Timoney26-0/+5739
Change-Id: Iffe4d4fbcfd21ecbc1000238354094cc064298ce Signed-off-by: Dan Timoney <dtimoney@att.com>