aboutsummaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2017-09-22Fix Blocker/Critical sonar issuesshashikanth1-3/+3
Fix Blocker/Critical sonar issues in so module https://sonar.onap.org/component_issues?id=org.openecomp.so%3Aso#resolved=false|severities=CRITICAL Fixed issue Remove this call to "equals"; comparisons between unrelated types always return false. Issue-Id:SO-118 Change-Id: I8e3594958a84efc933206655b7ff96a7d08c24e0 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-22Add generic post functionc001491072-2/+2
Add generic post function and correct the api define Change-Id: I11c2a10f4aad00f389b68cf7b9c42dab4441027c Issue-ID:SO-57 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-21SO Failed Robot Health CheckRob Daugherty3-3/+18
There were several issues. The wrong jackson provider was being selected, which caused the exception, so we fixed that. Then we discovered that a a URN mapping was missing, so we added that. Then we found that the healthcheck wouldn't work because it's trying to check the default process engine, which does not exist. We commented out that part of the healthcheck to be able to resolve this high priority issue. A new low priority issue will need to be created to follow up. Change-Id: I327612a147333eeecd44915942cecd13959c4717 Issue-id: SO-139 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-09-20Add Query Job API UTc001491072-1/+6
Add VF-C adapter UT for query job api Change-Id: I8b1d1037cb074a08115739574b2c8dc8a6cd3b3d Issue-ID:SO-133 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-19Add terminate UT for vf-c adapterc001491073-3/+10
Add terminate UT for vf-c adapter api Change-Id: Iab514bb59b112f30e5911fb04c3b9d6672494ae7 Issue-ID:SO-133 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-19Add UT for delete APIc001491072-2/+8
Add UT for delete API of VF-C adapter Change-Id: I9d7921f1f10bf757687d57a8f010ef8e1e404df5 Issue-ID:SO-133 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-19Add UT for instantiate NS APIc001491072-2/+8
Add UT for instantiate NS API of VF-C adapter Change-Id: I8460dbe42da485777347f21ab608b9592c225ad8 Issue-ID:SO-133 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-19Update mocked json for createc001491071-0/+2
Update mocked json for create NS test Change-Id: I42400363a66783435fb883be99b66e6720268ce9 Issue-ID:SO-145 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-19Add subscriber info for apic001491073-20/+71
Add subscriber and service type for vf-c api Change-Id: I07f99852708f52cafd9fd31b699c2d4233ffa21d Issue-ID:SO-145 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-18Fixed issues in adapter packageseshukm13-129/+169
Issue-Id: SO-141 Change-Id: I1a6905aa7e1328e47b3d0f7580a1dca33c6a069c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-18Fixed Issues In adapter code.seshukm15-53/+103
Issue-Id : SO-141 Change-Id: I0e901537013634dfc3f0950921c2ebbc2afa411f Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-18Fix the API dismatchc001491073-38/+38
Make the class definition match to the API Change-Id: I0e133af4ffc74ee1a826622a37592779be6dd9e8 Issue-ID:SO-140 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-18Remove the constants not usedc001491071-8/+1
Remove the constants not used Change-Id: Ic88c317168defe46bdd1691399ca71a01266e0b1 Issue-ID:SO-137 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-18Format vfc adapter pom filec001491071-101/+97
Make the pom file of vfc adapter formatted Change-Id: I0428a23ca2ffd8c9fde3aa8bbbbdf90ff4fbc093 Issue-ID:SO-137 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-15Add UT for create servicec001491077-128/+301
Create service UT implement Change-Id: Ie9f1abbe730195b94796ca9cabb5e385c5dd0ea8 Issue-ID:SO-133 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-15Add comments for classc001491071-7/+60
Add class comments Change-Id: Ib6cda32f7ba9527b48fb159409fca8e0783a2f7e Issue-ID:SO-137 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-15Remove unused constantsc001491071-47/+0
Remove unused constants form definition Change-Id: Ia131a4b36769aa59dc31f54d4623b6c1cf3939c5 Issue-ID:SO-137 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-14Merge "Correct the rest URI of VFC"Seshu Kumar M1-5/+5
2017-09-14Merge "Add VFC UT Test JSON"Seshu Kumar M10-0/+113
2017-09-14Correct the rest URI of VFCc001491071-5/+5
Correct the rest URI of VFC LCM Change-Id: I4b2540e679b8cf53e815ba8e8ffd6082dbdec6fd Issue-ID:SO-133 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-14Add VFC UT Test JSONc0014910710-0/+113
Add Test Json for UT of vfc adapter Change-Id: Id8854e80680031c450dae0965046c70c5da93913 Issue-ID:SO-133 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-13Jackson provider exception from healthcheckRob Daugherty1-0/+5
com.google.common.util.concurrent.ExecutionError: java.lang.LinkageError: loader constraint violation: Change-Id: I65189a8533998599c2156a020fc5540dbeca695f Issue-id: SO-124 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-09-12Fix for SONAR critical issuesseshukm9-27/+58
Issue-Id : SO-117 Change-Id: Icdc64605b475e20af7e871135af327f7d0e38792 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-12Fix for SONAR critical issuesseshukm7-27/+52
Issue-Id : SO-117 Change-Id: I57e30d9a8a2b251a57466d92c49f41e2a5943b22 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-11Fix for SONAR critical issuesseshukm2-1/+20
Issue Id : SO-117 Change-Id: I7774a2d35f46398c3c3d6a9b4da97a0a52ef941e Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-11Change the header to SOSeshu-Kumar-M218-218/+218
IssueId: SO-120 Change-Id: I59982b12d5b538b3f9765410ac26cbdde1844957 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-08Merge "sonar blocker issue fixes"Rob Daugherty2-11/+15
2017-09-081710 Rebase - Second AttemptArthur Martella239-25469/+1284
This commit rebases changes from openecomp-mso/internal-staging-1710 up to and including this codecloud commit: 54483fc6606ddb1591a2e9da61bff8712325f924 Wed Sep 6 18:12:56 2017 -0400 Rebasing was done on a branch on top of this commit in so/master in ONAP: 93fbdfbe46104f8859d4754040f979cb7997c157 Thu Sep 7 16:42:59 2017 +0000 Change-Id: I4ad9abf40da32bf5bdca43e868b8fa2dbcd9dc59 Issue-id: SO-107 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-09-07sonar blocker issue fixesSeshu-Kumar-M2-11/+15
Issue ID: SO-98 Change-Id: Ida8eba238c3c0ca867cc40a58d00ddcd74417921 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-06Fix the commentsc0014910715-45/+38
Fix the review comments for vf-c adapter Change-Id: I1b2a7de490b7d46c07d522f5720ef005bfffe67d Issue-ID:SO-109 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-09-05Merge "Add VF-C Adapter"Seshu Kumar M31-0/+2698
2017-09-04Add VF-C Adapterc0014910731-0/+2698
Add VF-C Adapter to support VF-C APIs Change-Id: I4eb27755c8c5420343f457e0f9be37aa438361eb Issue-ID:SO-41 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-08-22IssueId : SO-98Seshu-Kumar-M1-15/+12
Desc: Sonar issue fix Change-Id: I48e45fb9fd51bac3e79feaa47d3078b6614025cf Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-08-04Another attempt to fix deploy problemRob Daugherty1-1/+1
The top level pom will contain: <groupId>org.openecomp.so</groupId> <artifactId>so</artifactId> Child modules will contain: <parent> <groupId>org.openecomp.so</groupId> <artifactId>so</artifactId> <version>1.1.0-SNAPSHOT</version> </parent> <groupId>org.openecomp.so</groupId> <artifactId>some-child-artifact</artifactId> Note that the groupId for the direct child module will be the same as the groupId for its parent. Issue: SO-21 Change-Id: I1976819df459d92937c6a4780959c32599dc3e71 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-08-04Failed to deploy so artifacts in nexus (again)Rob Daugherty12-53/+53
There are Linux Foundation rules (enforced by nexus) that I still don't really understand. I'm convinced this is absolutely true: The groupId of every artifact in a project MUST begin with: org.openecomp.<project> --or-- org.onap.<project> The top-level artifact is no exception. So for example, this is NOT allowed: <groupId>org.openecomp</groupId> <artifactId>so</groupId> Here's what I'm trying now. The top level pom will contain: <groupId>org.openecomp.so</groupId> <artifactId>so-parent</artifactId> Child modules will contain: <parent> <groupId>org.openecomp.so</groupId> <artifactId>so-parent</artifactId> <version>1.1.0-SNAPSHOT</version> </parent> <groupId>org.openecomp.so</groupId> <artifactId>some-child-artifact</artifactId> Note that the groupId for the direct child module will be the same as the groupId for its parent. Issue: SO-21 Change-Id: I0d3cd2eb7a1883e23e3c0878ee7fa3dd4a7d55b2 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-08-01Failed to deploy so artifacts in nexusRob Daugherty12-54/+54
More problems encountered since mso repos were renamed. We now have found that this declaration in the top-level so pom causes the deploy to fail with a 403 Forbidden error: <groupId>org.openecomp</groupId> <artifactId>so</artifactId> We are changing this to: <groupId>org.openecomp.so</groupId> <artifactId>framework</artifactId> Issue: SO-21 Change-Id: I4e21d689c73c5071bde725127bb81482ce3d91f9 Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-07-19Fix artifact group IDs (org.openecomp.so)Rob Daugherty12-57/+57
Since the repositories were renamed from "mso" to "so" the artifact group IDs in the poms must be updated to match. Issue: SO-39 Change-Id: I617fe738a77d0f6c1d1cc0ac9474fb753f4e234c Signed-off-by: Rob Daugherty <rd472p@att.com>
2017-05-09[MSO-8] Additional fixes for the second rebaseDeterme, Sebastien (sd378r)8-217/+388
DB fixes + BPMN flows and groovy fixes + Fix issue with CloudConfig file not reloaded properly when it's wrong (JSON error or model hierarchy mistake) at MSO startup Change-Id: I2853030b78499e2a761706b643ea210955e72de3 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com> [MSO-8] Restore files removed in patch set 2 Those groovy files must be there Change-Id: I9a47ac3d9c8fc06774a1b8f518491b1b0b00af04 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-05-03[MSO-8] Remove files that crash the commonBPMNDeterme, Sebastien (sd378r)12-1853/+0
Some files in commonBPMN have been removed as they prevent the war to be successfully deployed on Jboss + Remove rest interfaces files for catalog that should not be there anymore Change-Id: Iaf83f8b60610624e160feac8a96b7eaed7f161d1 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-05-02[MSO-8] Second step of the rebase for MSODeterme, Sebastien (sd378r)58-1264/+2903
Second rebase containing additional features for MSO + total reworking of the BPMN structure + Notification flow can now be added at the end of some BPMN flows Change-Id: I7e937c7a0ba1593ca85e164a093f79c7e38b6ce0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-05-02Merge "Fix resources leaks: CatalogDatabase"Christophe Closset1-22/+22
2017-04-11Fix resources leaks: CatalogDatabaseGary Wu1-22/+22
Change-Id: I3274dc7a64637cd7cf18d705258c0fc4985171ee Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11Simplify MsoHeatEnvironmentParameter methodsGary Wu1-12/+3
Change-Id: I199008128f28903ea28ecfba437511c4c4a6c8e7 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-11[MSO-8] Update the maven dependencyxg353y138-1640/+9787
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>
2017-04-10Remove unnecessary use of Calendar.getInstance()Gary Wu3-13/+7
Calendar.getInstance() is expensive and unnecessary when we only need the system time. This change replaces the uses of Calendar.getInstance() with System.currentTimeMillis(). Change-Id: I476f8850f5eb88d20cf7249cca5bb2e9b671b45a Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-03-13Update to version 1.1.0ChrisC10-33/+33
Change-Id: Id054e7a04ce88450c3cfe108c8259c4d287681c8 Signed-off-by: ChrisC <cc697w@intl.att.com>
2017-02-06Fix FileNotFoundException in SDNC adapterDeterme, Sebastien (sd378r)1-9/+9
When SDNC returns HTTP 4XX code, there could be a FileNotFoundException that prevents the adpater to send back the answer to BPMN engine. Change-Id: I0f8ef5eaf95140a5d044e294f882412c8aaa4b53 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-01-31Updating dependent artifact version in a few pom.xmlChrisC1-4/+4
Change-Id: I1b8d5e48da3ac4d1257214dab38706302d0acd10 Signed-off-by: ChrisC <cc697w@intl.att.com>
2017-01-31Initial OpenECOMP MSO commitChrisC438-0/+53155
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC <cc697w@intl.att.com>