aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn
AgeCommit message (Collapse)AuthorFilesLines
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-08Updated pom.xml appc library version to 1.4.0Prema Bhatt1-2/+2
Issue-ID: SO-1199 Change-Id: I5c1f8d6e434ce12e370435bcae4f22485c5d249e Signed-off-by: Prema Bhatt <pb6115@att.com>
2018-11-07Merge "bug fixing with reading dmaap message" into casablancaSeshu Kumar M4-60/+35
2018-11-07Merge "Make homingBB optinal and fix homing process" into casablancaMarcus Williams5-94/+138
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-07Make homingBB optinal and fix homing processAlexis de Talhouët5-94/+138
Properly defined whether or not to call homing at AssignVnfBB where by default homing doesn't get called, but if a homing solution is provided, then we resolve the solutions. The goal is to change the BPMN definition to use serviceTask rather than a scriptTask, allowing to use the Srping component to inject logic. Also we create a new HomingV2 component that is agnostic of the homing implementation, which goal is to route the homing request to the proper bbackend implementation; e.g. oof vs homing. Finally, we remove the un-needed variables set in the execution context. Change-Id: Ic9fb2a599c6375617c92a6d3462b62921ee47a6f Issue-ID: SO-1168 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-11-06Fixing scaleOut workflow looping issuePrema Bhatt4-6/+95
Updated both GenericVnfHealthCheck and ConfigurationScaleOut BB with appropriate Exception catch block and added Exception unit test. Issue-ID: SO-1182 Change-Id: Ia29741a4a7d8e1bb759ace4fd888864141d224d6 Signed-off-by: Prema Bhatt <pb6115@att.com>
2018-11-06Merge "Removed slashes and added catch block" into casablancaRob Daugherty3-10/+65
2018-11-06Merge "Bug fixes November 5th" into casablancaRob Daugherty13-99/+317
2018-11-06Merge "Fix msb url in homing cloudsite" into casablancaRob Daugherty3-5/+25
2018-11-06Removed slashes and added catch blockBrittany Plummer (bp896r)3-10/+65
Issue-ID: SO-1183 Change-Id: Ib8581393d782f078fc844cf96cbf7a0228133581 Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
2018-11-05Bug fixes November 5thBenjamin, Max (mb388a)13-99/+317
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-11-03Merge "Send correct resourceModuleName" into casablancaRob Daugherty1-2/+6
2018-11-02Added Null check for gtConfigurationParameterPrema Bhatt1-1/+3
Change-Id: Icd21f579eebfe40b70344456420701fbc2408722 Issue-ID: SO-1179 Signed-off-by: Prema Bhatt <pb6115@att.com>
2018-11-02ConfigurationParameter is empty for scaleout Prema Bhatt4-4/+22
Mapping for ConfigurationParameter List was missing in BBInputSetupMapperLayer class. Added mapping and updated Unit tests and test data Change-Id: Ice8c7c30c97a5b8a8444a2243ddbea4d5fb036af Issue-ID: SO-1083 Signed-off-by: Prema Bhatt <pb6115@att.com>
2018-11-01Fix msb url in homing cloudsiteMarcus G K Williams3-5/+25
This change adds a getMsbHost method to homingUtils to enable correct configuration of the msburl used in identity_services for multicloud. Issue-ID: SO-1180 Change-Id: Ib7adecda98b1d5f5770e2d17a2e76c970619ab46 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-11-01Merge "Update Logic" into casablancaRob Daugherty2-30/+38
2018-11-01Update LogicSmokowski, Steve (ss835w)2-30/+38
Update Regex Logic to take into account new scale out URI and generate the UUID, Fix whitespace Issue-ID: SO-117 Change-Id: I1a3c3b31e18701fce3d622d501dd68efc7ab6969 Change-Id: I1a3c3b31e18701fce3d622d501dd68efc7ab6969 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-10-31Send correct resourceModuleNameMarcus G K Williams1-2/+6
Issue-ID: SO-1178 Change-Id: I593ec7db0bac3e0b343bd0eb960977d0110fd9b8 Signed-off-by: Marcus G K Williams <marcus.williams@intel.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)8-19/+118
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 Muszkieta13-101/+88
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)99-252/+252
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-23default cloud owner now configurableBenjamin, Max (mb388a)1-41/+0
default cloud owner can now be set via a property Change-Id: I9b900cb2a5c7176a78e889ad2ce31a4ed9d38585 Issue-ID: SO-1158 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-10-23Merge "Fix Java Ex in Homing" into casablanca1.3.1Seshu Kumar M3-193/+214
2018-10-22Set homingService in WorkflowActionMarcus G K Williams1-0/+1
Issue-ID: SO-1153 Change-Id: I40ef5deb8699f7f0c602cb57e273c1a3dc814004 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-10-22Fix Java Ex in HomingMarcus G K Williams3-193/+214
Issue-ID: SO-1145 Change-Id: I35b28f9e4cd67536a7807f9e083b0c1c4fa9a03c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-10-19bug fixes october 19thBenjamin, Max (mb388a)13-16/+308
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)12-31/+120
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 Daugherty34-129/+437
2018-10-17Merge "Fix OOF Config Ingestion"maopeng zhang3-4/+30
2018-10-17Merge "Fix variable to retrieve sdnc endpoint"maopeng zhang1-1/+1
2018-10-16Merge "cloud owner support for SDNC interface"Marcus Williams4-1/+4
2018-10-16Fix OOF Config IngestionMarcus G K Williams3-4/+30
Update Homing OOF Config Path Issue-ID: SO-1127 Change-Id: I10ba6dcf23d474ba5e9832a6f4f35e52ead020b5 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-10-16Bug fixes for casablancaBenjamin, Max (mb388a)34-129/+437
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-15Update msb-java-sdk to resolve license issuesGary Wu2-13/+1
Upgrade or remove msb-java-sdk library version in order to resolve possible license issues with com.google.code.findbugs:annotations:2.0.1. Change-Id: I8f16ec293fcd9f2e328dacb86eda9687fba3f8dc Issue-ID: SO-1140 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-10-15cloud owner support for SDNC interfaceBenjamin, Max (mb388a)4-1/+4
added cloudOwner to SDNC gr api payloads Change-Id: If8351ab9078bd0c0f503acdf21622d615eb5a5ab Issue-ID: SO-1137 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-10-12Merge "Dynamic Cloud Owner Support"Rob Daugherty161-5588/+2981
2018-10-12Dynamic Cloud Owner SupportBenjamin, Max (mb388a)161-5588/+2981
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-09Fix rollbackBenjamin, Max (mb388a)7-93/+191
removed useless error handling test case from workflow changed method name and added junit coverage to errors added max retry and success status after completed bb added assertion that global count var was reset to 0 updated rollback to reset current sequence count var revert the other change and fix the rollback logic instead fixed current sequence and updated rollback code Change-Id: Ifd3282de1dbda8b36d4d89e5b7135ad464a9b963 Issue-ID: SO-1107 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>