summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common
AgeCommit message (Collapse)AuthorFilesLines
2019-02-18Validate inputs for pnf associationJoanna Jeremicz3-33/+73
Issue-ID: SO-1274 Change-Id: I3fdb66ef4bd259bef46c6f092d7d142b6cb5d9dc Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2019-02-14updated camunda springboot versionBenjamin, Max (mb388a)3-37/+76
Added required unimplemented methods to classes Change-Id: I1ab6333582f2f09c6c363786c8168fdf54936bf8 Issue-ID: SO-1512 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-13Associate PNF instance with ServiceLukasz Muszkieta6-1/+150
Change-Id: I19e25e0daae042b30138bbfc074b0e651b8b1c01 Issue-ID: SO-1274 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-01-28Merge 'origin/casablanca' into masterBenjamin, Max (mb388a)22-97/+691
Issue-ID: SO-1435 Change-Id: If065ef5c91e769452fd6701fa6c28a23b4bdf2b2 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-01-24Removed deprecated Matcher importsBenjamin, Max (mb388a)10-10/+10
replaced org.mockito.Matchers with ArgumentMatchers Change-Id: I2feb4d4fb314cd14aca0719c4cc29b1a0510cbf7 Issue-ID: SO-1413 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-24Fix typosubhash kumar singh1-2/+2
Fix typo for typo in method name. Change-Id: I8dde10a5e161ad376469ff1bdc4d649d7fa89c02 Issue-ID: SO-1422 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2019-01-21Bug fixes from AT&T January 20thBenjamin, Max (mb388a)1-1/+2
sorted vfmodules by base last for negative action reqs store Response in execution as String on network delete added functionality to skip rollback based on flag # Conflicts: # bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflo w/tasks/WorkflowAction.java require XML in the header for delete network request Update APP-C LCM Client library version to 1.7.0. replaced wiremock style test with mockito test Handle AAIClient Exps in CreateCustomerV1 getServiceInstance() changed default status code to be configurable Replace vnfType by nfRole in the healthcheck request to SDNO. updated error messages in sdnc handler and flow status updated flow status message on completion of flow Send GenericVnf object for AAI VNF update for vnf-api updates Add a JUnit test file for SDNOValidatorImpl.java Set nodeType on the inner SDNO request as per update from SDNO. updated rollbackToAssigned logic to remove unassign flows updated sdnc handler error message for client error added exception handling for httpclienterror in sdnc out map workflow exception so error is reported throws sdnc error message on bad response from sdnc add catalog entries for TRANSPORT service delete flows change script number that was duplicate add find method to NorthBoundRequestRepository include serviceType in hash code use asterisk for all non-TRANSPORT flow db entries alacart true, rm not needed transport srvc model steps correct insert query syntax for orchestration_flow support serviceType (TRANSPORT) process flow fix SDNCAdapterException causing no callback to bpmn use JsonAlias for alternate case when deserializing GRM client will accept both "serviceEndPointList" and "ServiceEndPointList" root node in the JSON response. AAIRestClient now uses getSystemName in headers finishtime should not be returned in requeststatus Change-Id: I81a185252b057020f7f36f125c85c3357756da88 Issue-ID: SO-1403 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-17remove unused uuid parameterLukasz Muszkieta1-3/+2
Change-Id: I0c4d5d6fcbf5d7c48c82b4485980adf2fde809cd Issue-ID: SO-729 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-01-15remove unused uuid parameterLukasz Muszkieta5-20/+10
Change-Id: I07793ddafdb8c23ff62ce282c413585c495751ab Issue-ID: SO-729 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-01-14Add missing license headersBenjamin, Max (mb388a)1-0/+20
add headers to files which were missing them Issue-ID: SO-1390 Change-Id: I6c754f72c5d1ef6485d6343aae4b994120901d08 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-11explicitly type defs and strings for templatesBenjamin, Max (mb388a)8-16/+16
explicitly type defs and strings for templates Change-Id: If4af5b0cdf086cd0d30277d1e835e2aa7c8e7f9c Issue-ID: SO-1386 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-11fix jenkins master buildLukasz Muszkieta1-2/+0
Change-Id: If263db591b98af62d9d49d75c602bd5c7966f1e4 Issue-ID: SO-1375 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-01-06Merge "Remove Swagger UI"Seshu Kumar M1-0/+2
2019-01-04Bugfixes for December 2018Benjamin, Max (mb388a)3-49/+42
Changed the way that the cidr is constructed in network utils. added in the if statement to check if selflink already exists removed execution line that was not needed in pull added service instance id to workflowResourceIds for virtualLinkKey network flows wrote test for updating request to complete in db workflow action directly updates db instead of using mso complete process Increase max timeout for SDNO Health Checks dmaap. Added execution variable and corrected type and way data is retrieved to fix defect fixed retry status message in request db for #/5 updated workflowActionBBTasks for flow status message updated flow status to failed on a workflowaction fail Removed slashes and fixed rollbackStatusMessage Updated requestStatus logic for adding status messages Added junit test to validate casue of a defect and cleaned up code and logging added end timestamp to request db on complete request fixed l3Network update of orchestation status in DoUpdateNetworkInstance groovy as well fixed update of l3network orchestration status Add explicit resetting of heatStackId in A&AI to DeleteVfModule and DeleteVolumeGroup BBs. Preserve heatStackId setting in the copiedVfModule when updating the VF Module in A&AI. added functionality to skip rollback based on flag Update snapshot version for logging, add headers fixed optional of error in retrieveErrorMessage method Set heatStackId to null if we want to remove it in A&AI. added in a warn logger statement to keep track of field map network technology from l3network instead of model info for network adapter object mapper Force heatStackId value to empty on an attempt to set it to null on update updated common pom to use aai schema version 1.4.1 removed handle sync error from SDNCHandler bpmn flow Change-Id: I1bd7aa55b06d4e439000b216165c9daafeacc9a4 Issue-ID: SO-1361 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-01-04HttpClientFactory to create HttpClient instancesMichal Kabaj9-48/+36
-Replace constructor calls with existing factory -Add create methods to factory for each required Media Type Change-Id: Ibd03c10230c87a0413c0ec529e0ea9ac800444f9 Issue-ID: SO-1344 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-12-28Merge "Enable use of resource order and input" into casablancaSeshu Kumar M1-1/+1
2018-12-28Merge "Update logging to msoLogger" into casablancaSeshu Kumar M3-189/+92
2018-12-27Merge "Bug fix for getInstnaceId" into casablancaYan Yang2-8/+122
2018-12-27Update logging to msoLoggersubhash kumar singh3-189/+92
Update logging to msoLogger. Change-Id: I24f09f372d4d5c7572ba37fcb5aee1e39b4992fe Issue-ID: SO-1330 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-12-26Update logging to msoLoggersubhash kumar singh3-189/+92
Update logging to msoLogger. Change-Id: I24f09f372d4d5c7572ba37fcb5aee1e39b4992fe Issue-ID: SO-1330 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-12-24Enable use of resource order and inputsubhash kumar singh1-1/+1
Enable use of resource order and input. Change-Id: I4d5b29997068447fc1bc657a6e5ae067d3b43496 Issue-ID: SO-1248 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-12-19Use UUID to fill pnf-id in PNF PnPJoanna Jeremicz8-67/+213
Issue-ID: SO-1272 Change-Id: If516b7ec38dad3fbc7409aff42275a98ef2af76a Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-12-18PNF PnP don't set "in-maint"biniek2-2/+1
Change-Id: I2c68a87d2483ebbd44fbf90f1afced9f02d23ab4 Issue-ID: SO-1345 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-12-18Use UUID to fill pnf-id in PNF PnPJoanna Jeremicz7-43/+195
Issue-ID: SO-1272 Change-Id: If516b7ec38dad3fbc7409aff42275a98ef2af76b Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
2018-12-17Merge "Bug fix for getInstnaceId"Steve Smokowski2-7/+125
2018-12-15Bug fix for getInstnaceId黄卓垚101122152-8/+122
CreateSDNCNetworkResource.afterCreateSDNCCall can't get instance id from getInstnaceId in afterCreateSDNCCall for modelName default case is missing Issue-ID: SO-1331 Change-Id: Ic9dab916cc17f0175c42f915d5acf4f817a4321c Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
2018-12-15Bug fix for getInstnaceIdZhuoyao Huang2-7/+125
CreateSDNCNetworkResource.afterCreateSDNCCall can't get instance id from getInstnaceId for modelName default case is missing Issue-ID: SO-1331 Change-Id: Ia5eb03131a3137e5eede83a97d5b464e66bd2055 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn>
2018-12-13Add junit tests for CatalogDBUtilsLukasz Muszkieta11-93/+26
Change-Id: I1ea3e92b6dcb3fbca837513e11451be47d8c488b Issue-ID: SO-784 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-12-12Merge "use config value instead hard code of url"Seshu Kumar M1-3/+2
2018-12-12Merge "added check for null object"Steve Smokowski1-1/+3
2018-12-12Merge "vfc adapter authentication bug fix"Steve Smokowski3-51/+105
2018-12-12Merge "response from aai is now volumeGroups"Steve Smokowski2-4/+9
2018-12-11response from aai is now volumeGroupsKalkere Ramesh, Sharan (sk720x)2-4/+9
AAI Client response is now expected to be VfModules Change-Id: I13be95496fc711656036dab6c7452638a19139bf Issue-ID: SO-1327 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-12-10Added quriedVolumeGroupId to createvfModuleKalkere Ramesh, Sharan (sk720x)2-0/+2
Added quriedVolumeGroupId to create Change-Id: Ife1ad6b3f96918b9d96b52ea509a85ecada5c74d Issue-ID: SO-1314 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-12-10object type is l3network in docreatenetworkKalkere Ramesh, Sharan (sk720x)1-1/+1
Change-Id: I2d020e89a8411ccfa067e01975945b64598e9159 Issue-ID: SO-1312 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-12-10Merge "Add unit tests for ExternalAPIUtil"Rob Daugherty2-7/+10
2018-12-05dmaap topic listening - bug fixingLukasz Muszkieta1-0/+3
Change-Id: I9116138f81596029b0ba1edc8e7e095498a0772e Issue-ID: SO-1253 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-12-05use config value instead hard code of urlYulian Han1-3/+2
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064411 Issue-ID: SO-1249 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2018-12-04dmaap topic listening - bug fixingLukasz Muszkieta1-7/+11
Change-Id: I9116138f81596029b0ba1edc8e7e095498a0771e Issue-ID: SO-1253 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-12-03added check for null objectChandan Ghosh1-1/+3
added check for null object reported in sonar Issue-ID: SO-1263 Change-Id: I80409dfeb3a7b3f73058cf909710c03a42da6293 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
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-29Remove Swagger UIBenjamin, Max (mb388a)1-0/+2
Remove Swagger UI due to security scan concerns Change-Id: I8c8a0f57f0e91af13280bbb260a67877017b6513 Issue-ID: SO-1227 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-11-29vfc adapter authentication bug fixYulian Han3-51/+105
update OperationStatus Based On ResourceStatus add Authorization header to get csar from db Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064414 Issue-ID: SO-1256 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.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-27Merge "remove unused parameter in methods"Rob Daugherty6-24/+12
2018-11-27Merge "Fix retrieval of resourceInputObj in delete e2e"Chuanyu Chen2-5/+5
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-25Merge "Fix retrieval for SDNC endpoint" into casablancaSeshu Kumar M2-4/+9