Skip to content

Commit

Permalink
Merge branch '1.5.0' into 'release'
Browse files Browse the repository at this point in the history
1.5.0

See merge request !23
  • Loading branch information
vamsee committed Jul 20, 2018
2 parents a09ef45 + 4a4008c commit 032045f
Show file tree
Hide file tree
Showing 44 changed files with 3,012 additions and 375 deletions.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ module.exports = function GruntConfig(grunt) {
coverage: {
src: [
'test/*.js',
'test/activiti-integeration/*.js'
'test/activiti-integeration/*.js',
'test/cluster-test/recovery-test.js'
],
options: {
excludes: [],
Expand Down
13 changes: 12 additions & 1 deletion common/mixins/lib/maker-checker-helper-v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ exports._endWorkflowRequest = function _endWorkflowRequest(engineType, processId
var RequestModel;

if (engineType === 'oe-workflow') {
// RequestModel = app.models.ChangeWorkflowRequest;
RequestModel = loopback.getModel('ChangeWorkflowRequest', options);
} else {
RequestModel = app.models.Activiti_WorkflowRequest;
Expand Down Expand Up @@ -95,6 +94,8 @@ function rejectedDeleteInstance(app, request, options, next) {
}
var updates = {
status: 'complete',
verificationStatus: 'rejected',
remarks: options.__comments__ || '',
_verifiedBy: _verifiedBy,
_version: request._version
};
Expand Down Expand Up @@ -123,6 +124,8 @@ function approvedDeleteInstance(app, request, options, next) {
}
var updates = {
status: 'complete',
verificationStatus: 'approved',
remarks: options.__comments__ || '',
_verifiedBy: _verifiedBy,
_version: request._version
};
Expand All @@ -145,6 +148,8 @@ function rejectedUpdateInstance(app, request, options, next) {
}
var updates = {
status: 'complete',
verificationStatus: 'rejected',
remarks: options.__comments__ || '',
_verifiedBy: _verifiedBy,
_version: request._version
};
Expand Down Expand Up @@ -195,6 +200,8 @@ function approvedUpdateInstance(app, request, wfupdates, options, next) {
}
var updates = {
status: 'complete',
verificationStatus: 'approved',
remarks: options.__comments__ || '',
_verifiedBy: _verifiedBy,
_version: request._version
};
Expand All @@ -218,6 +225,8 @@ function rejectedCreateInstance(app, request, options, next) {
}
var updates = {
status: 'complete',
verificationStatus: 'rejected',
remarks: options.__comments__ || '',
_verifiedBy: _verifiedBy,
_version: request._version
};
Expand Down Expand Up @@ -253,6 +262,8 @@ function approvedCreateInstance(app, request, wfupdates, options, next) {
}
var updates = {
status: 'complete',
verificationStatus: 'approved',
remarks: options.__comments__ || '',
_verifiedBy: _verifiedBy,
_version: request._version
};
Expand Down
Loading

0 comments on commit 032045f

Please sign in to comment.