summaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-08-30fixed sonar issue in MsoTenantAdapterImpl.javaSandeep J1-12/+15
fixed sonar issue detailed in SO-939 Issue-ID: SO-939 Change-Id: I60e9737d34cbbc172d9c6c387862fe5468351a58 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30Merge "fixed sonar issue in BPRestCallback.java"Byung-Woo Jun1-9/+12
2018-08-30Merge "fixed sonar issue in SDNCConnector.java"Byung-Woo Jun1-7/+10
2018-08-30Merge "fixed sonar issue in SDNCRestClient.java"Byung-Woo Jun1-12/+16
2018-08-30Merge "fixed sonar issue in SDNCCallBackAdapterService"Byung-Woo Jun1-5/+5
2018-08-30Merge "fixed sonar issue in SDNCAdapterService.java"Byung-Woo Jun1-1/+1
2018-08-29fixed sonar issue in SDNCConnector.javaSandeep J1-7/+10
fixed sonar issue as detailed in SO-935 Issue-ID: SO-935 Change-Id: Ifdde63670b78acfa8ba84a0130dcd4f4f4649e72 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-29fixed sonar issue in BPRestCallback.javaSandeep J1-9/+12
fixed sonar issue as detailed in SO-934 Issue-ID: SO-934 Change-Id: I6f87ea6c61e81e0241702b20bcc2688a4a9d5d6a Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30fixed sonar issue in SDNCRestClient.javaSandeep J1-12/+16
fixed sonar issue detailed in SO-933 Issue-ID: SO-933 Change-Id: I8d522f51689568c19da491f0c7272fc9551df9d1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30fixed sonar issue in SDNCCallBackAdapterServiceSandeep J1-5/+5
fixed sonar issue mentioned in jira ticket no SO-932 Issue-ID: SO-932 Change-Id: I9493b09d12446daed1cf43801308d13052232452 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30fixed sonar issue in SDNCAdapterService.javaSandeep J1-1/+1
fixed sonar issue mentioned in jira SO-914 Issue-ID: SO-914 Change-Id: I4893bce5dbdd5e0bc524dc0ead0dc41f246afca4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-30fixed sonar issue in R__CloudConfigMigration.javaSandeep J1-3/+1
fixed sonar issues mentioned in Jira ticket SO-931 Issue-ID: SO-931 Change-Id: I31ec20e4958a11f25050eadd42ce0edc56e042d4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-29Merge "fixed sonar issues in NetworkAdaptorNotify_Service"Byung-Woo Jun1-3/+5
2018-08-29Merge "fixed sonar issue in SDNCAdapterService.java"Byung-Woo Jun1-4/+7
2018-08-29fixed sonar issue in SDNCAdapterService.javaSandeep J1-4/+7
resolved sonar issue desribed in Jira id: SO-914 Issue-ID: SO-914 Change-Id: Icc79a36d665ca950ddcd289dd239b8aa3360db37 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-29fixed sonar issues in NetworkAdaptorNotify_ServiceSandeep J1-3/+5
Reorder the modifiers to comply with the Java Language Specification Issue-ID: SO-911 Change-Id: I74ebc31679f1e8169c07b2f42b9f7e86d4134621 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-28Converted ServiceInstances to catalog db clientBenjamin, Max (mb388a)5-39/+337
- Fixed issues related to created Date Format, enabled required Test - Fixed issues related to queryParam names, enabled required Test - Fixed issues related to queryParam names - Improving coverage for catalogDbClient by another 10% (its 78% now) - Improving coverage for catalogDbClient by another 10%. There is a failing test which will be explored shortly - Improving coverage for catalogDbClient, adding some tests and their basic asserts - merging with dev and resolving the compilation issue arising due to it - Removing some TODO introduced in code for incremental pushes - Fixing failing unit test cases with the build - Refactoring done for code change in catalogDBClient - merged changes with development branch - Modified unit tests for Catalogdb Client related code - Modified unit tests for Catalogdb Client related code - Fixed some of the repository code for retrieving single resource - Modified unit tests for Catalogdb Client related code - Modified unit tests for Catalogdb Client related code - Modified unit tests for Catalogdb Client related code - Removed @Param from repositories and added -Parameters argument in maven compile plugin ... Change-Id: Ieeb7bcc21a573465e485fedfbbe771c8b89db3f8 Issue-ID: SO-925 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-27fixed sonar issues in MsoRequestsDbAdapterImplSandeep J1-3/+7
fixed sonar issue: Define a constant instead of duplicating literal 3 times. Issue-ID: SO-913 Change-Id: I12e2d60d9841cf3600ac7e4c822027c9af19c3b6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-27Merge "fixed sonar issue in QeruServiceNetworks.java"Seshu Kumar M1-1/+2
2018-08-27Merge "fixed sonar issue in CatalogDbAdaptorRest.java"Seshu Kumar M1-2/+2
2018-08-27Merge "fixed sonar issue in MsoNetworkAdapterAsyncImpl"Rob Daugherty1-5/+8
2018-08-27Merge "fixed sonar issue in R_CloudConfigMigration.java"Rob Daugherty1-2/+2
2018-08-27Merge "request db access converted to rest"Rob Daugherty4-1/+13
2018-08-26fixed sonar issue in MsoNetworkAdapterAsyncImplSandeep J1-5/+8
fixed sonar issues Issue-ID: SO-909 Change-Id: If2a1ef898dfba15420f5deb245809cc8eeb6bdce Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-27fixed sonar issue in CatalogDbAdaptorRest.javaSandeep J1-2/+2
removed unsused imports Issue-ID: SO-908 Change-Id: Ib730929e8f255274bf85124ca7a8fcc31b95b051 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-27fixed sonar issue in QeruServiceNetworks.javaSandeep J1-1/+2
removed unused import at line 31 Issue-ID: SO-907 Change-Id: If7cbb9ab074a6e7477dbf1b3eff02f372b75b59f Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-27fixed sonar issue in R_CloudConfigMigration.javaSandeep J1-2/+2
fixed sonar issue: Remove the declaration of thrown exception 'com.fasterxml.jackson.core.JsonParseException' which is a subclass of 'java.io.IOException: line 81 Issue-ID: SO-906 Change-Id: If18c2b6e0769d95dc56c9dbac5c1d5219e95955c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-24Merge "Created Ref Data tbl for controllerSelection"Marcus Williams3-1/+11
2018-08-24request db access converted to restBenjamin, Max (mb388a)4-1/+13
[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-24retired flows no longer in useBenjamin, Max (mb388a)1-0/+8
corrected spelling for migration sql file delete 1802-style flow, MSO to create l3network in AAI Revert "retire 1802-style flow, MSO to create l3network in AAI" retire 1802-style flow, MSO to create l3network in AAI Change-Id: I0a63d086891565c2346424a3d1b49ce974f5db24 Issue-ID: SO-901 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-23Created Ref Data tbl for controllerSelectionPrema Bhatt3-1/+11
RD: I rebased this and fixed the unit tests. Issue-ID: SO-763 Change-Id: Ie5f6a708cffbc70a9481afd35db3047fe44cb088 Signed-off-by: Prema Bhatt <pb6115@att.com> Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-23Merge "Changed RequestFactory for Catalog DB client"Rob Daugherty18-164/+112
2018-08-23Merge "Renamed migration from version 4.2 to 4.3"Rob Daugherty1-1/+1
2018-08-23Changed RequestFactory for Catalog DB clientBenjamin, Max (mb388a)18-164/+112
- Missed some files, the repository isn't required now that we dont fetch the identity service directly - Fixing review comments and removing the unused import - Fixing the build :) Now that cloudSite has a 1-1 relationship with cloudidentity, there shouldn't be a need to query the identity on its own unless the site is missing Refactored some code to use site to fetch identity as a composition - Changing the catalogDb client to use HttpComponentsClientHttpRequestFactory instead of SimpleClientHttpRequestFactory, the later would lead to a IOException (FileNotFoundException specifically) whenever a 40X type of a response code is returned from the spring rest endpoint. Adding some tests for the catalogDbClient which earlier got missed in handover. Also fixing another issue with cloudSite repository which was not fetching data correctly. Fixed a repository which was added initially but later the same went missing (Not sure how) Change-Id: I72506865c4c5f7fd07a6031c146a4aba1a96c2c8 Issue-ID: SO-892 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-23Renamed migration from version 4.2 to 4.3Benjamin, Max (mb388a)1-1/+1
renamed migration from 4.2 to 4.3 to avoid collision Change-Id: Ie7ecb089555c5150d3e66d9e6de62f8228d1d373 Issue-ID: SO-891 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-23fix sonar critcal issues in R_CloudConfigMigrationSandeep J1-4/+8
added specific excpetions instead of generic ones Issue-ID: SO-886 Change-Id: Ib0f2e655a6e58b8dc142233679a53c15b373f117 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-23fixed sonar issue in CatalogQueryExceptionCommonSandeep J1-1/+2
fixed sonar issue: removed unused import Issue-ID: SO-883 Change-Id: Ie9117601c7d64974067b5ab81ccb8a58d4a2fdc5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-23Merge "fixed sonar issues in MsoNetworkAdapterAsyncImpl"Byung-Woo Jun1-8/+9
2018-08-23Merge "resolved sonar issue in QueryServiceMacroHolder"Byung-Woo Jun1-4/+6
2018-08-23fixed sonar issues in MsoNetworkAdapterAsyncImplSandeep J1-8/+9
removed useless assignment of local variable "sMap" at lines 646,664,684. And, also removed keyset with entryset at line 650 Issue-ID: SO-882 Change-Id: I31a1a0c2c7aa4d65466125bda6948765326994eb Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-23resolved sonar issue in QueryServiceMacroHolderSandeep J1-4/+6
removed the commented lines of code as per issue raised by SONAR Issue-ID: SO-881 Change-Id: Ic25a7418df06c7b7da2c60bec9dc4adbc97d902b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-22added unit test for classBenjamin, Max (mb388a)2-10/+259
Adding unit tests for the infraactiverepositorycustomcontroller and fixing an issue found while adding the test Change-Id: Ic177f75c995ee789902dc9ad1b7df0e997b998c9 Issue-ID: SO-876 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-22removed problematic swagger dependencyBenjamin, Max (mb388a)1-1/+1
removed swagger dependency which was causing issues Change-Id: I1e840f7ea9a45547c2562ce628c38f7c7e065e65 Issue-ID: SO-880 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
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>