summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src/main/groovy
AgeCommit message (Collapse)AuthorFilesLines
2018-11-30Merge "Fix alacarte homing flows" into casablancaSeshu Kumar M2-7/+74
2018-11-30Fix alacarte homing flowsMarcus G K Williams2-7/+74
This fix adds homingInstance bean and stores homing info in the database. It then retreves that info when homing ala carte and populates homingSiteId and oofDirectives. SO-1254 Issue-ID: SO-1258 Change-Id: I6f8d5d3aff9ebeb669064a02926c779886dc59dd Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-11-29vfc adapter authentication bug fixYulian Han3-149/+124
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064414 Issue-ID: SO-1256 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-11-27use config value instead hard code of urlYulian Han3-44/+152
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064412 Issue-ID: SO-1249 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-11-25Fix intgration issue for E2E servicesubhash kumar singh2-15/+11
Fix intgration issue for E2E service. Change-Id: I1b701f137ebc79addfb6914c7c68ac8c73f673d4 Issue-ID: SO-1252 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-24use config value instead hard code of urlYulian Han2-11/+25
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064411 Issue-ID: SO-1249 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-11-20Merge "Fix retrieval of resourceInputObj in delete e2e" into casablancaSeshu Kumar M2-5/+5
2018-11-20Merge "Fix namespace for requestdb update" into casablancaSeshu Kumar M8-10/+10
2018-11-19Fix retrieval of resourceInputObj in delete e2esubhash kumar singh2-5/+5
Fix retrieval of resourceInputObj in delete e2e. Change-Id: I2e46942e3a6d932d76a420c2c9ee67759579e230 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-19Fix namespace for requestdb updatesubhash kumar singh8-10/+10
Fix namespace for requestdb update. Change-Id: Ib13384e669100ff6db837819a1ba025300d66f0c Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-19Merge "Fix variable set for e2e service" into casablancaSeshu Kumar M1-2/+2
2018-11-19Merge "Fix the service id modified" into casablancaSeshu Kumar M1-1/+1
2018-11-17Fix variable set for e2e servicesubhash kumar singh1-2/+2
Fix variable set for e2e service. Change-Id: I688077125c5e0d75c026a860325ea19e005b1642 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-17Fix the service id modifiedsubhash kumar singh1-1/+1
Fix the service id modified. Change-Id: I2fac23d85046e0741e5f3f775ca1230fd24707fe Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-16Merge "Fix the sdnc groovy" into casablancaSeshu Kumar M1-6/+6
2018-11-16Fix the sdnc groovysubhash kumar singh1-6/+6
Fix the sdnc groovy for setting value. Change-Id: Id002bba2bad9a3a286fbb103d285f04846f34438 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-16Merge "Fix invocation of resource receipe" into casablancaSeshu Kumar M1-4/+8
2018-11-15Accept vCPE vfModuleNames in NB APIRob Daugherty2-12/+63
This affects the vCPE custom flow. You can specify zero or more VF Module names (correlated with the model invariant UUID) in the user parameters, like this: "userParams": [ . . . { "name": "VfModuleNames", "value": [ { "VfModuleModelInvariantUuId": "5366deab-be06-44c7-b4f7-77e657b78b25", "VfModuleName": "VGW:e2:25:25:25:%" } ] } ] Change-Id: I673c04775bf5796079dc0ed19890e73e76820ac0 Issue-ID: SO-1213 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-11-15Fix invocation of resource receipesubhash kumar singh1-4/+8
Fix invocation of resource receipe. Change-Id: I4ab14fa4924d7480b167138091de33f657286dde Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-15Fix auth for catalog dbsubhash kumar singh3-4/+4
Fix auth for catalog db. Change-Id: Ic787993f608b7ddf74167f7859a519ca02b794ed Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-15Fix auth token for request-dbsubhash kumar singh1-2/+2
Fix auth token for request-db. Change-Id: I898781b2294392c5cd55df6fccd173f7274bc660 Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-14Merge "Fix the uri for BPMN invocation" into casablancaSeshu Kumar M1-1/+1
2018-11-14Fix the uri for BPMN invocationsubhash kumar singh1-1/+1
Fix the uri for BPMN invocation. Change-Id: I42da40501a99c35aab5411f1f08586e7f40ee03a Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-11-14Merge "Get Csar file bug fix" into casablancaSeshu Kumar M23-799/+755
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-13Replace xmlencode with xmlEscapesubhash kumar singh4-277/+289
Replace xmlencode with xmlEscape. Change-Id: Ib84e7e4f10881abbc938ee03b66ed3358f06e2dc Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com> (cherry picked from commit d080aa2ebd5c8b98e0210185030b90ed5a4a6edd)
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-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 Daugherty1-17/+46
2018-10-29Fix Error, Check that vimID is presentMarcus G K Williams1-17/+46
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-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)1-1/+1
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-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 Daugherty30-1163/+980
2018-10-12Dynamic Cloud Owner SupportBenjamin, Max (mb388a)30-1163/+980
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>