summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-04-19Replace String Literals with ConstantSindhuri.A1-9/+10
Replace String Literals with Constant NetworkAdapterRest class Issue-ID: SO-1490 Change-Id: I2b8aa59b971da7af1b1abda0fd137f55d3a32284 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Merge "Reorder modifiers, replace type specification"Seshu Kumar M1-37/+32
2019-04-19Merge "replace type specification for vnf async client"Seshu Kumar M2-2/+2
2019-04-19Merge "Replace str literal for const, replace type spec"Seshu Kumar M1-15/+16
2019-04-19Merge "Remove unused constants, change constructor place"Seshu Kumar M1-14/+9
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 "Added String constant for duplicate literals"Seshu Kumar M2-4/+4
2019-04-19Merge "Edit method name to match regex CXFConfiguration"Seshu Kumar M1-3/+3
2019-04-19replace type specification for vnf async clientSindhuri.A2-2/+2
replace type specification for vnf async client classes Issue-ID: SO-1490 Change-Id: I96d96aa863a8cdfc5d92adc4675600fdc9dd5568 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Replace str literal for const, replace type specSindhuri.A1-15/+16
Replace string literal with const,replace type specification Issue-ID: SO-1490 Change-Id: Ie37ebd3f15ded40579777ffead04f7d2c3a65a43 Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Remove unused constants, change constructor placeSindhuri.A1-14/+9
Remove unused constants, change constructor place MsoVnfCloudifyAdapterImpl class Issue-ID: SO-1490 Change-Id: I4388e8cc50173fbec3a916e76e7a64d9788085fd Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
2019-04-19Added String constant for duplicate literalsSindhuri.A2-4/+4
Added String constant for duplicate literals MsoVnfAdapterAsyncImpl class Issue-ID: SO-1490 Change-Id: Ib64d297c91a72cb5a4f61650de7a965456e86ed2 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-19Edit method name to match regex CXFConfigurationSindhuri.A1-3/+3
Edit method name to match regex CXFConfiguration class Issue-ID: SO-1490 Change-Id: Id918dbf0e6edee26f7ee763579bb664d23b7ce2a Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
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.A2-5/+5
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 Smokowski1-11/+0
2019-04-15add junit coverage for HeatBridgeUtilsLukasz Muszkieta1-11/+0
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-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-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-10Re-commit some changes which were lostBenjamin, Max (mb388a)2-16/+1
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)114-13566/+11688
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 "Fix POM to allow HTTP long polling to work"Steve Smokowski2-3/+3
2019-04-08Query param to pull back nested stack informationBenjamin, Max (mb388a)1-1/+1
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 Multanen1-43/+26
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 Smokowski4-41/+194
2019-04-05Merge "add custom mapper to soap endpoint argument"Steve Smokowski2-6/+10
2019-04-04add openstack audit of delete functionBenjamin, Max (mb388a)4-41/+194
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)12-238/+509
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-02fix catalogdb cvfnc customizationBenjamin, Max (mb388a)4-5/+4
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 Multanen2-26/+35
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-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 Ahmad17-10/+1598
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 Smokowski1-7/+37
2019-03-20Adjust audit to use device_id to find nova serverBenjamin, Max (mb388a)1-7/+37
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 Multanen17-323/+431
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>