aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-23Changed RequestFactory for Catalog DB clientBenjamin, Max (mb388a)20-173/+119
- 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-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-22Merge "removed problematic swagger dependency"Marcus Williams6-25/+40
2018-08-22Merge "updated ServiceInstance POJO"Marcus Williams1-3/+16
2018-08-22removed problematic swagger dependencyBenjamin, Max (mb388a)6-25/+40
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 "update install and configure document"Chuanyu Chen4-6/+291
2018-08-22update install and configure documentseshukm4-6/+291
Issue-ID: SO-675 Change-Id: I157d04c2bebf3771df22792d9c7856ffa99d8393 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-22Merge "sonar try-with-resources"Seshu Kumar M1-6/+6
2018-08-21Merge "openstack_adapter container fails to start"Marcus Williams3-10/+37
2018-08-21openstack_adapter container fails to startRob Daugherty3-10/+37
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-21updated ServiceInstance POJOBenjamin, Max (mb388a)1-3/+16
added new fields to pojo for groovy compatibility Change-Id: If88a9b51d506d6937bbd431c641410cc4ba07c9e Issue-ID: SO-878 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-21prod bug fixes august 12thBenjamin, Max (mb388a)7-0/+24
Set generalBuildingBlock variable on execution to pass heatStackId updates to the calling process. Pass CloudParams to SDNC on Create request Pass cloudParams to VNF Adapter on VF Module creation too. Change-Id: I523cde0edb1412fc12e1d7a13c91c77869b505fd Issue-ID: SO-875 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-21fixed sonar issue in WebSecurityConfigImpl.javaSandeep J1-1/+1
fixed the sonar issue in the file at line 39 Issue-ID: SO-874 Change-Id: Ic187fa42e81a503e99ff71ab9ab971c21aa82cd3 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-21Merge "Fix the structure in the doc for bpmn"Byung-Woo Jun16-5012/+148
2018-08-21Fix the structure in the doc for bpmnseshukm16-5012/+148
Issue-ID: SO-675 Change-Id: I2dc7bc2f77b191a60206678a6fe25bd2ef81f83c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-21Merge "Update the structure of the documentation"Byung-Woo Jun2-0/+4585
2018-08-21Update the structure of the documentationseshukm2-0/+4585
Issue-ID: SO-675 Change-Id: I1e17beb266beab4dd8f509762a6f9e7fdb18c1d4 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-08-21Add device resource bpmn process for ccvpn ucYulian Han10-149/+1198
Bug fix for ccvpn uc Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa70000013 Issue-ID: SO-683 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.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-20Docker naming conventionRob Daugherty2-11/+11
SO is not following the naming convention. Docker image names should have an "onap" prefix. The image names are changed as follows: so/catalog-db-adapter --> onap/so/catalog-db-adapter so/request-db-adapter --> onap/so/request-db-adapter so/sdnc-adapter --> onap/so/sdnc-adapter so/openstack-adapter --> onap/so/openstack-adapter so/vfc-adapter --> onap/so/vfc-adapter so/asdc-controller --> onap/so/asdc-controller so/bpmn-infra --> onap/so/bpmn-infra so/api-handler-infra --> onap/so/api-handler-infra A corresponding change is needed in INT's docker-manifest.csv. Change-Id: I024e42607d5fc57a712ad67709f241ee8720a670 Issue-ID: SO-870 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-20Merge "Site service process with location"Seshu Kumar M5-57/+130
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-16Site service process with locationElaine_Han5-57/+130
Delete real existing resources Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa70000006 Issue-ID: SO-683 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-08-15Merge "Cloud Config Updates"Rob Daugherty6-242/+331
2018-08-15Cloud Config UpdatesSmokowski, Steve (ss835w)7-242/+336
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-15Merge "Added vfModule scale out endpoint and validation"Rob Daugherty23-16/+715
2018-08-14Merge "Fix Dependency"Marcus Williams1-0/+5
2018-08-14Added vfModule scale out endpoint and validationBrittany Plummer (bp896r)23-16/+715
Issue-ID: SO-764 Change-Id: I6fc983ed6bc9d9c410406db1f2355c27e201b4f4 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2018-08-14Fix DependencySmokowski, Steve (ss835w)1-0/+5
Fix missing dependency in bpmn infra Issue-ID: SO-862 Change-Id: I72ceb0050e38610262192df980330341bc91e89a Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-13Merge "Fix for NullPointerException in Pnf"Marcus Williams2-11/+15
2018-08-13Merge "ParameterizedTypeReference now passed in"Marcus Williams4-11/+63
2018-08-13Merge "Update CatalogDB Logging"Marcus Williams19-891/+1005
2018-08-13Merge "Sonar issue Major"Marcus Williams1-11/+3
2018-08-13Update CatalogDB LoggingSmokowski, Steve (ss835w)19-891/+1005
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)72-447/+1649
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-13Merge "made required pom changes for cxf"Rob Daugherty6-12/+11
2018-08-13Merge "Casablana bugfixes"Rob Daugherty46-2665/+584
2018-08-13Fix for NullPointerException in PnfMichal Kabaj2-11/+15
- Fix: Since lambda expressions are evaluated lazily, Camunda flow results in an NPE being thrown if RuntimeService is not acquired as part of invoking thread. - Modified integration test CreateAndActivatePnfResourceTest to verify the fix. Change-Id: I683a8400c81b2edd9d55f2a1d4121a4fdbdf820c Issue-ID: SO-722 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-08-13Sonar issue MajorArindam Mondal1-11/+3
Issue-ID: SO-852 Change-Id: Ia0d58c52884abdd1f752dc6671d315b8516812e6 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-08-11Merge "added edge label support to A&AI client"Seshu Kumar M3-0/+55
2018-08-11made required pom changes for cxfBenjamin, Max (mb388a)6-12/+11
cxf 3.2.5 also requires us to move to javax.ws.rs-api 2.1 javax.ws.rs-api 2.1 is fully backwards compatible with 2.0 it will not be a problem with our other dependencies Issue-ID: SO-850 Change-Id: I2a6d9c5d6fb9025de8e5b4a00788275d7cc496a1 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-10Handle special aai case betterBenjamin, Max (mb388a)7-49/+219
corrected error handling in aai client for service instances updated the exception logic for si's that are not found adhere to mapNotFoundToEmpty in special case Issue-ID: SO-851 Change-Id: I3843733553143dae046c1ae944a3bfd71ac5170c Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-10added edge label support to A&AI clientBenjamin, Max (mb388a)3-0/+55
you can now specify an edge label when connecting two objects Issue-ID: SO-849 Change-Id: I851d523c271823911cdc344ac8c28beec993cb09 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-10Casablana bugfixesBenjamin, Max (mb388a)46-2665/+584
updated mock in unassignnetworkbbtest instead of base added mock to extract pojos method in unassignnetwork Return gBuildingBlockExecution from calls to VnfAdapter subprocess Correct JUnit data to expect modelInfoVfModule Enable Spring Security for logging of unauthorized/bad credentials errors Fix handling of a case of no VF Modules in a VNF resource. fix populating lookupKeyMap with resource ids removed unnecessary test resources Issue-ID: SO-848 Change-Id: Id89f075dcac4042bf8fb1e207e66d289d079171f Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-10Merge "Fix Error Scenario"Rob Daugherty4-1326/+1348