summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src
AgeCommit message (Collapse)AuthorFilesLines
2018-10-22Pnf Spring Environment correctionLukasz Muszkieta9-86/+54
Change-Id: Ifd33f4ba0f62b15605ea21eb3d9256c3e70a1d2f Issue-ID: SO-1102 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.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
2018-09-12Fix for interrupted exceptionbiniek2-16/+20
Change-Id: I8d16c9101acb92bd39208abd9e4724c252db3de6 Issue-ID: SO-722 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-09-12Added log in case of exception in servicepluginfacChandan Ghosh1-3/+2
Added error log in servicepluginfactory.java class Issue-ID: SO-1027 Change-Id: Ib9ecd078554357b715914e56dc6994f75e59afb6 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-09-12Added fix for potential nullpointerexceptionChandan Ghosh1-2/+5
Added fix for potential nullpointerexception reported in sonar Change-Id: Iea73bbaeb1dc7d8fdecf3243dc123dbfbb3b67b9 Issue-ID: SO-1026 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-09-11NexusIQ issue: jackson-databindRob Daugherty1-1/+0
Upgrade to fasterxml.jackson 2.8.10. This is the latest version that seems to work with our code on springboot 1.5.13.RELEASE. Change-Id: I734f84c18e53218f111fb08c959a67ee0a2e6014 Issue-ID: SO-856 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-09-08stability fixesBenjamin, Max (mb388a)1-1/+1
fixed bean error fixed execution variable name do not explicitly set hibernate objects Removed remaing references to tunnel-xconnect fixed virtual link case Change-Id: Ia5a59794e84beadcbf259efb899878cc4465ca57 Issue-ID: SO-997 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-08added generic fabric support to SOBenjamin, Max (mb388a)5-9/+3
Fix Autoincrement of ID field in table Fix accidental removal of method Update usage of requestdb client removed unused imports in common tasks and test Fix broken branch, have unit tests pass references the Epic branch Fix broken branch from compiling committing classpath for vfc adapter cause its not going away added in the fail case for when there are no profiles removed second set of adapters in application test yml removed double adapters in request db application test added jpa repo dependency to the so bpmn folder pom add creation timestamp column to the table added in null checks for Config returned from policy switched to string in requestprocess with jenerate switched to string in requestprocess with jenerate updated aai version in common pom to 605 from 591 renamed the db scripts for flyway sync to register added endpoint to application test yml for failing test ... Change-Id: I800f837ea75d7cdff740dc3a387e4d7654cfd085 Issue-ID: SO-972 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-05PNF PnP now always waitsbiniek11-1/+797
Issue-ID: SO-797 Change-Id: I717b987e78680157c4a2c0bf8d497855d1890077 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-08-30fixed case of execution variablesBenjamin, Max (mb388a)1-3/+3
Retrieve correct variables and improve error logging Change-Id: Ia1275e49194657d251779f8862637186d131516b Issue-ID: SO-940 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-28Merge "fixed double encoding issue"Rob Daugherty1-8/+6
2018-08-28fixed incorrect groovy method callBenjamin, Max (mb388a)1-34/+36
Added missing pers to isEmpty and also added relationship present check to prevent null pointer. Change-Id: I7f184c428694e55b75f255d517a53aac7be82aab Issue-ID: SO-924 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-28fixed double encoding issueBenjamin, Max (mb388a)1-8/+6
Changed the way customer and serviceType are extracted to prevent double encoding. Change-Id: I409da51a10ec38623b321985e25b5390ff4fa5d6 Issue-ID: SO-923 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-08-24correct return values of asBeanBenjamin, Max (mb388a)4-13/+13
More adds of Optional<> to other ServiceInstance objects. Change to add the Optional<> to the ServiceInstance object. Change-Id: Ie486122412f9ad3d88ba0cf9df41ec226a4b8982 Issue-ID: SO-900 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>