@izara_project/izara-core-generate-service-code 1.0.51 → 1.0.52
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/generators/fromExternalService/externalServiceComponent/lambdaRole/lambdaRole.js +1 -3
- package/src/generators/fromPlugIn/afterFirstFlowStep/recievePlugIn/handler/handler.js +2 -2
- package/src/generators/fromPlugIn/afterFirstFlowStep/sendPlugIn/mainFunction/main.js +1 -1
- package/src/generators/fromPlugIn/firstFlowStep/mainFunction/main.js +1 -1
- package/src/generators/fromPlugIn/firstFlowStep/queueNtopic/queueNtopic.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@izara_project/izara-core-generate-service-code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.52",
|
|
4
4
|
"description": "Code for locally generating per service files",
|
|
5
5
|
"homepage": "https://bitbucket.org/izara-core-support-services/izara-core-support-services-generate-service-code#readme",
|
|
6
6
|
"repository": {
|
package/src/generators/fromExternalService/externalServiceComponent/lambdaRole/lambdaRole.js
CHANGED
|
@@ -112,9 +112,7 @@ async function createExternalLambdaRole(
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
// relationships
|
|
115
|
-
|
|
116
|
-
await getObjectSchema.getAllLocalRelationshipSchema(_izContext, srcPath);
|
|
117
|
-
if (allRelationshipSchemas.length) {
|
|
115
|
+
if (allRelSchemas.length) {
|
|
118
116
|
const graphServiceNames = await getGraphServiceNameFromAllRelSchema(
|
|
119
117
|
_izContext,
|
|
120
118
|
allRelSchemas
|
|
@@ -32,7 +32,7 @@ const templatePathByHandler = {
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
async function data(_izContext, data, appPath) {
|
|
35
|
-
console.log("data in handler recieve plug", data)
|
|
35
|
+
// console.log("data in handler recieve plug", data)
|
|
36
36
|
const createSources = [];
|
|
37
37
|
const functionName = 'recievePlugInHook' + upperCase(data.recieveType);
|
|
38
38
|
let handlerType;
|
|
@@ -41,7 +41,7 @@ async function data(_izContext, data, appPath) {
|
|
|
41
41
|
} else if (data.recieveType === 'async') {
|
|
42
42
|
handlerType = 'hdrWbs';
|
|
43
43
|
};
|
|
44
|
-
console.log("handlerType", handlerType)
|
|
44
|
+
// console.log("handlerType", handlerType)
|
|
45
45
|
createSources.push({
|
|
46
46
|
templatePath: templatePathByHandler[handlerType],
|
|
47
47
|
templateData: {
|
|
@@ -31,7 +31,7 @@ const templateSendPlugin = path.join(__dirname, './templateByConfig/templateSend
|
|
|
31
31
|
const templateAwaitingStep = path.join(__dirname, './templateByConfig/awaitingSteps.ejs');
|
|
32
32
|
|
|
33
33
|
async function data(_izContext, data, appPath) {
|
|
34
|
-
console.log("dataInMain", data)
|
|
34
|
+
// console.log("dataInMain", data)
|
|
35
35
|
const [mainFlow] = await getLocalOrS3FlowSchema(
|
|
36
36
|
_izContext,
|
|
37
37
|
{
|
|
@@ -32,7 +32,7 @@ const templatePathByHandler = {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
async function data(_izContext, data, appPath) {
|
|
35
|
-
console.log('data queue,topic ', data)
|
|
35
|
+
// console.log('data queue,topic ', data)
|
|
36
36
|
if (data.eventFlow === 'extTopic') {
|
|
37
37
|
data.handlerType = 'queueNoTopic';
|
|
38
38
|
}
|