aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14Get Csar file bug fixYulian Han23-799/+755
modify getting openecomp.db.endpoint config codes Delete bug fix for R3 config changes Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064408 Issue-ID: SO-1194 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-11-12Fix OOF Directives processingMarcus G K Williams2-0/+12
- Various fixes to process OOF directives correctly - Add orchestrator userParam Processing to ala carte and vCPE path to ensure multicloud adapter can be called when homing - Fix JsonUtils to accept json object as well as strings - Adds JsonUtils unit tests to ensure json object code works correctly and didn't break previous func. - Fix OOF Homing codes processing of OOF response to match Casablanca response from OOF (including OOF directives) - Add CloudIdentity get and put to catalogDBClient, along with junit tests - to enable creation of cloudSites - Fix serviceResourceId check Issue-ID: SO-1203 Change-Id: Ice9a9d1da2ce0cd4bd11029e3669b30d658fe359 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-11-09arUrl variable is null on vCPE PUT to AAIRob Daugherty2-4/+6
Change-Id: Iee4641f098c519b7833a1f5038a2024b42a11198 Issue-ID: SO-1201 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-11-07bug fixing with reading dmaap messageLukasz Muszkieta4-60/+35
Change-Id: I259337e866d1b401b574ba427219157dfc4987af Issue-ID: SO-1191 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-11-05Bug fixes November 5thBenjamin, Max (mb388a)2-55/+18
building block validator test now passes added buildingblockvalidator process instance test Retrieve actual error from WorkflowExceptionErrorMessage when the error message is empty, not only when null. Propagate orchestrationStatusValidationResult values from BB to BB. corrected use of constructor for AaiUtil use AaiUtil method to create path for get call modified how allotted resource urls are constructed - Removed the findExistingVnfcInstanceGroup method. It is not required to check this because the vnfResourceCustomization is always a new object at this location. Enable multiStage VF Module Create processing only when aLaCarte flag is on. Change-Id: If8cf397a84abc290e67e287d5b2264dd226398bc Issue-ID: SO-1188 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-10-29Merge "Fix Error, Check that vimID is present" into casablancaRob Daugherty2-18/+133
2018-10-29Fix Error, Check that vimID is presentMarcus G K Williams2-18/+133
Issue-ID: SO-1156 Change-Id: I14445f0e6dbed00b37a189f3a7c05923c6d4e5ab Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-10-26Bug fixes October 26thBenjamin, Max (mb388a)1-5/+9
Set non-custom health diagnostic check code to a default value. created custom java serialization for SimpleUri changed property value for cloud-owner in unit test converted aai call to use the AAI Client Correct a JUnit data file to include userParams values that are expected to be set. Set userParams on requestContext to parameters that need to be passed to downstream systems. Change-Id: I3974691875ef967f90a15f076ae27bc0cd76ee8e Issue-ID: SO-1169 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-10-24Pnf Spring Environment correctionLukasz Muszkieta9-86/+54
Change-Id: Ic9d83e2919bd1f947fdca07d8982bd5e794c9dbe Issue-ID: SO-1102 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-10-23Merge "Bug fixes October 23rd" into casablancaRob Daugherty2-9/+24
2018-10-23Bug fixes October 23rdBenjamin, Max (mb388a)2-9/+24
fixed the db status not being updated on delete SI added a default sequence flow to isAsync_Gateway Removed @Before and organized imports Added check to prevent db query with only requestStatus correct AAIObjectPlurals enum value name Correct rollbackData setting and protect against null Change-Id: Ic7c47dc968a29987c3d576da9aa50c7ddc8f28ee Issue-ID: SO-1162 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-10-23removed att-aic from codebaseBenjamin, Max (mb388a)36-98/+98
remove att-aic cloud owner from ONAP files Change-Id: Ifba8ef6f53194ddca12d11973817f6d85e2fa7e3 Issue-ID: SO-1161 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-10-19bug fixes october 19thBenjamin, Max (mb388a)4-10/+4
Fixed issue with resource version being added twice. added silent success to orch validation when unassign is not found Removed SNAPSHOT from dependency Fixed failing BBInputSetup tests Updated apih tests to use networkInstanceGroup Updated ModelType enum and fixed compilation issues Change the place where the data for multistage gets set Update treatment of PENDING_ACTIVATION VF_MODULE CREATE entries to SILENT_SUCCESS to support first stage of multistage. Implement second stage of multistage design VF Module Creation Implementation of the first stage of multistage design for VF Module creation. Change-Id: I6d76282d1f37c081355cee72797d8e13da4e3cb0 Issue-ID: SO-1149 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-10-19Merge "remove unused code"Seshu Kumar M3-6/+4
2018-10-17remove unused codeLukasz Muszkieta3-6/+4
UUID parameter in AAIRestClientI interface is redundant - part 1 Issue-ID: SO-729 Change-Id: I7db331098911e6e183d921175f3109f62b7aedbd Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-10-17Bug fixes October 16Benjamin, Max (mb388a)3-10/+23
Treat the VfModule returned from PrepareUpdateAAIVfModule call as an AAI object collection create, connect instanceGroup to cloudRegion Fix a typo in the name of the method for getting a variable testing mapping of instance group role test NetworkInstanceGroup role to be SUB-INTERFACE use enum value with hyphen for subtype Some updates based on feedback to java codes updated client to use optional instead of passing null added case where client sends null due to mapping issue added generic response object and pinc returns response build relationship now correctly removes wrapper Ensure that no null object gets referenced while checking if VNF is empty. Change-Id: I6177877518475c1f2e8e4e9dbd2ad1e2f3e10d18 Issue-ID: SO-1144 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-10-17Merge "Bug fixes for casablanca"Rob Daugherty3-5/+5
2018-10-16Bug fixes for casablancaBenjamin, Max (mb388a)3-5/+5
Updated builder to use String.format Added exception specifically for issues interacting with requestdbadapter Updated exception message and added junit test case Added case to handle when homing is not called during assign vnf. include network ID for completion handler Added exception handling for saving to requestdb added null check to mdc and interceptors to sdnc cxf confirm subnet map is not null in adapter response shallow copy subnet before AAI udpate update AAIObjectType to use uriTemplate extract subnet data from adapter response update correct AAIObjectType for subnet query update subnet(s) in AAI on network create completion updated how request db is set to failure in workflowA updated in and out mapping to be generalBuildingBlock change source out mapping to generalBuildingBlock Use explicit conversion to JSON to read cloudConfiguration settings. Use explicit conversion to JSON to read cloudConfiguration settings. Correct the name of DeleteVfModuleBB subprocess. Write the returned value from Homing to gBBInput updated unit test coverage for update network sync subnet status with network update Added WorkflowException to out mapping which will trigger an exception to be thrown when populated. Correct the payload for HealthCheck APP-C Action to remove escaping and change parameter name. Added WorkflowException to out mapping which will trigger an exception to be thrown when populated. Commit a change that was not staged in previous commit updated arguments to getConstructor method forgot to extract throwable from Optional object added throwable constructor to createException fixed broken unit test and added a new test and method set the network technology in the network request remove namespace from added networkId payload element - Updated SDWan test case to check the database to make sure the VNFCustomization object exist. - Updated code to only loop in iNotif.getResources() for VF resources, all others are unnecessary and were causing issues with the Service object. - Removed modifiedHeatTemplate variable since this isn't needed in the ONAP code base. Make sure vnfResponseCode variable is set to 200 when VNF is correctly retrieved from A&AI. VRR VRRCreateVfModule - send availability_zone to SDNC Infra Assign request Safeguard the retrieval of Boolean setting for isRollbackEnabled. Set isRollbackEnabled to opposite of suppressRollback early on in the execution. Reverse suppressRollback value to pass as backout parameter to VNF Adapter Add the exceptions to the calls to aai client queries Correct retrieval of the object from Optional for A&AI queries. Change-Id: I7d22e621b0316c14ce61bd51a9d5753473622697 Issue-ID: SO-1134 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-10-16Fix variable to retrieve sdnc endpointsubhash kumar singh1-1/+1
Fix variable to retrieve sdnc endpoint Change-Id: Ib27049f90d545bceb34a73394f5b430c549c5e08 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-10-12Merge "Dynamic Cloud Owner Support"Rob Daugherty41-1528/+1410
2018-10-12Dynamic Cloud Owner SupportBenjamin, Max (mb388a)41-1528/+1410
added in cloud configuration object to request params Fix Bean scanning so it picks up the resttemplate removed unnecessary RestTemplate Bean configurations corrected typo in CloudConfiguration class updated gr api test cases with dynamic cloud owner updated groovy files to allow for dynamic cloud owner values updated GR API layer to include cloud owner added enum for default cloud owner add cloud owner variable to camunda in mapping removed references to att-aic from BBInputSetup updated aai schema dependency to 1.3.1 from 1.3.0 Fixed incorrect type AAIUri and updated logging in the method. use existing service instance id instead of generating Pass cloudOwner to process to propagate to subprocesses. NOTE: our aai-schema dependency is 1.3.1-SNAPSHOT to be compatible with the cloud owner changes here. The releaesed 1.3.0 version is NOT compatible. Change-Id: I43b46774b77981d1c8bfe7c7a79b9434889e62ae Issue-ID: SO-1128 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-10-11Fix UserInput ExceptionMarcus G K Williams2-11/+64
This change fixes processing of UserInput in prepareCreateServiceInstance which causes an exception if any user-input is passed into createRequest. Issue-ID: SO-1121 Change-Id: Iae8b158dfb8771d55607e09bdb18471358a2d9cd Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-10-10Merge "Fix reading sdncurl property"Seshu Kumar M1-2/+3
2018-10-10Merge "Fix url for requestsdb"Seshu Kumar M1-1/+1
2018-10-10Fix reading sdncurl propertysubhash kumar singh1-2/+3
Fix reading sdncurl property. Change-Id: I785bd969db6e1ad7d08ccc7e37d8153f34751e86 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-10-09Merge "Save inputs into AAI when creating E2E service"Seshu Kumar M1-0/+1
2018-10-09Save inputs into AAI when creating E2E serviceYulian Han1-0/+1
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064402 Issue-ID: SO-791 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-10-09E2EService support model-driven resource sequenceYulian Han1-139/+142
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064401 Issue-ID: SO-1114 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-10-08Fix url for requestsdbsubhash kumar singh1-1/+1
Fix url for requestsdb. Change-Id: I0ee934a52785d282aecdd41464b62ba476f1733a Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-10-08Merge "wan connection resource is Activate Required"Chuanyu Chen1-0/+4
2018-10-04AAI Distribution delay is now set during the flowLukasz Muszkieta1-22/+4
Change-Id: I2afbe144608925fc8aef6bf200daef85151b5899 Issue-ID: SO-1099 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-10-01Fix CreateVfModule Instantiation ErrorMarcus G K Williams1-14/+18
Issue-ID: SO-1097 Change-Id: I0eff52da7b90450d2a8b9d3ab5d1d92c245bb4f6 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-10-01Merge "Add Logging"Marcus Williams1-0/+2
2018-10-01Add LoggingSmokowski, Steve (ss835w)1-0/+2
Add logging the exception that is thrown Issue-ID: SO-1097 Change-Id: Iea317f65a139ed078834204f6a4cbbf48ac7a19e Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-09-30wan connection resource is Activate RequiredZhuoyao Huang1-0/+4
Issue-ID: SO-688 Change-Id: Icc75a235a886621f603c827e41a99d44b098ab84 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
2018-09-26Remove unused importssubhash kumar singh4-34/+17
Remove unused imports. Change-Id: I53cec663089a6ddc215119800767d0f1fa64dd68 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-09-26Fix typos in stringssubhash kumar singh4-16/+10
Fix typos in strings. Change-Id: I8c5b1c0a9098a57ee8cd99ff85244f7e937cc2d8 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-09-26Remove unused isDebugEnabledsubhash kumar singh4-16/+0
Remove unused isDebugEnabled. Change-Id: I99d954533f9c26386472beeee6c2716b3d3a9086 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-09-26Remove unused MSOUtilssubhash kumar singh4-15/+0
Remove unused MSOUtils. Change-Id: Ib255b4e420912b47e69df6d826930a4feaaf65ad Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-09-20Update OofHoming w/ directivesMarcus G K Williams1-6/+5
Issue-ID: SO-746 Change-Id: I597f7621a32eeb5b8e92cf80700c60bccdc5e560 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-09-20Add homing flag to alacart flowsMarcus G K Williams1-0/+1
Issue-ID: SO-745 Change-Id: I5e9e5031be403d17e0dc141a0879b0a28062168e Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-09-20Merge "bug fix for ccvpn uc after integration test"Seshu Kumar M9-379/+658
2018-09-20Merge "Added fix for potential nullpointerexception"Seshu Kumar M1-2/+5
2018-09-20bug fix for ccvpn uc after integration testYulian Han9-379/+658
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa70000020 Issue-ID: SO-683 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-09-19Merge "Add homing to CreateGenericALaCarteService flow"Marcus Williams1-310/+356
2018-09-19Update bpmn and groovy files for ccvpn usecasesubhash kumar singh4-565/+838
Update bpmn and groovy files for ccvpn usecase. Change-Id: Ib992d3577c9805b0d5e09afc2d8a6be6ded5b7b3 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> Issue-ID: SO-689
2018-09-18Add homing to CreateGenericALaCarteService flowSrivahni Chivukula1-310/+356
Created HomingBB.bpmn in so-bpmn-building-blocks and updated AssignVnfBB to use HomingBB.bpmn. HomingBB.bpmn is made capable of using Sniro/OOF Issue-ID: SO-927 Change-Id: I19c8ada96485f563c2756a22ad3bee4c9367953b Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
2018-09-18Merge "Added log in case of exception in servicepluginfac"Seshu Kumar M1-3/+2
2018-09-18Merge "conflict process"Seshu Kumar M2-60/+254
2018-09-13Merge "Fix for interrupted exception"Seshu Kumar M2-16/+20