summaryrefslogtreecommitdiffstats
path: root/adapters/mso-vfc-adapter
AgeCommit message (Collapse)AuthorFilesLines
2018-11-29vfc adapter authentication bug fixYulian Han2-2/+53
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064414 Issue-ID: SO-1256 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-11-24use config value instead hard code of urlYulian Han1-8/+11
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064411 Issue-ID: SO-1249 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-09-12Improve test coverage for requestdbclientBenjamin, Max (mb388a)1-2/+1
RequestsDbClient Junits and some fixes for RequestsDbClient Change-Id: Icc2185030220d7bf973be5a23a51b6b5e313a360 Issue-ID: SO-1033 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-10sparate beans and repositoriesBenjamin, Max (mb388a)1-0/+5
Seperate out Beans and repositories for RequestDB Change-Id: I67d6597d580e9828b6bb8faafaea7e09cc6467c0 Issue-ID: SO-999 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-10Merge "added generic fabric support to SO"Rob Daugherty1-1/+1
2018-09-10Merge "fixed sonar issue in in VfcAdapterRest.java"Byung-Woo Jun1-6/+7
2018-09-10fixed sonar issue in in VfcAdapterRest.javaSandeep J1-6/+7
fixed sonar issue as detailed in SO-991 Issue-ID: SO-991 Change-Id: I016f1db14c5dd03f9b9bb872c16a221168c2d628 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-10fixed sonar issue in MSOVfcApplication.javaSandeep J1-4/+3
fixed sonar issue as detailed in SO-990 Issue-ID: SO-990 Change-Id: Ie27a1040d64b53b699a14cae95e5641a70c18ec0 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-08added generic fabric support to SOBenjamin, Max (mb388a)1-1/+1
Fix Autoincrement of ID field in table Fix accidental removal of method Update usage of requestdb client removed unused imports in common tasks and test Fix broken branch, have unit tests pass references the Epic branch Fix broken branch from compiling committing classpath for vfc adapter cause its not going away added in the fail case for when there are no profiles removed second set of adapters in application test yml removed double adapters in request db application test added jpa repo dependency to the so bpmn folder pom add creation timestamp column to the table added in null checks for Config returned from policy switched to string in requestprocess with jenerate switched to string in requestprocess with jenerate updated aai version in common pom to 605 from 591 renamed the db scripts for flyway sync to register added endpoint to application test yml for failing test ... Change-Id: I800f837ea75d7cdff740dc3a387e4d7654cfd085 Issue-ID: SO-972 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-04Merge "fixed sonar issue in VfcAdapterRest.java"Byung-Woo Jun1-6/+8
2018-09-04Merge "fixed sonar issue in JsonUtil.java"Byung-Woo Jun1-5/+7
2018-09-03fixed sonar issue in RestfulUtil.javaSandeep J1-3/+7
fixed sonar issue detailed in SO-951 Issue-ID: SO-951 Change-Id: Ic4a086f339187a6c9d802d5ea09acd0c4416e7c9 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03fixed sonar issue in JsonUtil.javaSandeep J1-5/+7
fixed sonar issue detailed in SO-950 Issue-ID: SO-950 Change-Id: Ic8089706054c785d4ef31957617b44222ab0030f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03fixed sonar issue in VfcAdapterRest.javaSandeep J1-6/+8
fixed sonar issue detailed in so-949 Issue-ID: SO-949 Change-Id: I48b36854fa7e20c3c9e9958cdf6c7c107d0cf58a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-31Update LoggingSmokowski, Steve (ss835w)1-1/+1
Add CXF interceptor for SOAP based logging Clean up extra logging statements Add UT to ensure MDC properly populated Change package name on Jax-RS Filter to be more accurate Issue-ID: SO-947 Change-Id: I3a2afc58de3bf370675658ce3d19cf899b90def7 Change-Id: I3a2afc58de3bf370675658ce3d19cf899b90def7 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-24request db access converted to restBenjamin, Max (mb388a)2-1/+5
[MSO-5031]_updated_JUnits_to_assert_request_body_for_requestDb_client Marking JPARepositories as Remote Rest repositories for TenantIsolationRunnable class | Minor refactoring Add request DB Config to ATT specific ASDC controller test yaml Adding requestDB Endpoint to yaml so as to pass the tests of asdc controller Adding requestDB Endpoint to yaml so as to pass the tests Adding requestDB Endpoint to yaml so as to pass the tests Handling the build failure due to mock mismatch Handling the build failure due to conflicting beans and additional minor refactoring Handling the build failure due to conflicting beans Adding RequestDB endpoint to yaml files for running tests Removing non-entity classes from ClassURLMapper class Marking JPARepositories as Remote Rest repositories for TenantIsolationRunnable class | Fixing minor Bug Marking JPARepositories as Remote Rest repositories for TenantIsolationRunnable class | Fixing junits Marking JPARepositories as Remote Rest repositories for TenantIsolationRunnable class | Fixing getMultipleOperationalEnvServiceModelStatus Marking JPARepositories as Remote Rest repositories for TenantIsolationRunnable class | Fixing Junits Marking JPARepositories as Remote Rest repositories for RequestsDBHelper Marking JPARepositories as Remote Rest repositories for TenantIsolationRunnable class | Moving RequestsDbClient to requestdb package Marking JPARepositories as Remote Rest repositories for TenantIsolationRunnable class | Fixing Junits Marking JPARepositories as Remote Rest repositories for TenantIsolationRunnable class | Initial Checkin Change-Id: I4053919e98afb8db962511be0a3318b1bf8af88a Issue-ID: SO-903 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-07Upgrade CXFSmokowski, Steve (ss835w)1-3/+3
Upgrade to latest version of CXF for Security Report Issue-ID: SO-807 Change-Id: I7f61fa3fd5f8a41c0654dd03314f0b6f4835b100 Change-Id: I7f61fa3fd5f8a41c0654dd03314f0b6f4835b100 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-03Fix JunitSmokowski, Steve (ss835w)20-211/+520
Junit was using an illegal http error code Issue-ID: SO-793 Change-Id: Ica36a5e22f32680710da649eb0dbfe5cac93b93c Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)52-1167/+1027
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-31Sonar major issuesSumapriya Sarvepalli1-4/+4
Replace with a single equalsIgnoreCase call Sonar Link: https://sonar.onap.org/project/issues?assigned=false&fileUuids=AWHCr-EdEU5FCDfKtlun&id=org.onap.so%3Aso&open=AWHCr-dlEU5FCDfKtmL0&resolved=false&severities=MAJOR Location: src/main/java/org/openecomp/mso/adapters/vfc/util/RestfulUtil.java Line No: L110 L115 L120 L124 Change-Id: I36a727a5acf6a911e3f9ad4ca8b548b4c7f1f732 Issue-ID: SO-776 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-05-24Replace printStackTrace with usage of loggerMichal Korman1-1/+0
Change-Id: I648e5a25337beca1f8c483ba6e5359d245e237d3 Issue-ID: SO-642 Signed-off-by: mkorman <michal.korman@nokia.com>
2018-05-23Merge "use space character instead tab characters"Seshu Kumar M1-59/+59
2018-05-23Merge "add scale function in VfcAdapterRest.java"Seshu Kumar M1-0/+27
2018-05-23add scale function in VfcAdapterRest.javaguochong1-0/+27
Issue-ID: SO-634 Change-Id: I57cc8f3e54de0fa02a437112aaa478b742c1ab9f Signed-off-by: guochong <guochong@chinamobile.com>
2018-05-23use space character instead tab charactersYulian Han1-59/+59
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0643f8 Issue-ID: SO-632 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-05-22createe2einstance status is processingYulian Han2-69/+66
but progress is 100 for wrong opertype Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f0643f6 Issue-ID: SO-632 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-05-04Fix progress update for VFC resourcessubhash kumar singh1-0/+8
Fix progress update for VFC resources. Change-Id: Ibd7d8fb3a399ae2b40ca82e459a7e47c05cbac6a Issue-ID: SO-422 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-04-26Remove operation status set in api-handlerc001491071-2/+0
Remove operation status set in api-handler Change-Id: I579d25044130b0701231c0a2d42534e8c63e3ebd Issue-ID: SO-587 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-04-23Sonar-Critical Bug FixingAS004650591-1/+1
File:RestfulUtil.java Line:L85 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:E2EServiceInstances.java Line:L263 L1059 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:OrchestrationRequests.java Line:L343 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:ASDCConfiguration.java Line:L286 L378 SonarLink: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:ResourceInput.java Line:L287 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:ResourceRecipeRequest.java Line:L136 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:ResourceRequestBuilder.java Line:L108 L214 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:CheckAaiForCorrelationIdDelegate.java Line:L70 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:AbstractSdncOperationTask.java Line:L359 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:DmaapClient.java Line:L62 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL File:HasAnnotationPropertyWithValueMatcher.java Line:L60 Sonar Link: https://sonar.onap.org/issues?assigned=false&projectUuids=AWHCr9eDWid2ybiDeORt&resolved=false&rules=squid%3AS1166&severities=BLOCKER%2CCRITICAL Change-Id: Ic168a118790c31850a9f32f98465be5d52b8c96f Issue-ID: SO-581 Signed-off-by: AS00465059 <AS00465059@techmahindra.com>
2018-04-20Update create flow for E2E servicec001491072-1/+14
Update create generic flow for E2E service Change-Id: I7f5c912348ce0d0ee9035aa3a5e34979ee14b247 Issue-ID: SO-583 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-04-08Modify readme of VFC Adapterc001491071-0/+1
Modify readme of VFC Adapter Change-Id: I37be151a5758b5fad6825d9b3c1fe40f9acb05cb Issue-ID: SO-420 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-03-28support manual scale for NSguanwenyao9-1/+424
Issue-ID: SO-423 Change-Id: I752e096806ec513250a8fb1bf51a2ed57fb05f6e Signed-off-by: guanwenyao <guanwenyao@chinamobile.com>
2018-03-22mprove code coveragesubhash kumar singh11-0/+661
Improve code coverage. Change-Id: Id7f710b6f535c2488cfd55e2f689caa9903fe4ca Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-14Merge "Adding Junit"Seshu Kumar M1-0/+42
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty7-383/+416
This is code from AT&T's 1712 and 1802 releases. Change-Id: Ie1e85851e94bc66c4d9514a0226c221939531a04 Issue-ID: SO-425 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-14Adding JunitSumapriya1-0/+42
Adding Junit for: ApplicationException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so.adapters%3Amso-vfc-adapter%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Fadapters%2Fvfc%2Fexceptions%2FApplicationException.java Change-Id: I4a65874b63aa98aacbaabf6961c89ec500dc85d9 Issue-ID: SO-479 Signed-off-by: Sumapriya <SS00493505@techmahindra.com>
2018-03-13Merge "Remove redundant type cast"Seshu Kumar M2-4/+4
2018-03-10Remove redundant type castMunir Ahmad2-4/+4
Change-Id: Ie00d5ec5a4677c99a9a689bf18a85055902f6384 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-09Remove unnecessary simicolon from all java classesMunir Ahmad1-1/+1
Change-Id: I5a320c606ea3e0c47efa6d84e8b0cc1ab40f3b70 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-07Merge "Remove redundant catch clause"Rob Daugherty1-6/+1
2018-03-06Remove redundant catch clauseMunir Ahmad1-6/+1
Change-Id: Ib26f47171384125847a1b31bc1a958b50d0bba70 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Fix javadocMunir Ahmad4-5/+4
Change-Id: Iddc39df32089e1a37c04d089522ead295a037118 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-22Port SO artifacts to ONAP folder structureArthur Martella1-6/+6
Change-Id: Ib7aea4df7e6a31cf5e1e6513b89bed6f878537af Issue-ID: SO-372 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-02-07Get Msb Ip from env parameterc001491071-8/+15
Get Msb Ip from env parameter instead of config file. Change-Id: I86e1664ffb4f817d70631f870c49a773bf04cc04 Issue-ID: SO-410 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2018-01-29Sonar:MajorSumapriya Sarvepalli1-1/+1
The diamond operator (<>) should be used NsParameters.java:L38 Issue-ID: SO-392 Sonar Link: https://sonar.onap.org/issues/search#resolved=false|severities=MAJOR|rules=squid%3AS2293|assignees=__me__ Location:src/main/java/org/openecomp/mso/adapters/vfc/model/NsParameters.java Change-Id: I12ec3ceb4b7da8c5cccc0e01205addce6c2c0d1e Signed-off-by: Sumapriya Sarvepalli <SS00493505@TechMahindra.com>
2018-01-22Add mso.vfc.propertiesc001491071-1/+1
Add mso.vfc.properties config file Change-Id: Ic7b8d75d9e10d8ce284a98e76459d47edcbb697f Issue-ID: SO-383 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
2017-12-13Reduce complexity of HealthCheckUtilskurczews1-1/+1
* Split bulk conditionals * Split health checks to separate methods * Fix minor issues Issue-ID: SO-353 Change-Id: Ib6298bc488a94aa4fbb253e3894532708547533d Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2017-12-01Bump minor versionJessica Wagantall1-1/+1
Bump minor version in preparation for Amsterdam branching. Change-Id: Ib72ca9cab2782a4fee15fff8f0653f0c53ad9f71 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-16changed artifact versionseshukm1-1/+1
IssueId: SO-346 Change-Id: I4bd910032baa26c2aa154d3860bf4d34ecf7d9dd Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-11-14Fix Update Create Resource Status Errorc001491071-1/+1
Fix Update Create Resource Status Error Change-Id: I230c7986b72e27e4c59fbeb129c1b39bb500a86b Issue-ID:SO-337 Signed-off-by: c00149107 <chenchuanyu@huawei.com>