aboutsummaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-08-22Merge "sonar try-with-resources"Seshu Kumar M1-6/+6
2018-08-21openstack_adapter container fails to startRob Daugherty2-9/+35
The reported problem occurs because the openstack-adapters app is attempting to do a migration on top of a migration already performed by the catalog-db app. I'm adding these options to flyway in openstack-adapters: baseline-on-migrate: true validate-on-migrate: false Another issue is that the java-based CloudConfig migration class was looking for CloudConfig data only in the application.yaml file in the classpath. It was not looking for CloudConfig data in the override file. I've changed this logic to look in the override file first and then in application.yaml. Ideally, these sources would be merged, but I don't see a reasonable way to do it. Change-Id: I7ba07c1f8f00b4c628e825393ee31502950fe592 Issue-ID: SO-868 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-21sonar try-with-resourcesArindam Mondal1-6/+6
Issue-ID: SO-871 Change-Id: I151ea890755c0a9dd9e7f5df1ed807a660fb0c2f Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-08-17Fix VfModuleCustomizationToVduMapperTestMichal Kabaj2-158/+146
- Moved VfModuleCustomizationToVduMapperTest to mso-openstack-adapters module, where the tested implementation actually is. - Fixed and reimplemented tests Change-Id: If5b4a29be22b7cbb59642eff78e471f294a512a7 Issue-ID: SO-865 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-08-15Merge "Cloud Config Updates"Rob Daugherty2-3/+122
2018-08-15Cloud Config UpdatesSmokowski, Steve (ss835w)2-3/+122
Update Cloud Config to be writable over REST API. This allows easier environment setup, so sql scripts are not required Issue-ID: SO-862 Change-Id: I70931f09ff2600a15094199f46fc8d9ac36403f4 Change-Id: I70931f09ff2600a15094199f46fc8d9ac36403f4 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-14Added vfModule scale out endpoint and validationBrittany Plummer (bp896r)1-0/+5
Issue-ID: SO-764 Change-Id: I6fc983ed6bc9d9c410406db1f2355c27e201b4f4 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2018-08-13Update CatalogDB LoggingSmokowski, Steve (ss835w)13-649/+690
Update CatalogDB Logging to remove MSO Logger, remove useless log lines, clean up minor sonar issues while working in the file Issue-ID: SO-847 Change-Id: Icab5d8cf2885d2193bb55f495b3230dde0f5af54 Change-Id: I2d2b2fa919074c439b6c9039aa7ed5e45a792781 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-13Cloud config database table supportBenjamin, Max (mb388a)62-1099/+1139
added cloud config database entities added cloud config repository converted existing cloud config class converted all code interacting with previous cloud config object created migration to automatically load cloud config properties from application.yaml Issue-ID: SO-854 Change-Id: Icf408e5d0fcabd1b7e97298963c555fae6964930 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-09Fix Ref DataSmokowski, Steve (ss835w)3-229/+0
Fix recipe reference data, add initial data setup script Issue-ID: SO-812 Change-Id: I9cbc45f7788fe7c5a74e15d45a9b82a55ddfe299 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-08Update Default RecipeSmokowski, Steve (ss835w)3-166/+258
Update default recipe data to be inserted after flyway baseline Issue-ID: SO-812 Change-Id: Icaab49127ebd184d2cf26397c71ca989ff68d468 Change-Id: Icaab49127ebd184d2cf26397c71ca989ff68d468 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-07Merge "Remove declaration of subclass exception"Seshu Kumar M1-1/+1
2018-08-07Upgrade CXFSmokowski, Steve (ss835w)4-16/+16
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-06Remove declaration of subclass exceptionAnisha Kumar1-1/+1
Removed declaration of exception TenantAlreadyExists since TenantAlreadyExists is a subclass of TenantException which is declared earlier. Having TenantAlreadyExists is superfluous since it is a subclass of another listed exception. Issue-ID: SO-666 Change-Id: Ic828f4f18b865767bde7d34630f31683d7d49503 Signed-off-by: Anisha Kumar <anishax.kumar@intel.com>
2018-08-06Merge "issue while persisting data"Marcus Williams1-1/+1
2018-08-06issue while persisting dataBenjamin, Max (mb388a)1-1/+1
Fixing issue while persisting data into the infra active requests table Changing a URL to make it more consistent Removing MSORequest Dependency from all classes but E2EServiceInstance rename the yaml configuration key to something which is already present in d2d Issue-ID: SO-790 Change-Id: I4535a13e2b86ee0eb8c4b0e34aa02f522c0c1a3a Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-06correct the issue in MsoVnfAdapterImplseshukm1-27/+29
Issue-ID: SO-729 Change-Id: I2b36cfdc706ea85e57e69dba569d026686065d3a Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-06Merge "Support for docker-compose in heat environment"Seshu Kumar M1-167/+166
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-08-03Support for docker-compose in heat environmentRob Daugherty1-167/+166
Enhanced the application startup script and renamed it. Removed unused files. Note that everything in catalog-db-adapter's afterMigrate.sql script has been commented out. It needs work to match the current schema. Change-Id: I7b738ca13599476b9720bdb4a9aebaf3a9f86736 Issue-ID: SO-710 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-02update infra apihandler to utilize restBenjamin, Max (mb388a)1-0/+57
rather than direct access Change-Id: I0cd3d3902e32249263298f91263401ce05c34be3 Issue-ID: SO-790 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-02Resolve Sonar Blocking issuesSmokowski, Steve (ss835w)1-13/+18
Issue-ID: SO-788 Change-Id: I4496ef16c56c980a81031ad01fcbb1524d135ea8 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-01Merge "Remove logging that is not needed"Marcus Williams1-81/+10
2018-08-01Remove logging that is not neededSmokowski, Steve (ss835w)1-81/+10
Issue-ID: SO-781 Change-Id: Ia91a52692e61f1ffa3f0a4074017fa0156d4276c Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-01Merge "Add additional reference data"Marcus Williams3-44/+167
2018-08-01Add additional reference dataSmokowski, Steve (ss835w)3-44/+167
Change-Id: Ie9c773f0e4d4de95cba0541e16d131975ecbce10 Issue-ID: SO-708 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-01Remove unused import statementsEthan Hampton1-3/+0
Issue-ID: SO-666 Change-Id: I3775d25c0328807b083725c61da015364e59f2be Signed-off-by: Ethan Hampton <ethanx.hampton@intel.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)875-28132/+41103
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-07-31Merge "Reorder modifiers"Seshu Kumar M1-3/+3
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-07-27Reorder modifiersAnisha Kumar1-3/+3
Reordered the modifiers to be "public static final" instead of "public final static" in order to comply with Java Language Specification. Issue-ID: SO-666 Change-Id: I70a9cfcf454ce79dcb3940ccc24750416462c225 Signed-off-by: Anisha Kumar <anishax.kumar@intel.com>
2018-07-26Sonar major issuesSurendra Reddy Katam1-1/+1
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.so%3Aso&open=AWJqzmdHRGy6eclHEzV_&resolved=false&rules=squid%3AS2293 Location: adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/MsoVnfPluginAdapterImpl.java Line No: 633 Change-Id: I788bf4dd5b7e5f586ef9dc5dc2ddda05508be9d3 Issue-ID: SO-758 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-07-25Merge "Replace printStackTrace with usage of logger"Seshu Kumar M2-3/+1
2018-07-25Merge "Replace with the diamond operator"Seshu Kumar M1-1/+1
2018-07-25Merge "Sonar major issues"Seshu Kumar M1-10/+0
2018-07-25Replace with the diamond operatorSS004935051-1/+1
AriaVduPlugin.java Sonar Link: https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.so%3Aso&open=AWK-9MGVwGn37JfbmLXt&resolved=false&severities=MAJOR Location:src/main/java/org/openecomp/mso/aria/AriaVduPlugin.java Line No: L126 Change-Id: I186e7dfef1ddf406036f902d1f04b4677652b91f Issue-ID: SO-739 Signed-off-by: SS00493505 <ss00493505@techmahindra.com>
2018-07-25Merge "Sonar major issues"Seshu Kumar M1-1/+1
2018-07-25Sonar major issuesSurendra Reddy Katam1-10/+0
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.so%3Aso&open=AWHCr-Z9EU5FCDfKtmIA&resolved=false&severities=MAJOR Location: adapters/mso-sdnc-adapter/src/main/java/org/openecomp/mso/adapters/sdnc/notify/SDNCNotifyResource.java Line No-177 Change-Id: I3fd12f01315a2ead0f7f676caeb88d9d9b207a43 Issue-ID: SO-753 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-07-24Sonar major issuesSumapriya Sarvepalli1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?id=org.onap.so%3Aso&open=AWHCr-Y0EU5FCDfKtmG_&resolved=false&severities=MAJOR Location: src/main/java/org/openecomp/mso/adapters/sdnc/SDNCAdapterService.java Line No: L58 Change-Id: I5665a41ea85a5464d1c5fb208f20be725fe044d7 Issue-ID: SO-738 Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
2018-07-24Sonar Major issuesSurendra Reddy Katam1-1/+0
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.so%3Aso&open=AWHCr-Y0EU5FCDfKtmG-&resolved=false&severities=MAJOR Location: adapters/mso-sdnc-adapter/src/main/java/org/openecomp/mso/adapters/sdnc/SDNCAdapterService.java Line No-32 Change-Id: I6d80143d6268a05c34128fba3999b73abf8c376e Issue-ID: SO-737 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-07-23Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.so%3Aso&open=AWHCr-fNEU5FCDfKtmNn&resolved=false Location: adapters/mso-network-adapter/src/main/java/org/openecomp/mso/adapters/network/BpelRestClient.java Line No-238 Change-Id: I307d85dbb1c3e4c7dd55e28a70c75392eb9eb12e Issue-ID: SO-736 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-07-20Merge "Remove tests which do not test anything"Seshu Kumar M2-133/+0
2018-07-13add junit for VfModuleCustomizationToVduMapperLukasz Muszkieta3-40/+185
Change-Id: Ia63f7ababdb7f51a89da4713ae29c1297e7bd746 Issue-ID: SO-718 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-05-30Add space to 'Tunnel XConn'Arthur Martella1-2/+2
Adding space to change TunnelXConn to Tunnel XConn so that SO will match SDNC. Change-Id: I2a752fd1c6b3ed115c8a2dafbd47e3ce24f49a57 Issue-ID: SO-650 Signed-off-by: Arthur Martella <am153x@att.com>
2018-05-24Remove tests which do not test anythingBogumil Zebek2-133/+0
Change-Id: Ic94ee5f4fe8a4da118a98377106964f823bd3ace Issue-ID: SO-645 Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
2018-05-24Replace printStackTrace with usage of loggerMichal Korman2-3/+1
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>