aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src
AgeCommit message (Collapse)AuthorFilesLines
2019-03-22Merge "Config Assign"Steve Smokowski3-0/+201
2019-03-21Merge "removed extra argument from extractByKey method"Steve Smokowski62-320/+307
2019-03-21Merge "Corrected hibernate for cfvc customization table"Steve Smokowski1-32/+17
2019-03-21Merge "moved object declarations from class level"Steve Smokowski1-3/+6
2019-03-21Merge "Change status from inventoried to assigned"Steve Smokowski2-2/+2
2019-03-21Corrected hibernate for cfvc customization tableBenjamin, Max (mb388a)1-32/+17
fix two tests that did not ignore some properties fix schema sql file that was missing fields Properly wire hibernate entities, clean up db tables Update schema.sql files to be consistent add junit for customization linked to same cvnfc Change-Id: I4bc0a83cb3908f5b34224416e75446b6cd166b9e Issue-ID: SO-1689 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-21removed extra argument from extractByKey methodBenjamin, Max (mb388a)62-320/+307
removed extra argument from extractByKey method Change-Id: I9835672eef5d6ab0c7b0c2b21e5a84be8aa305a7 Issue-ID: SO-1678 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-20moved object declarations from class levelBenjamin, Max (mb388a)1-3/+6
moved object declarations from class level to methods Change-Id: Ifaae789120d5838380840dee4d207495e55dbe5c Issue-ID: SO-1688 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-20Change status from inventoried to assignedBenjamin, Max (mb388a)2-2/+2
change orch status from inventoried to assigned add in rainy day scenario fix fix bpmn rollback condition statement remove connect from config to vf module Change-Id: I84198d56c18e4167d4cfbee0751613fa0386b160 Issue-ID: SO-1686 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-20Config AssignSunilB3-0/+201
Generic Bulding block for assign shall trigger controller for config assign action Change-Id: I2da91cccdbff9eacbb225b7f3a7bdbb253be607a Issue-ID: SO-1481 Change-Id: I2da91cccdbff9eacbb225b7f3a7bdbb253be607a Signed-off-by: sunilb <sb00577584@techmahindra.com>
2019-03-19Add cloudOwner to VNF adapter callEric Multanen1-1/+3
The BPMN layer has the CloudRegion which includes the CloudOwner attribute, but this is not passed to the VNF adapter layer. Calls to the Multicloud infrastructure workload need the CloudOwner as well. This patch adds CloudOwner to the VNF adapter API. While the intended usage is primarily for the multicloud adapter, it touches a log of other files - though those do not make use of it at this point. Change-Id: I88028096fbd84fc3fe5d53786c70b3c8806bb711 Issue-ID: SO-1447 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2019-03-19Merge "Removed MsoLogger class"Steve Smokowski14-55/+53
2019-03-18Removed MsoLogger classr.bogacki14-55/+53
Bye bye MsoLogger class. Extracted constants to separated classes. Fixed imports. Change-Id: I7c8e0527e7dbd097d3ea93b9dab279354652da47 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-15Add VnfInPlaceSoftwareUpdate for WFDBonkur, Venkat (vb8416)4-0/+178
Added CheckPserversLocked,SetClosedLoopDisabled,UnsetClosedLoopDisabled, CheckClosedLoopDisabled, CheckInMain Change-Id: I6405b2c88d2109d952d452648bef2f99be6993df Issue-ID: SO-1518 Signed-off-by: Bonkur, Venkat (vb8416) <vb8416@att.com>
2019-03-15Merge "vfModule id should be retrieved from resourceId"Steve Smokowski4-4/+11
2019-03-14vfModule id should be retrieved from resourceIdBenjamin, Max (mb388a)4-4/+11
fix unit test that was broken because of mapping correctly connect the configuration to vfModule added in mapping of configuration to aai object fix compilation error with mapper layer Fix unit test compare to contain vfnc name Update vnfc to have proper generated serialVersionID Change-Id: I161c73b3ace1e9c5385c028ae65fe5258b4decd5 Issue-ID: SO-1663 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-14Implement ManualHandlingTasksElena Kuleshov3-0/+455
Implement ManualHandlingTasks class to support PauseForManualTasks Change-Id: I6da216a0378d685a8e0c5168ceb8f5a1d9fdc719 Issue-ID: SO-1551 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-03-14Added vnfc support to BB layerBenjamin, Max (mb388a)3-133/+179
added vnfc to gbb for execute bb and bb layer enhance workflow action layer to handle vnfcs Change-Id: I0d39c3aefe66180ed6f2b75a0c946e07ca603261 Issue-ID: SO-1658 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-14Merge "Add APPC-related Activities for WFD"Steve Smokowski1-0/+1
2019-03-14Reduced content of MsoLoggerr.bogacki8-44/+43
Cleaned java code dependencies for 'setLogContext' and 'getServiceName' methods from MsoLogger. Fixed imports. Change-Id: I33251c837088ce580ffa1c44e69766c77283004b Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-13Add APPC-related Activities for WFDElena Kuleshov1-0/+1
Add APP-C related Activities for WFD with JUnits; corrected JUnits Change-Id: I1a7142f692945843e7942b43b6fe68e23ea21e96 Issue-ID: SO-1518 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-03-13Merge "Openstack adapter can't resolve HEAT parameter"Steve Smokowski2-0/+40
2019-03-13Openstack adapter can't resolve HEAT parameterBenjamin, Max (mb388a)2-0/+40
only cast to Element if value is of that type added XmlAccessorType annotations to classes map of string, object now correctly maps with jaxb Null comma delimited lists can convert to null as well Handle null values all types in input parameters map. Change-Id: Ic46ed31c05b8f8551d39b2267ae731829abfc1f0 Issue-ID: SO-1617 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-13Set fromPreload to true for aLaCarte and to falseBenjamin, Max (mb388a)3-4/+4
Set fromPreload to true for aLaCarte and to false for Macro if no usePreload value is specified. Change-Id: I3ca148dc93c03040de32174566dee2bf90851ced Issue-ID: SO-1641 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-12add instance group support to SOBenjamin, Max (mb388a)15-132/+236
add create support add delete support added naming service support Change-Id: Iaf4f2bdae8ea55aca71d6e9b818a76e90db0b012 Issue-ID: SO-1616 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-09connect objects with specific aai edge labelBenjamin, Max (mb388a)2-0/+23
connect vnr configuration to service instances with AAIEdge Change-Id: I88ca7ae1a4f3f8e9628141256d4703ae43518ef2 Issue-ID: SO-1614 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-07Cleaned up MsoLogger from 'so-bpmn-tasks'r.bogacki1-6/+9
Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: I1c971e828d81b49985cb378a2e6389c29c30a905 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-03-06improvements to audit inventory featureBenjamin, Max (mb388a)2-16/+19
Adjust test data to add tenant mapping Remove unused unit test already renamed Update logic, to pass hostname not pservername remove unused file that has been refactored Add project to ignore, remove class Address issues in comments on pull request Remove logging that is not needed, used UPdate BPMN to use Boolean Value, change timings Adjust BPMN to not hit deadlock scenario put error message in execution before checking rollback - removed extra code for vnf resource processing found in onap environment. Fix improper use of inclusive gateway causing deadlock Fix flakey unit tests from ONAP Remove qualifier on bean, as it breaks callbacks Adjust pom version of external camunda client Fix polling timers to be more reasonable Updated Junit test for delete vf module in onap. Changed auditInventoryNeeded variable to a boolean to prevent bpmn from erroring out in the event this variable is not found on the execution. Update logic to support writing of self link Change-Id: I2f784a0a58a09f303775282c9be6019031668570 Issue-ID: SO-1597 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-04skip cloud region validation for nowBenjamin, Max (mb388a)1-0/+2
CloudRegionOrchestration pre-validator should be disabled Change-Id: I0b7579f99a9133f242e9dbd19add1eb06b5da0c1 Issue-ID: SO-1590 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-04Removed inventoryType field checkBenjamin, Max (mb388a)2-53/+40
Removed inventoryType field check instead using identifierType due to sniro defect in their AID. Change-Id: Id18e2e07333bcc10d0f6ea7df2e655177e481211 Issue-ID: SO-1592 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01Merge "Implement a separate task to query CatalogDB for"Steve Smokowski2-0/+164
2019-03-01Merge "use async activity call in UpdateNetwork BB"Steve Smokowski4-37/+82
2019-03-01Implement a separate task to query CatalogDB forBenjamin, Max (mb388a)2-0/+164
Restore script value for the script task Implement a separate task to query CatalogDB for CloudSite info for CM flows. Change-Id: Id9dc4da9a7d50b50b691f30a8e0a5ce68eec1739 Issue-ID: SO-1586 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01use async activity call in UpdateNetwork BBBenjamin, Max (mb388a)4-37/+82
remove references to AIC in comments use async activity call in UpdateNetwork BB Change-Id: I46472571078ac335bc85c865fdd82964b68c0d75 Issue-ID: SO-1583 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01vnf spin up gr api vnf s base module failsBenjamin, Max (mb388a)18-159/+265
map object representations of json back to json strings marshal all objects to json strings before sending all input params converted to Map<String, Object> Updated userParams map from HashMap<String, String> to Map<String, Object> as HashMap<String, String> userParams was causing VNF spin up to fail. Input json in Userparams was not accepted as a valid json format. Updated other files that were affected by this change. Change-Id: I0c00fc00c4c11b54ace4df7be8d5bfc80d41d130 Issue-ID: SO-1582 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-03-01Removed MsoLogger from 'so-bpmn-tasks'r.bogacki46-255/+401
Replaced MsoLogger with plain slf4j. Refactored login output. Fixed imports. Change-Id: I53895308cd3f9fb006738f7aa4d2ba5880ba3d85 Issue-ID: LOG-631 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-26Default fromPreload to false if noBenjamin, Max (mb388a)3-4/+4
Correct JUnit test data for default from-preload value Default fromPreload to false if no requestParameters are available. Change-Id: I20846871958226740e4a5dee90c8e31ff3bdfddf Issue-ID: SO-1572 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-24Add NETWORK_CORRELATOR on network updates asyncBenjamin, Max (mb388a)6-6/+108
added verification for mocked BpmnError add unmarshal test missing in commit add junit for NetworkAdapter Callback success/failure Add NETWORK_CORRELATOR on network updates async etc Change-Id: Ib10709ddb61011aec247e9c020b7ee7c42949118 Issue-ID: SO-1568 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-20assignvfmodulebb must send use-preloadBenjamin, Max (mb388a)5-4/+161
Corrections to JUnit data to account for usePreload usage. Resurrect usage of usePreload value and pass fromPreload to SDNC. Change-Id: I6fb52f6abf09ec501e90335a01e37db1c10ae2b3 Issue-ID: SO-1539 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-20Fixed possible NPE in WorkflowActionr.bogacki2-7/+19
NullPointerException could be thrown in case when resource == null. Change-Id: I1f78e4733187f3086ac1915d2bfb098fb8c4aabd Issue-ID: SO-1530 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
2019-02-19Create Pre Building Block validatorBenjamin, Max (mb388a)2-0/+145
Use Flowvalidator shouldRunFor method to check if flow needs to be validated. Create Pre Building Block validator to check if cloud-region orchestration-disabled is true Change-Id: I2f1dca16c97505292d9b99f7e206713e4963261f Issue-ID: SO-1534 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-19fix sonar potential nullpointerk.kazak2-17/+135
AppcRunTasks: fix potential null pointer if vnf = null AppcRunTasksTest: add tests for this case and the method itself Change-Id: I63b37670541ef5ff31b03b0336d990677b753fc5 Issue-ID: SO-1516 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-02-15Merge "updated camunda springboot version"Steve Smokowski1-2/+9
2019-02-15Merge "Process query of Network Policies from A&AI"Steve Smokowski7-16/+81
2019-02-14updated camunda springboot versionBenjamin, Max (mb388a)1-2/+9
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-14Process query of Network Policies from A&AIBenjamin, Max (mb388a)7-16/+81
Process query of Network Policies from A&AI as a NetworkPolicies object. Change-Id: I01b4c00e3732a5518ddc21d08740c0684de86d5e Issue-ID: SO-1511 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-14always increment gCurrentSequenceBenjamin, Max (mb388a)2-1/+5
always increment gCurrentSequence to properly interact with retry and rollback logic Change-Id: I7e99973682f93f891c8d35a4f3699ba17a05bc15 Issue-ID: SO-1509 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-02-14Merge "fix major sonar bug"Steve Smokowski2-10/+46
2019-02-14Merge "fixed CandidateType json serialization"Steve Smokowski5-61/+8
2019-02-13fixed CandidateType json serializationBenjamin, Max (mb388a)5-61/+8
fixed CandidateType json serialization Change-Id: Icafa5884db5424167c7fac08ad6aae5781bdafa5 Issue-ID: SO-1503 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>