aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src
AgeCommit message (Collapse)AuthorFilesLines
2019-04-19Reorder modifiers, replace type specificationSindhuri.A1-37/+32
Reorder modifiers, replace type specification vnf async client ObjectFactory Issue-ID: SO-1490 Change-Id: I64e86b87045c800616c4662262fd960c8672b437 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Merge "Change variable name, method name to match regex"Seshu Kumar M2-24/+24
2019-04-19Merge "Change variable name to match regex"Seshu Kumar M1-5/+5
2019-04-19Merge "Move constructor call,remove unused private variable"Seshu Kumar M1-2/+2
2019-04-19Change variable name, method name to match regexSindhuri.A2-24/+24
Change variable name, method name to match regex for ObjectFactory,NetworkAdapterNotify_Service Issue-ID: SO-1490 Change-Id: I0f7208e4232c54c0f302388f1b4b2499fe7b0b19 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Replace type spec, define constant for literalSindhuri.A1-6/+7
Replace type specification, define constant for String literal MsoNetworkAdapterAsyncImpl class Issue-ID: SO-1490 Change-Id: Id4b7b8b3dc6d1aca1b76272f85beda9a6df7dfbb Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Change variable name to match regexSindhuri.A1-5/+5
Change variable name to match regex for NetworkAdapterRest Issue-ID: SO-1490 Change-Id: Ieebe3c96898b9aec817117b09c5b2ea8b6d6944b Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Move constructor call,remove unused private variableSindhuri.A1-2/+2
Move constructor call,remove unused private variable for MsoNetworkAdapterImpl Issue-ID: SO-1490 Change-Id: Iff73667fbf7386769f5f3e68cfd5d565d45219e1 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-18Merge "compliant attribute name, removed unused import"Seshu Kumar M3-6/+4
2019-04-18compliant attribute name and getter settersSindhuri.A3-7/+7
compliant attribute name (to match regex) for ContrailSubnet, ContrailSubnetHostRoutes Issue-ID: SO-1490 Change-Id: Ia78adc1356609b44426b5f692e205166bb80d665 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-18compliant attribute name, removed unused importSindhuri.A3-6/+4
compliant attribute name (to match regex), removed unused imports Issue-ID: SO-1490 Change-Id: Icf49505568b938dadf7ab8fbc22f48238d69d2a8 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-15Merge "add junit coverage for HeatBridgeUtils"Steve Smokowski2-11/+31
2019-04-15add junit coverage for HeatBridgeUtilsLukasz Muszkieta2-11/+31
Change-Id: Ibea7e60ac8e8b511e2a6a6ab54b2072e7e8d4008 Issue-ID: SO-414 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-04-15Merge "Code Enhancement (Sonar Fixes)"Steve Smokowski5-16/+12
2019-04-15Merge "Changed to use shallow copy of linterface in aduit"Steve Smokowski1-2/+0
2019-04-15Merge "vnr vrf fk issue"Steve Smokowski1-21/+13
2019-04-14Changed to use shallow copy of linterface in aduitBenjamin, Max (mb388a)1-2/+0
Removed unused shallow instance from linterface method. Changed to use shallow copy of linterface in aduit. Change-Id: I3cb92b991eaea5634d009967dadf70e6a146f07f Issue-ID: SO-1789 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-12vnr vrf fk issueBenjamin, Max (mb388a)1-21/+13
Updated flyway migration script to rename object as per review comments. Used Tosca node type for determining VRF and VNF nodes updated code based on review comments for schema.sql Altered ConfigurationCustomizationResource for VRF-VNF to have bidirectional relationship ToscaResourceInstaller ConfigurationResourceCustomization was made bidrectional Change-Id: Ib45151ff7a40edca38d512ae76f8889b1cc4d0c4 Issue-ID: SO-1777 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-12add junit coverage for MsoCloudClientFactoryImplLukasz Muszkieta1-0/+71
Change-Id: I76f8cc114c0267a8bf65772edb2a51cb7059f15e Issue-ID: SO-414 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-04-12Code Enhancement (Sonar Fixes)Sindhuri.A5-16/+12
Sonar Issues Fixes Issue-ID: SO-1490 Change-Id: I88fba8a0cf7db9397f16001ff9f0968128424c3d Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-11Update multicloud plugin GET handlingEric Multanen2-2/+37
Supports multicloud API query by workload name or id. Gets workload details e.g. stack outputs, etc. To be used to fill in inputs for vfmodule that has a volume group or base module. Change-Id: If45783e82c2a209d3385be1b689a02a05baf9922 Issue-ID: SO-1445 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-04-10Re-commit some changes which were lostBenjamin, Max (mb388a)3-17/+2
remove unused code Issue-ID: SO-1767 Change-Id: I12b8295ae4a5bc9e9154c8ccd1bb53f70886f929 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08Replaced all tabs with spaces in java and pom.xmlBenjamin, Max (mb388a)156-17828/+15983
Added in maven plugins to enforce coding style rules Added in eclipse java formatting xml Change-Id: I3727bbf4ce8dc66abfd8ad21b6cfd0890c5d3ff0 Issue-ID: SO-1765 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08Merge "Workflow Recipe Lookup"Steve Smokowski1-0/+32
2019-04-08Merge "Fix POM to allow HTTP long polling to work"Steve Smokowski2-3/+3
2019-04-08Workflow Recipe LookupElena Kuleshov1-0/+32
Workflow Recipe Lookup and related Catalog Beans Change-Id: Ib1c3493106658d139861d2620dfb9cb382115744 Issue-ID: SO-1728 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-04-08Query param to pull back nested stack informationBenjamin, Max (mb388a)5-3/+664
Add Query param to pull back nested stack information Change-Id: Idf83291107e2ef7e86bb2de914469b0401eda0ac Issue-ID: SO-1760 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08Fix POM to allow HTTP long polling to workBenjamin, Max (mb388a)2-3/+3
Fix POM to allow HTTP long polling to work on camunda Change-Id: I5f9da8b88ad8b14a1ef596f65b95d941c130e794 Issue-ID: SO-1758 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-05Allow volume groups in multicloud plugin adapterEric Multanen2-54/+109
Remove multicloud logic that was skipping over volume group and non-base module requests. Change-Id: Ie121fec2ab752b4d974a1757d01317cd6feef30d Issue-ID: SO-1445 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-04-05Merge "add openstack audit of delete function"Steve Smokowski5-50/+199
2019-04-05Merge "add custom mapper to soap endpoint argument"Steve Smokowski2-6/+10
2019-04-04add openstack audit of delete functionBenjamin, Max (mb388a)5-50/+199
audit feature for disc and creates Change-Id: I95b6e36d15f0a5a0790aa267a9dbf4c468f69b24 Issue-ID: SO-1749 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-04add custom mapper to soap endpoint argumentBenjamin, Max (mb388a)2-6/+10
add custom mapper to soap endpoint argument Change-Id: Ib57a3ac98c788461bf305965b6d34e7db2433d0a Issue-ID: SO-1747 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-04bugfix for heatbridge keystone v3 not returning any resourcesMunir Ahmad1-1/+4
Issue-ID: SO-1484 Change-Id: Ic1341e94086470c59aab324a3ea16e4e7e086d38 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2019-04-03if audit fails write sub interface data to a aiBenjamin, Max (mb388a)28-495/+2632
added logic to write sub interface information from openstack to a&ai when audit fails to find it Change-Id: I24266812dc60eb69bfd90e3e5b34113e9fd8f4f4 Issue-ID: SO-1737 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-03skip post instantiation configurationeeginux1-0/+2
Update the schema to include new column Ingest the property from tosca to DB https://jira.onap.org/browse/SO-1671 Issue-ID: SO-1671 Change-Id: Ic6d8d2cfccaa24ba1f9320e4fc2f4255d532fb08 Signed-off-by: eeginux <henry.xie@est.tech>
2019-04-02fix catalogdb cvfnc customizationBenjamin, Max (mb388a)6-851/+1204
Hibernate entities were all wrong and needed a complete rewrite. The scope kept growing and ended up touching a lot more of the code than originally planned. These changes make the db interactions much easier and more straightforward from java. The flyway script order had to change to make this migration possible. Change-Id: I6ce363a385661300eddb11923ac6a80538edaddc Issue-ID: SO-1710 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-02Construct multicloud infra_workload endpointEric Multanen4-34/+45
Use the cloudOwner and cloudRegion to construct the multicloud endpoint for the multicloud VNF plugin adapter. Use configuration to obtain the MSB IP and port number. Stop using the cloud sites catalog DB since there is only a single endpoint required talking to multicloud. Change-Id: I0e9b45a51b6e36f4782226f851e7d01de7f1b133 Issue-ID: SO-1447 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-04-01replace all fixed wiremock portsBenjamin, Max (mb388a)16-590/+609
trying to get the tests that can be threaded to pass started to remove fixed port references Change-Id: I7bfe067a8f36c908039700646571681321e9a6f5 Issue-ID: SO-1676 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-28Merge "JUnit tests for NetworkAdapterRest"Steve Smokowski2-1/+41
2019-03-28JUnit tests for NetworkAdapterRestr.bogacki2-1/+41
Increased junit tests coverage according to Sonar analyses. Added test for a network rollback. Change-Id: I85622f62246b4bf3cc8d2ad253facaa2823923e7 Issue-ID: SO-1692 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-27Merge "Remove hardcoded CloudOwner from heatbridge"Steve Smokowski1-3/+2
2019-03-26Remove hardcoded CloudOwner from heatbridgeMunir Ahmad1-3/+2
Change-Id: I87c42b76c226f717770fb072f391e0e7244bbff6 Issue-ID: SO-1484 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2019-03-26Eliminated printStackTrace() callsWitold Ficio Kopel2-10/+9
Eliminated calls to printStackTrace() on Throwable as they go to stdout and are not handled by logger. Occurences has been replaced by calls to logger or modifications to nearby logger calls (Throwable passed as last parameter). Occurences in unit test classes left without modification. Change-Id: I6a771d60a3ea69ceecc29bb21358e565aa5ce101 Issue-ID: LOG-631 Signed-off-by: Witold Ficio Kopel <w.kopel@samsung.com>
2019-03-24heatbridge implementation for openstack-adapterMunir Ahmad19-10/+2414
Converted heatbridge to use AAI Client Removed open feign Removed new aai client implementation Removed aai helper classes Removed unnecessary pom.xml imports converted HeatBridgeImpl to rely on AAI transactions added some example unit tests Replaced MsoLogger with slf4j Resolved merge conflicts Change-Id: I933b49fae82c2f0d7a66d9a85b367b29006c73cc Issue-ID: SO-1484 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Change-Id: I547b35ebdf51f4534de5d51d7d50a90bb9de4c72 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Issue-ID: SO-1484
2019-03-22Multicloud VNF adapter use updated multicloud APIEric Multanen3-15/+21
Update the Multicloud plugin adapter to use the the enhanced multicloud infra_workload API. Mainly involves adding the user_directives and the vf-module model IDs to the call. Change-Id: I7ab78a8a304dbd61a5743ec67bb839037861ef9d Issue-ID: SO-1446 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-03-21Merge "Adjust audit to use device_id to find nova server"Steve Smokowski9-216/+521
2019-03-20Adjust audit to use device_id to find nova serverBenjamin, Max (mb388a)9-216/+521
Adjust audit to use device_id to find nova server Change-Id: If060b68ba480b0750e66a7fe26a6fa72382dcdd5 Issue-ID: SO-1677 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-19Add cloudOwner to VNF adapter callEric Multanen25-388/+501
The BPMN layer has the CloudRegion which includes the CloudOwner attribute, but this is not passed to the VNF adapter layer. Calls to the Multicloud infrastructure workload need the CloudOwner as well. This patch adds CloudOwner to the VNF adapter API. While the intended usage is primarily for the multicloud adapter, it touches a log of other files - though those do not make use of it at this point. Change-Id: I88028096fbd84fc3fe5d53786c70b3c8806bb711 Issue-ID: SO-1447 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
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>