aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters
AgeCommit message (Collapse)AuthorFilesLines
2019-03-18Removed MsoLogger classr.bogacki15-233/+232
Bye bye MsoLogger class. Extracted constants to separated classes. Fixed imports. Change-Id: I7c8e0527e7dbd097d3ea93b9dab279354652da47 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-14Reduced content of MsoLoggerr.bogacki7-49/+15
Cleaned java code dependencies for 'setLogContext' and 'getServiceName' methods from MsoLogger. Fixed imports. Change-Id: I33251c837088ce580ffa1c44e69766c77283004b Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-12Merge "DB Schema Change for SO Catalog"Steve Smokowski1-0/+2
2019-03-11DB Schema Change for SO Catalogeeginux1-0/+2
Support PNF and VNF with CDS Meta data Add new table for PNF resource/resource customization add support for blueprint name/version https://jira.onap.org/browse/SO-1606 Issue-ID: SO-1606 Change-Id: I6b8a438be1139859d1902197816dbb8cbcfc095f Signed-off-by: eeginux <henry.xie@est.tech>
2019-03-11Cleaned up MsoLogger classr.bogacki7-67/+0
Removed setServiceName method from MsoLogger. Cleaned up unused methods from MsoLogger. Change-Id: I1fe033ed25dda32c07693a5087bf65de3ecc229c Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-07Remove MsoLogger from 'mso-openstack-adapters'r.bogacki6-919/+1024
Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: I940d038a3787b866cf928b6ed2af85851b03e90b Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-06improvements to audit inventory featureBenjamin, Max (mb388a)13-98/+324
Adjust test data to add tenant mapping Remove unused unit test already renamed Update logic, to pass hostname not pservername remove unused file that has been refactored Add project to ignore, remove class Address issues in comments on pull request Remove logging that is not needed, used UPdate BPMN to use Boolean Value, change timings Adjust BPMN to not hit deadlock scenario put error message in execution before checking rollback - removed extra code for vnf resource processing found in onap environment. Fix improper use of inclusive gateway causing deadlock Fix flakey unit tests from ONAP Remove qualifier on bean, as it breaks callbacks Adjust pom version of external camunda client Fix polling timers to be more reasonable Updated Junit test for delete vf module in onap. Changed auditInventoryNeeded variable to a boolean to prevent bpmn from erroring out in the event this variable is not found on the execution. Update logic to support writing of self link Change-Id: I2f784a0a58a09f303775282c9be6019031668570 Issue-ID: SO-1597 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01Merge "removed qualifiers that no longer exist"Steve Smokowski5-10/+0
2019-03-01Merge "audit poller is polling too fast"Steve Smokowski4-112/+62
2019-03-01removed qualifiers that no longer existBenjamin, Max (mb388a)5-10/+0
removed qualifiers that no longer exist in the code Change-Id: I5270b7d7dd1627066d5d5404910d0e9d355f2165 Issue-ID: SO-1588 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01audit poller is polling too fastBenjamin, Max (mb388a)4-112/+62
Fix version incompatibility in external task client Fix the openstack external task to poll slower Change-Id: I376366f4848afd1eb356f43b556b7de20961ba88 Issue-ID: SO-1587 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01vnf spin up gr api vnf s base module failsBenjamin, Max (mb388a)13-84/+84
map object representations of json back to json strings marshal all objects to json strings before sending all input params converted to Map<String, Object> Updated userParams map from HashMap<String, String> to Map<String, Object> as HashMap<String, String> userParams was causing VNF spin up to fail. Input json in Userparams was not accepted as a valid json format. Updated other files that were affected by this change. Change-Id: I0c00fc00c4c11b54ace4df7be8d5bfc80d41d130 Issue-ID: SO-1582 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-28Merge "Remove MsoLogger from 'mso-openstack-adapters'"Steve Smokowski9-709/+479
2019-02-28Remove MsoLogger from 'mso-openstack-adapters'k.kazak9-709/+479
Removed MsoLogger from adapters ('mso-openstack-adapters') Replaced MsoLogger with plain slf4j Refactored login output Fixed imports Change-Id: Id39453e1a7ec86271ffc1e7d1ce08bf413369a60 Issue-ID: LOG-631 Signed-off-by: k.kazak <k.kazak@samsung.com> Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-27Fix start upBenjamin, Max (mb388a)4-32/+12
corrected application properties Issue-ID: SO-1558 Change-Id: Ib768d7c72a64a11dbb08eea79c4c9a4f5fb970a6 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-26removed flyway from bpmn base yamlKalkere Ramesh, Sharan (sk720x)1-0/+4
Fix startup of catalog, request, bpmn and openstack Change-Id: I8e8222e410da58a62beed8cb184c90ebe73aea6c Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-26Merge "Remove MsoLogger from 'mso-openstack-adapters'"Steve Smokowski3-108/+117
2019-02-26Merge "changed to jdbcUrl and updated flyway for bpmn"Steve Smokowski2-2/+2
2019-02-26Remove MsoLogger from 'mso-openstack-adapters'k.kazak3-108/+117
Removed MsoLogger from adapters ('mso-openstack-adapters') Replaced MsoLogger with plain slf4j Refactored login output Fixed imports Change-Id: Ib9da84f659dcc57a374f9b684ce8fbf30e866d4d Issue-ID: LOG-631 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-02-26changed to jdbcUrl and updated flyway for bpmnKalkere Ramesh, Sharan (sk720x)2-2/+2
Fix startup of catalog, request, bpmn and openstack Change-Id: I5982857c610ae46aa8690764c4f6ef99240f5088 Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-26removed the duplicate BpelRestClientBenjamin, Max (mb388a)5-355/+4
removed the qualifier in the unit test that broke removed the test for bpel rest network test removed the duplicate BpelRestClient and added some logging Change-Id: I2c5007537ef51f36f0014e091a61804d6354d7d7 Issue-ID: SO-1570 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-21updated base yamls to properly connect to DBKalkere Ramesh, Sharan (sk720x)2-2/+1
Fix startup of catalog, request, bpmn and openstack Change-Id: I83dcd17d03c71301610ab2c8bbeb30142cc14303 Issue-ID: SO-1558 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2019-02-20Cleaned up Sonar issues in AuditStackServiceDatar.bogacki1-2/+3
Removed unnecessary imports. Removed unnecessary cast to "String". Change-Id: I8b14b0f53860edb656b38914941c44003a625037 Issue-ID: SO-1537 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-14fix issue where we attempt audit with no serversBenjamin, Max (mb388a)5-5/+53
fix issue where we attempt audit with no servers Change-Id: I47f76121c616bf65a5f8be73910adcc0d7088bdb Issue-ID: SO-1513 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-14Merge "cloud config migration from openstack to catdb"Steve Smokowski7-513/+4
2019-02-13Strip off TenantId from self link urlBenjamin, Max (mb388a)2-22/+33
Strip off TenantId from self link url Change-Id: I58ac9fe693059eb8cb93d85fb88604cb9c0a0db2 Issue-ID: SO-1502 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-08Remove resources that are not neutron networksBenjamin, Max (mb388a)2-2/+25
Remove resources that are not neutron networks Change-Id: Ie136895f95273e53f86201fe3b58a12fa27c8fe6 Issue-ID: SO-1486 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-04cloud config migration from openstack to catdbBenjamin, Max (mb388a)7-513/+4
remove the wait and sleep code in migration move cloud config migration from openstack to catdb Change-Id: Id887a37ce12665e5d8a604308ea251744529491c Issue-ID: SO-1461 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-04Clean up Unit tests for auditBenjamin, Max (mb388a)16-344/+342
Fix file names to adjust for case sensitivity Clean up Unit tests for audit Change-Id: I839b8a55d47c545cfd54c4c81eecda098b847fce Issue-ID: SO-1462 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-04Merge "add in a retry function for cloud config migration"Steve Smokowski1-1/+16
2019-02-01compare resources from openstack to aaiBenjamin, Max (mb388a)25-2/+2084
Address Review comments on pull request Update Unit test to have proper variable for testing update logic inside bpmn to reflect proper variable Update unit test to check property for audit Add flag to turn on and off audit behavior Add license headers, remove un-used files Update Building Block Tests and Activity Names Fix additional unit tests in so-bpmn-tasks layer Fix broken Junit Test, and correct Bug in if statement Add annotation to ignore class under test profile Additional bug fixes and unit tests for classes Add Additional JUNITS, add more sample data Add Openstack Audit functionality to Adapter Change-Id: I0492063271e991eefc608b56336a5cdf1d5a7778 Issue-ID: SO-1456 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-01add in a retry function for cloud config migrationBenjamin, Max (mb388a)1-1/+16
add in a retry function into cloud config migration Change-Id: Iee5dd2ece0262cc7087021b567d9661e0ef91d72 Issue-ID: SO-1457 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-28Merge 'origin/casablanca' into masterBenjamin, Max (mb388a)3-10/+9
Issue-ID: SO-1435 Change-Id: If065ef5c91e769452fd6701fa6c28a23b4bdf2b2 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-01-24bugfixes jan 24thBenjamin, Max (mb388a)9-15/+232
Fix null pointer exception when no requestParameters are specified Add configurable timer in ActivateVfModuleBB to delay call to SDNC activate - Use raw slf4j logger - use {} formatting Add configurable timer in ActivateVfModuleBB to delay call to SDNC activate - Use raw slf4j logger Add configurable timer in ActivateVfModuleBB to delay call to SDNC activate - removed unused references in test class Add configurable timer in ActivateVfModuleBB to delay call to SDNC activate Update PortGroup objects separately from the parent VCE object - restore setVariable calls back into vce object - they might be needed later. Update PortGroup objects separately from the parent VCE object - updated test class extra call to get PortGroups Update PortGroup objects separately from the parent VCE object - use PortGroup.getInterfaceRole() getter method instead of accessing field directly. Update PortGroup objects separately from the parent VCE object Added back required headers for tenant isolation. removed workflow exception from outmapping in execute Fix possible null ptr exception, fix to add braces. Default networkTechnology in Update as done in Create Fix failing junits, mapper force upper case nwtech update exception builder to properly throw exception error message supporting assign service instance a la carte as well adding in proper exception handling in network rest v1 add the unassign action to R macro data file Change-Id: Ide420514f81b8083b4c76c762c064de199624cf7 Issue-ID: SO-1424 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-22Fix CSAR distribution on CCVPN servicesubhash kumar singh1-4/+3
Fix db schema to allow CCVPN service witout heat artifacts. Change-Id: I4f79881a6a04f01f8984835eea88907a61c640db Issue-ID: SO-1407 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-01-17Change size for resource inputsubhash kumar singh1-3/+3
Change size for resource input. Change-Id: Ic6856e6baa2623867d0ae688c98ed24dbb245036 Issue-ID: SO-1400 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-01-15Sonar:CriticalManamohan Satapathy1-4/+4
ValetUpdateResponse.java:L37 Change-Id: I93db82c18cda553d3b1c78467d7c558a2787e7d8 Issue-ID: SO-1351 Signed-off-by: Manamohan Satapathy <MS00534989@techmahindra.com>
2019-01-12Merge "Re-enable Actuator for Springboot 2.0"Steve Smokowski1-3/+2
2019-01-12Merge "Service Proxy Consolidation"Steve Smokowski1-29/+23
2019-01-11Quality of Life logging improvementsBenjamin, Max (mb388a)1-1/+1
Remove invalid newline character in process name Quality of Life logging improvements Change-Id: I2193c08e365e847f6be144106a0b20aa7828497e Issue-ID: SO-1381 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-11Service Proxy ConsolidationBenjamin, Max (mb388a)1-29/+23
- Updated ServiceProxyResourceCustomization to remove the ID column - Removed setConfigurationResourceCustomization from serviceProxyResource since that relationship doesn't exist anymore - Updated ServiceProxy resource to remove the object dependencies between ServiceProxyCustomization and ConfigurationResourceCustomization - Removed the delete statement since this is causing the test to fail because the service table doesn't exist yet - Updated configuration_customization to drop the serviceProxyCustomization FK - Added migration script to consolidate the ServiceProxy and ServiceProxyCustomization into a single table and migrate the data. - Code changes to support consolidating the ServiceProxy and ServiceProxyCustomization table into a single table Change-Id: I1e49cb22c8b667f157dd1c349b5e36fd06236630 Issue-ID: SO-1380 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-11Re-enable Actuator for Springboot 2.0Benjamin, Max (mb388a)1-3/+2
Re-enable Actuator for Springboot 2.0 Change-Id: Icee67885d9bd26d6b6ff8a4fceb9add56926b0a8 Issue-ID: SO-1377 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-06Merge "Remove Swagger UI"Seshu Kumar M11-329/+0
2018-12-24update request input and sequence to DBsubhash kumar singh1-0/+4
Update request input and sequence to DB. Resource sequence has been added as new column in service table. Resource input has been added as new column in resp resource. Change-Id: I97c8227636f06692190a843a87178517db038bbd Issue-ID: SO-1248 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-12-14Either log or rethrow this exceptionShubhada Ramkrishna Vaze1-0/+1
Location:so\adapters\mso-openstack-adapters\src\main\java\org\onap\so\adapters\vnf\MsoVnfAdapterImpl.java Line No:2217 Change-Id: I4abe17029802aacb5ad2aae60e46980b2269e2ea Issue-ID: SO-1338 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
2018-12-10Merge "Fix cloud Migration to read update config property"Rob Daugherty1-1/+1
2018-12-10Merge "Fix App Yamls"Rob Daugherty1-2/+1
2018-12-07Fix cloud Migration to read update config propertyKalkere Ramesh, Sharan (sk720x)1-1/+1
Fix cloud Migration to read update config property Change-Id: I143f654b62c83aaf19b9c8bd076fb3878967f120 Issue-ID: SO-1299 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-12-05moved all ecomp.mso properties to org.onap.soKalkere Ramesh, Sharan (sk720x)3-51/+38
moved all ecomp.mso properties to org.onap.so Change-Id: I55bd57d1c1d1dca065575c03d3c0b8f83aa4594d Issue-ID: SO-1278 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-12-05Fix App YamlsSmokowski, Steve (ss835w)1-2/+1
Fix application yamls to use springboot 2.0 properties Issue-ID: SO-1281 Change-Id: I6a24fb3bef41477b893649f2110066ba6021141f Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>