aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-building-blocks
AgeCommit message (Collapse)AuthorFilesLines
2020-01-24decision point APIeeginux7-0/+234
ControllerRunnable interface: implemented by controller ControllerContext: Controller Context for controller execution ControllerPreparable interface:used to setup execution context ControllerExecutionBB:controller execution for building block ControllerExecutionDE:controller execution for camunda Skeleton implementation for APPC controller Skeleton implementation for SDNC controller Use ControllerExecutionDE for existing PNF configuration. Add integration tests for controllerExecutionBB/DE Add GenericControllerExecution activity for BuildingBlockExecution based Add GenericControllerExecutionDE activity for DelegateExecution based. CDS controller to be implemented by SO-CDS generic buildingBlock Actor seletion based on ingested metadata Issue-ID: SO-2070 Change-Id: I4020c2ce21468939690e2cef78bbadbfff4bd3e4 Signed-off-by: eeginux<henry.xie@est.tech>
2020-01-22Add fluent setters for BuildingBlocks and ExecuteBuildingBlockkjaniak1-12/+4
Test which check more than one functionallity were separarted. Minor code improvements around BB and EBB. Issue-ID: SO-2582 Change-Id: I318f8ac299f7204fdd6799108182a29e519724d9 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2020-01-16Merge "1911 create appc adapter micro service"Steve Smokowski38-174/+277
2020-01-10Align AssignPnfBB with Service Macro CreateRemigiusz Janeczek1-17/+5
-move and align logic of BB delegates with tests -remove unnecessary classes -add tests cases for Pnfs in ExtractPojosForBBTests Issue-ID: SO-2568 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ic48e2c1c6ab852c33837091da3e7916b71c26466
2020-01-101911 create appc adapter micro serviceKuleshov, Elena38-174/+277
Added new appc adapter micro service. Made required code changes to use the new adapter. Issue-ID: SO-2596 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I880ecace64ec85ca4094a82bc1210798fd3bb85d
2019-12-20Externalize AssignPnf Building Block and refactor existing code accordinglyRemigiusz Janeczek1-0/+137
Issue-ID: SO-2568 Change-Id: I1eec15862d6f0b5e8ae4c952b290be8d5fc786dd Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
2019-11-04Call WorkflowActionTasks.sendErrorSyncAck()Gamboa, Gilbert1-1/+1
Call WorkflowActionTasks.sendErrorSyncAck() instead of WorkflowActionTasks.sendSyncAck() from WorkflowActionBB in error handling subroutine. Call WorkflowActionTasks.sendErrorSyncAck() instead of WorkflowActionTasks.sendSyncAck() from WorkflowActionBB in error handling subroutine. Issue-ID: SO-2489 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8c1c2bb6af70d5e76cfbfd3ce54fb506ab653cf7
2019-10-23Adjust listener to actually execute on process endSmokowski, Steven1-164/+167
Adjust listener to actually execute on process end Issue-ID: SO-2481 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I97b284ac2ac14e2052fa845427494406e0274d36
2019-10-21Merge "Removed unused SerializableChecker class; updated imports in ↵Lukasz Muszkieta1-163/+0
SerializationTest class"
2019-10-15Removed unused SerializableChecker class; updatedOleksandr Moliavko1-163/+0
imports in SerializationTest class Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: Ifcbe5352bf5710a3527eeb394e516d3d864537db
2019-10-07Changed task names in bpmnBoslet, Cory1-21/+21
Changed task names in bpmn to be more understandable Issue-ID: SO-2396 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I270dbb6a40fc32eb61b7c382b3a81c98ce97e71a
2019-09-24Update Resume Logic and Add Workflow ListenersSmokowski, Steven1-111/+147
Updated with the error log messages Changed the code to do string compare for eventName update workflowaction to only persist if not resume Issue-ID: SO-2363 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I139f2427ae0f0253a15cc51003318686568cb514
2019-08-08Added null check for listFiles() result to prevent crashOleksandr Moliavko1-10/+17
at iterating through file list; replaced System.out.println calls with logger calls Issue-ID: SO-1841 Signed-off-by: Oleksandr Moliavko <o.moliavko@samsung.com> Change-Id: I6b4a49228903f013127b39244db9d1b67c0ff2f0
2019-08-01Use correct name and id for VNFUnsetClosedLoopDisabledFlagActivityElena Kuleshov2-5/+5
Set name and id for VNFUnsetClosedLoopDisabledFlagActivity to VNFUnsetClosedLoopDisabledFlagActivity Issue-ID: SO-2183 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I401258b2db32c43566019a903a57ca61e30649e0
2019-07-26Use BuildingBlockExecution for PauseForManualTasksElena Kuleshov2-6/+7
Fix variable settings and execution object usage for manual tasks. Issue-ID: SO-2113 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I3fa24d70b46658ce5afcdc843d5482e157641112
2019-07-18Merge "Fixes in WorkflowAction"Steve Smokowski1-2/+3
2019-07-17add query stack data and populate table stepBoslet, Cory2-173/+247
Need to check if audit is enabled first in the delete record task Updates to audit delete redeisgn and data to table Various updates to logging, audit object, added tag to query, updated tag value. Updated write method to make sure an entry for this heat stack doesnt already exist to avoid duplicate entrys Updated unit test to account for get query Added so that id is not hidden from query results Updated the was delete is done plus minor updates. Updated delete method to use resttemplate instead of bowman client Combined the write and get stack data task into the external tasks. Removed the task to delete the stack data from db Updates to junit request id so its not a random id for test Updated service tasks in att BB to call external task Update to be a real uuid format due to failing unit test Updated fields to protected and updated unit test Issue-ID: SO-2111 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com> Change-Id: I8f479a046cf837403f60c330ed6ad8bc08a9c82f
2019-07-12Fixes in WorkflowActionr.bogacki1-2/+3
Fixes in WorkflowAction according to the Sonar analysis: -Fixed String comparison. -Removed unnecessary method parameters. -Updated junit test. Issue-ID: SO-2107 Signed-off-by: Robert Bogacki <r.bogacki@samsung.com> Change-Id: I7522269e237f736521a627bcd1c8f77b0c776a70
2019-07-05mso will support new requeststate valuesGamboa, Gilbert1-101/+103
Support new request status - ROLLED_BACK, ROLLED_BACK_TO_ASSIGNED, ROLLED_BACK_TO_CREATED, and ABORTED. Support new request status - ROLLED_BACK, ROLLED_BACK_TO_ASSIGNED, ROLLED_BACK_TO_CREATED, and ABORTED. Added default FAILED request status in case rollback is not needed. Variable rollbackTargetState needs to be returned to WorkflowAction flow Variable rollbackTargetState needs to in to ExecuteBuildingBlock as well. Add new RequestDb migration file to expand infra_active_requests column request_status to 25 bytes to fit new request states. Change-Id: I0da2f8013001a28dcc20f64eb9455e4cfd3dd197 Issue-ID: SO-2093 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-07-05update bpmn to save extsystemerrorsourcePlummer, Brittany3-59/+77
Added ext error source to workflow exception Updated all lines that create this exception with source Added unit tests and updated existing ones Change-Id: Id9b3b1e6e24368224214a6370ea2d450ae667bfb Issue-ID: SO-2092 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-25Merge remote-tracking branch 'origin/dublin' into 'origin/master'Benjamin, Max (mb388a)1-1/+12
Change-Id: I2b91332563d9c7b0f469c9e45a35cc1376465c5e Issue-ID: SO-2058 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-18pass request-id to adapter call to match searchMnushkin, Dmitry2-0/+2
pass mso-request-id to adapter call to match search Change-Id: Ie9e4f8559fd9153d503ad5913838d7c5d175e7bd Issue-ID: SO-2033 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-18Fixing NullPointerException thrown by EtsiVnfDeleteBBwaqas.ikram1-1/+12
Change-Id: I219989c25f05c94d01c7c697425da93997114216 Issue-ID: SO-2029 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-06-14update multi stage code to accurately skip bbsBenjamin, Max1-1/+1
moved around classes to packages that make more sense updated license headers in java files converted MultiStage logic to FlowManipulator moved tests to new package location and fixed issues allow for custom listeners before flowsToExecute moved validation classes to listener.validation Change-Id: Ic5416812ef9c5611fe19bf9b6aa316373b110ec6 Issue-ID: SO-2021 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-06-06Merge remote-tracking branch 'origin/dublin' into 'origin/master'Steve Smokowski4-10/+16
Change-Id: I551ea3f29a76dc99532455ea4d7e84a316f9bf38 Issue-ID: SO-1980 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2019-06-03Fix ConfigAssignVnfBB and ConfigDeployVnfBBAlexis de Talhouët1-15/+15
Change-Id: If5a175ee26e279cf71e38c996a75fa627e5e2c00 Issue-ID: SO-1981 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-03Fix ConfigAssignVnfBB and ConfigDeployVnfBBAlexis de Talhouët1-15/+15
Change-Id: If5a175ee26e279cf71e38c996a75fa627e5e2c00 Issue-ID: SO-1981 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-02Fixing EtSI BB ClassCastExceptionwaqas.ikram2-3/+3
Change-Id: Ia5a37f80392693f603d6597760ca9725882de169 Issue-ID: SO-1971 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-05-31property to determine if delete audit is neededKalkere Ramesh, Sharan1-1/+1
update the onap delete vf module BB bpmn as well validate formatting of audit tasks code changes added a property to determine if delete audit is needed Change-Id: Id29eed6295ed6623636a4812708e53c5ae440b83 Issue-ID: SO-1964 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-31Fixing Null Value Exceptionwaqas.ikram1-3/+3
Change-Id: I07553affad2297e1fa1e4e67b27bb08c51e4b8c3 Issue-ID: SO-1968 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-05-30Fixing ETSI BB execution failurewaqas.ikram1-3/+9
Change-Id: Icbcd43be40c7717a714bc866bf153ac3ea0e427c Issue-ID: SO-1934 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2019-05-17Altered bpmn and audit behavior on delete vf modBoslet, Cory5-38/+44
Renamed variable from contin to flowShouldContinue. Updated bpmn junits and exceptionbuilder junits. Updated bpmns to use non interrupting escalation event. Altered bpmn and audit behavior on delete vf module Change-Id: I4ade4c934a9193099cfd29d740c68e60633c03e5 Issue-ID: SO-1896 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-16Fix homing gateway in AssignVnfBBMarcus G K Williams1-1/+1
Issue-ID: SO-1870 Change-Id: Id750d961276c5a4074363ed4746e95c9b67cceeb Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-05-10Updated closing gateway to be inclusive instead.Boslet, Cory1-12/+12
Updated closing gateway to be inclusive instead. Change-Id: If877bf71b406d00f7a0e277b88f9e3064e642be0 Issue-ID: SO-1868 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-05-05Check variable to determine audit successBoslet, Cory1-114/+153
Added gateway to check variable to determine audit success due to external task not throwing bpmn error. Change-Id: I35acbb46ea40d83f2af78e2bf99f07193401a2a6 Issue-ID: SO-1832 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-25Merge "Add SO update config file -application.yaml file"Steve Smokowski2-4/+4
2019-04-21Status message for create vf module event auditBenjamin, Max (mb388a)2-145/+308
Added appc to application-test due to new dependency in openstack Updated exception class to inject mock into class for junits. Added error handling support for when create audit fails. Added error handling for when create audit fails and added test Updated test schema file to create table and added field. Updated pom file to relfect typo in change made. Updated locaton of pojos for audit code Updated test schema file to create table and added field. Updated pom file to relfect typo in change made. Comitting files that i forgot to stage from previous commit Updated locaton of pojos for audit code Additional fixes including vnfcname and null check Fixed bug in delete audit failure check and reverted gateway change. Change-Id: I993ce377dd6407960a65b4940d83d8162b24633c Issue-ID: SO-1792 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-20Moved base client to new locationBenjamin, Max (mb388a)2-4/+4
Change-Id: I0d8ab71393935ca791d37bb23340f96b921f5505 Issue-ID: SO-1791 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-11Merge "Fix GR_API Homing"Steve Smokowski5-218/+81
2019-04-11Fix GR_API HomingMarcus G K Williams5-218/+81
This change uses the correct variable name to enable homing in AssignVnfBB. The correct variable to use is not 'callHoming' but 'homing'. Also updated sunnyDayAssignVnfBBTest to use the correct variable and BaseBPMNTest. This change also corrects HomingBB and calls HomingV2 rather than SniroV2 or OofV2. HomingV2 already passes calls to the correct implimentation, no need do this in the BPMN. Issue-ID: SO-1470 Change-Id: I14a77ef75b8b86feed7af3aab4d52c0df5f12886 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2019-04-11corrected inlucde filter for formatterBenjamin, Max (mb388a)1-144/+144
all pom.xml files now have two spaces validation is on for pom.xml files Change-Id: I424ea2e4d6a549f468792e5f90a43f3a97e6c954 Issue-ID: SO-1781 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-10Re-commit some changes which were lostBenjamin, Max (mb388a)2-51/+49
remove unused code Issue-ID: SO-1767 Change-Id: I12b8295ae4a5bc9e9154c8ccd1bb53f70886f929 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08Replaced all tabs with spaces in java and pom.xmlBenjamin, Max (mb388a)81-2692/+2647
Added in maven plugins to enforce coding style rules Added in eclipse java formatting xml Change-Id: I3727bbf4ce8dc66abfd8ad21b6cfd0890c5d3ff0 Issue-ID: SO-1765 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-08SDNHandler callback correlation issue.Benjamin, Max (mb388a)1-35/+35
SDNHandler callback correlation issue. Should not go back to waiting for callback when final_indicator=Y is receibed in callback. Raise an error when responseCode in callback mesage is not 200. Change-Id: Ia55ab5a9bafdfe877a1221b67d5f3258039a3900 Issue-ID: SO-1761 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-06Implement Traffic Distribution BBsElena Kuleshov4-0/+238
Implement Traffic Distribution BBs Change-Id: I193a30a1f7bb353d0e3fbb1460ca5d9840bb5870 Issue-ID: SO-1553 Signed-off-by: Kuleshov, Elena <evn@att.com>
2019-04-05Added Node status monitoringLathish5-16/+310
Issue-ID: SO-1626 Change-Id: I0447549ca1024cd768b2bead2fe351895e314567 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2019-04-04Merge "if audit fails write sub interface data to a ai"Steve Smokowski2-43/+61
2019-04-03Added Delete Job MonitoringLathish2-9/+187
Issue-ID: SO-1729 Change-Id: Ied97d2aafc481cf3fcdc27ee3b4e798c4fb86df4 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2019-04-03if audit fails write sub interface data to a aiBenjamin, Max (mb388a)2-43/+61
added logic to write sub interface information from openstack to a&ai when audit fails to find it Change-Id: I24266812dc60eb69bfd90e3e5b34113e9fd8f4f4 Issue-ID: SO-1737 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2019-04-02Added instatntiation job monitoringLathish2-4/+182
Issue-ID: SO-1630 Change-Id: I2e921f0f86553b804ea119cd640b8c4e1b1195b9 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>