aboutsummaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2019-04-03if audit fails write sub interface data to a aiBenjamin, Max (mb388a)29-495/+2634
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-03Merge "skip post instantiation configuration"Steve Smokowski3-1/+13
2019-04-03Send instantiate VNF Request to VNFMMichaelMorris13-182/+718
Issue-ID: SO-1624 Change-Id: Ida69ecaed5323e42ecebe189ef79c323133855f3 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-04-03skip post instantiation configurationeeginux3-1/+13
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)16-1155/+1391
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-02Merge "Construct multicloud infra_workload endpoint"Steve Smokowski7-46/+70
2019-04-02Construct multicloud infra_workload endpointEric Multanen7-46/+70
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-02Add job handlingMichaelMorris10-16/+485
Issue-ID: SO-1624 Change-Id: I84c089d7b0ad610f0fe38be220a81a1f0762f394 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-04-02Merge "Check for existing VNF in VNFM"Byung-Woo Jun20-17/+9241
2019-04-02Check for existing VNF in VNFMMichaelMorris20-17/+9241
Issue-ID: SO-1622 Change-Id: I6aa6af3c6988032f436c5da79c0140370469439e Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-04-01Merge "JUnit tests for VfcManager"Steve Smokowski1-0/+157
2019-04-01Merge "JUnit tests for MsoMulticloudUtils"Steve Smokowski1-0/+35
2019-04-01replace all fixed wiremock portsBenjamin, Max (mb388a)47-812/+1068
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-04-01JUnit tests for MsoMulticloudUtilsr.bogacki1-0/+35
Increased junit tests coverage according to Sonar analyses. Added missing tests to deleteStack, queryStack, updateVdu and deleteVdu. Change-Id: I529725cfbe9be7cbdae9a197d39cd6a426ddb688 Issue-ID: SO-1692 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-04-01JUnit tests for VfcManagerr.bogacki1-0/+157
Increased junit tests coverage according to Sonar analyses. Added missing tests for VfcManager. Change-Id: Ib0057f4f8179f088fe4e94df563a3053601758e7 Issue-ID: SO-1692 Signed-off-by: Robert Bogacki <r.bogacki@samsung.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-28sonar blocker fixesLukasz Muszkieta3-21/+25
Change-Id: I7a61470291e05286cce0aa4e35c2f4068c4319fb Issue-ID: SO-1490 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-03-27Merge "Remove hardcoded CloudOwner from heatbridge"Steve Smokowski1-3/+2
2019-03-26Merge "PNF ingestion in SO catalogdb"Steve Smokowski1-12/+1
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 Kopel5-21/+20
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-25PNF ingestion in SO catalogdbeeginux1-12/+1
Support PNF csar ingestion in SO catalogdb Add integation test for TOSCA installer Fix the VNF resource/resource customization insert https://jira.onap.org/browse/SO-1604 subtask so-1607 and SO-1608 are included The catalogdb table contents are attached in the jira Issue-ID: SO-1604 Change-Id: Ie08c4a1219a6cce96ba081b0dd9d3e5fd997da8f Signed-off-by: eeginux <henry.xie@est.tech>
2019-03-25Merge "heatbridge implementation for openstack-adapter"Steve Smokowski20-19/+2457
2019-03-25Create empty implementation of delete VNF requestMichaelMorris2-3/+44
The implementation provides no functionality (just logs the call and returns 202 with a job id) but enables invocation of the adapter from a flow Issue-ID: SO-1632 Change-Id: Ie71699e917173c77b217e8a9f5eb9e5b794155a7 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-03-24heatbridge implementation for openstack-adapterMunir Ahmad20-19/+2457
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-22Merge "Multicloud VNF adapter use updated multicloud API"Steve Smokowski9-32/+132
2019-03-22Created new BB for so-etsiwaqas.ikram1-0/+1
Change-Id: I9bf6b4019c280b816925ee5e0d826bff69cb1583 Issue-ID: SO-1621 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-03-22Merge "Add SO Catalog DB tables related to WFD"Steve Smokowski1-0/+175
2019-03-22Multicloud VNF adapter use updated multicloud APIEric Multanen9-32/+132
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-21Add SO Catalog DB tables related to WFDBonkur, Venkat (vb8416)1-0/+175
Added SO tables related to workflow designer workflows Change-Id: Iab90f26a392db8e64e67e751ce89857178a6d625 Issue-ID: SO-1545 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com>
2019-03-21Merge "Corrected hibernate for cfvc customization table"Steve Smokowski2-77/+37
2019-03-21Merge "Adjust audit to use device_id to find nova server"Steve Smokowski10-228/+578
2019-03-21Corrected hibernate for cfvc customization tableBenjamin, Max (mb388a)2-77/+37
fix two tests that did not ignore some properties fix schema sql file that was missing fields Properly wire hibernate entities, clean up db tables Update schema.sql files to be consistent add junit for customization linked to same cvnfc Change-Id: I4bc0a83cb3908f5b34224416e75446b6cd166b9e Issue-ID: SO-1689 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-21Create empty implementation of create VNF requestMichaelMorris3-1/+142
The implementation provides no functionality (just logs the call and returns 202 with a job id) but enables invocation of the adapter from a flow Issue-ID: SO-1621 Change-Id: I1a4aa263fee0bc10dd74c8611a48a611ace6872f Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-03-20Adjust audit to use device_id to find nova serverBenjamin, Max (mb388a)10-228/+578
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 Multanen44-486/+740
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.bogacki43-413/+397
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-14Saved vnfOperationalEnvironmentId to be used laterBenjamin, Max (mb388a)2-6/+9
Removed unnecessary lines in junit test class. Saved vnfOperationalEnvironmentId to the model table to be used for AAI status update call later. Change-Id: I812d21d483d716bb5135c408369a160e4600efc2 Issue-ID: SO-1662 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-15Merge "Fix Neutron Network"Byung-Woo Jun1-0/+32
2019-03-14Merge "Added param requestId to query 1 row"Steve Smokowski2-2/+13
2019-03-14Merge "Create VNFM adapter REST API"Steve Smokowski2-0/+609
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-13Create VNFM adapter REST APIMichaelMorris2-0/+609
Created swagger YAML file for VNFM Adapter REST API and added generation of classes from the swagger yaml file Issue-ID: SO-1619 Change-Id: Ib9537f57a82f1e0a1ac0c92b452b591831328534 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-03-13Merge "Openstack adapter can't resolve HEAT parameter"Steve Smokowski12-6/+559
2019-03-13Added param requestId to query 1 rowBenjamin, Max (mb388a)2-2/+13
Added param requestId to uniquely query 1 row from model distribution status db. Change-Id: Ice8db174166e6a00d211f191dcf5537eef729127 Issue-ID: SO-1651 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-13Openstack adapter can't resolve HEAT parameterBenjamin, Max (mb388a)12-6/+559
only cast to Element if value is of that type added XmlAccessorType annotations to classes map of string, object now correctly maps with jaxb Null comma delimited lists can convert to null as well Handle null values all types in input parameters map. Change-Id: Ic46ed31c05b8f8551d39b2267ae731829abfc1f0 Issue-ID: SO-1617 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-13Fix Neutron NetworkSmokowski, Steve (ss835w)1-0/+32
Correct spacing in the YAML for insertion to db Issue-ID: SO-1609 Change-Id: I00f01ab0e1e25e79336ee63fbed1e9a3448b661c Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-03-13Create VNFM adapter shellMichaelMorris12-0/+414
Create maven structure, spring boot application and docker image for the VNFM adapter. Implementation of functionality will follow in subsequent stories. Issue-ID: SO-1620 Change-Id: I735ead3f1c34bf33e6813a3741609409b0da851c Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-03-13Merge changes Id0369478,I82d8306fSteve Smokowski1-1/+1
* changes: Minior Change - Licence Statement Junit Class added for ObjectFactory.java