@izara_project/izara-market-library-service-schemas 1.0.45 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/handler/api/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/get/template.ejs +1 -1
- package/src/reStructure/TemplateData/EndpointPerService/mainFunction/update/template.ejs +1 -1
- package/src/reStructure/TemplateData/perActionComplete/create/mainFunction/template.ejs +8 -6
- package/src/reStructure/TemplateData/perActionComplete/get/mainFunction/template.ejs +6 -5
- package/src/reStructure/TemplateData/perActionComplete/update/mainFunction/template.ejs +7 -6
- package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/template.ejs +1 -1
- package/src/reStructure/libs/ValidateAddOnDataStructure.js +1 -1
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ module.exports.main = middleware.wrap(async (event, context, callback) => {
|
|
|
47
47
|
// invoke LambdaFunction
|
|
48
48
|
let lambdaFunctionResponse = await <%- action %>Main(
|
|
49
49
|
event._izContext, // correlationId/logger/integrationTestDetail/uniqueRequestId/userId
|
|
50
|
-
event,
|
|
50
|
+
event.body,
|
|
51
51
|
callingFlowSharedLib.addCallingFlowToPassOnProperties(event)
|
|
52
52
|
|
|
53
53
|
);
|
|
@@ -143,15 +143,17 @@ module.exports.createObjectComplete = async (
|
|
|
143
143
|
_izContext.logger.debug("Send message to OutCreateObjectComplete :::>", sendMessageOutCreateObjectComplete)
|
|
144
144
|
await sns.publishAsync(_izContext, sendMessageOutCreateObjectComplete);
|
|
145
145
|
|
|
146
|
-
|
|
147
|
-
_izContext,
|
|
148
|
-
awaitingStepId,
|
|
149
|
-
pendingStepId
|
|
150
|
-
);
|
|
151
|
-
|
|
146
|
+
|
|
152
147
|
//(<afterSendMessage>)
|
|
153
148
|
//(</afterSendMessage>)
|
|
154
149
|
}
|
|
150
|
+
|
|
151
|
+
await asyncFlowSharedLib.removeAwaitingMultipleStep(
|
|
152
|
+
_izContext,
|
|
153
|
+
awaitingStepId,
|
|
154
|
+
pendingStepId
|
|
155
|
+
);
|
|
156
|
+
|
|
155
157
|
})
|
|
156
158
|
)
|
|
157
159
|
//(<beforeReturn>)
|
|
@@ -107,12 +107,13 @@ module.exports.updateNodeComplete = async (
|
|
|
107
107
|
_izContext.logger.debug("Send Message to OutUpdateNodeComplete::", sendMessageToOutUpdateNodeComplete);
|
|
108
108
|
await sns.publishAsync(_izContext, sendMessageToOutUpdateNodeComplete)
|
|
109
109
|
|
|
110
|
-
await asyncFlowSharedLib.removeAwaitingMultipleStep(
|
|
111
|
-
_izContext,
|
|
112
|
-
awaitingStepId,
|
|
113
|
-
pendingStepId
|
|
114
|
-
);
|
|
115
110
|
}
|
|
111
|
+
|
|
112
|
+
await asyncFlowSharedLib.removeAwaitingMultipleStep(
|
|
113
|
+
_izContext,
|
|
114
|
+
awaitingStepId,
|
|
115
|
+
pendingStepId
|
|
116
|
+
);
|
|
116
117
|
})
|
|
117
118
|
)
|
|
118
119
|
|
|
@@ -107,18 +107,19 @@ module.exports.updateNodeComplete = async (
|
|
|
107
107
|
_izContext.logger.debug("Send Message to OutUpdateNodeComplete::", sendMessageToOutUpdateNodeComplete);
|
|
108
108
|
await sns.publishAsync(_izContext, sendMessageToOutUpdateNodeComplete)
|
|
109
109
|
|
|
110
|
-
await asyncFlowSharedLib.removeAwaitingMultipleStep(
|
|
111
|
-
_izContext,
|
|
112
|
-
awaitingStepId,
|
|
113
|
-
pendingStepId
|
|
114
|
-
);
|
|
115
110
|
}
|
|
111
|
+
|
|
112
|
+
await asyncFlowSharedLib.removeAwaitingMultipleStep(
|
|
113
|
+
_izContext,
|
|
114
|
+
awaitingStepId,
|
|
115
|
+
pendingStepId
|
|
116
|
+
);
|
|
116
117
|
})
|
|
117
118
|
)
|
|
118
119
|
|
|
119
120
|
//(<beforeReturn>)
|
|
120
121
|
//(</beforeReturn>)
|
|
121
|
-
|
|
122
|
+
|
|
122
123
|
return {
|
|
123
124
|
objType: returnValue.objType,
|
|
124
125
|
objInstanceFull: returnValue.objInstanceFull,
|
package/src/reStructure/TemplateData/relationshipPerAction/delete/complete/mainFunction/template.ejs
CHANGED
|
@@ -69,7 +69,7 @@ module.exports.deleteRelationshipComplete = async (
|
|
|
69
69
|
relationshipProperties: returnValue.relationshipProperties,
|
|
70
70
|
graphServiceTag: passBackProperties.passBackProperties.graphServiceTag
|
|
71
71
|
}), // hash id
|
|
72
|
-
PREFIX.
|
|
72
|
+
PREFIX.deleteRel // prefix, use constant further
|
|
73
73
|
)
|
|
74
74
|
|
|
75
75
|
|
|
@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
17
17
|
|
|
18
18
|
'use strict';
|
|
19
19
|
const getObjectSchema = require('@izara_project/izara-core-library-service-schemas/src/GetObjectSchema');
|
|
20
|
-
const { ADD_ON_DATA_STRUCTURE_TYPE } = require('
|
|
20
|
+
const { ADD_ON_DATA_STRUCTURE_TYPE } = require('../../MainLibs/src/Consts');
|
|
21
21
|
|
|
22
22
|
async function validateAddOnDataStructure(
|
|
23
23
|
_izContext,
|