-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-openapi.json
112 lines (112 loc) · 9.34 KB
/
config-openapi.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"defaults": {
},
"Deployments": [
{ "input": ".env.mustache", "output": ".env" },
{ "input": ".gitignore.mustache", "output": ".gitignore" },
{ "input": "package.mustache", "output": "package.json" },
{ "input": "mermaid.mustache", "output": "mermaid.yaml" },
{ "input": "openapi.mustache", "output": "openapi.yaml" },
{ "input": "policy-relationship-role.mustache", "output": "policy-relationship-role.json" },
{ "input": "policy-assume-role.mustache", "output": "policy-assume-role.json" },
{ "input": "deployment.mustache", "output": "{{deploymentNameSnake}}.yaml" },
{ "input": "deployment-push.mustache", "output": "deployment.js" },
{ "input": "policy-deployment.mustache", "output": "policy-deployment.json" },
{ "input": "policy-services.mustache", "output": "policy-services.json" },
{ "input": "policy-execute-api.mustache", "output": "policy-execute-api.json" },
{ "input": "deployment-input.mustache", "output": "{{deploymentNameSnake}}.json" },
{ "input": "code-push.mustache", "output": "code-push.sh" },
{ "input": "code-init.mustache", "output": "code-init.js" },
{ "input": "README.mustache", "output": "README.md" },
{ "input": "debug-tree.mustache", "output": "debug-tree.txt" }
],
"Applications": [
{ "input": ".babelrc.mustache", "output": "{{projectName}}/{{serviceName}}/.babelrc" },
{ "input": "sanitizer.mustache", "output": "{{projectName}}/utils/sanitizer.js" },
{ "input": "openapi.mustache", "output": "{{projectName}}/specs/openapi.yaml" },
{ "input": "logger.mustache", "output": "{{projectName}}/utils/logger.js" },
{ "input": "nginx.conf.mustache", "output": "{{projectName}}/nginx.conf" },
{ "input": "swagger-yaml.mustache", "output": "{{projectName}}/specs/swagger.yaml" },
{ "input": "swagger-json.mustache", "output": "{{projectName}}/specs/swagger.json" },
{ "input": "docker-compose.mustache", "output": "{{projectName}}/docker-compose.yml" },
{ "input": "package.mustache", "output": "{{projectName}}/package.json" },
{ "input": "api-utils.mustache", "output": "{{projectName}}/utils/api-utils.js" },
{ "input": "sigV4Client.mustache", "output": "{{projectName}}/utils/sigV4Client.js" },
{ "input": "app.mustache", "output": "{{projectName}}/app.js" }
],
"Functions": {
"stacked-js": [
{ "input": ".babelrc.mustache", "output": "{{projectName}}/{{serviceName}}/.babelrc" },
{ "input": "package.mustache", "output": "{{projectName}}/{{serviceName}}/package.json" },
{ "input": "app-lambda.mustache", "output": "{{projectName}}/{{serviceName}}/src/app.js" },
{ "input": "openapi.mustache", "output": "{{projectName}}/{{serviceName}}/src/specs/openapi.yaml" },
{ "input": "swagger-yaml.mustache", "output": "{{projectName}}/{{serviceName}}/src/specs/swagger.yaml" },
{ "input": "index-lambda.mustache", "output": "{{projectName}}/{{serviceName}}/src/index.js" },
{ "input": "package-src.mustache", "output": "{{projectName}}/{{serviceName}}/src/package.json" },
{ "input": "package-layer.mustache", "output": "{{projectName}}/{{serviceName}}/src/{{serviceNameSnake}}/package.json" },
{ "input": "sanitizer.mustache", "output": "{{projectName}}/{{serviceName}}/src/utils/sanitizer.js" },
{ "input": "router.mustache", "output": "{{projectName}}/{{serviceName}}/src/utils/router.js" },
{ "input": "logger.mustache", "output": "{{projectName}}/{{serviceName}}/src/utils/logger.js" },
{ "input": "writer.mustache", "output": "{{projectName}}/{{serviceName}}/src/utils/writer.js" },
{ "input": "Dockerfile.mustache", "output": "{{projectName}}/{{serviceName}}/Dockerfile" },
{ "input": "docker-entrypoint.mustache", "output": "{{projectName}}/{{serviceName}}/docker-entrypoint.sh" },
{ "input": "layer-push.mustache", "output": "{{projectName}}/{{serviceName}}/layer-push.js" },
{ "input": "function-push.mustache", "output": "{{projectName}}/{{serviceName}}/function-push.js" },
{ "input": "function-input.mustache", "output": "{{projectName}}/{{serviceName}}/function-input.json" },
{ "input": "sonar-project.mustache", "output": "{{projectName}}/{{serviceName}}/sonar-project.properties" },
{ "input": "sonarqube-scanner.mustache", "output": "{{projectName}}/{{serviceName}}/sonarqube-scanner.sh" },
{ "input": "webpack.config.mustache", "output": "{{projectName}}/{{serviceName}}/webpack.config.js" },
{ "input": "webpack.config.layer.mustache", "output": "{{projectName}}/{{serviceName}}/webpack.config.layer.js" },
{ "input": "index-layer.mustache", "output": "{{projectName}}/{{serviceName}}/src/{{serviceNameSnake}}/index.js"}
],
"flatted-js": [
{ "input": "app-lambda.mustache", "output": "{{projectName}}/{{serviceName}}/src/app.js" },
{ "input": "index-lambda.mustache", "output": "{{projectName}}/{{serviceName}}/src/index.js" },
{ "input": "index-src.mustache", "output": "{{projectName}}/{{serviceName}}/src/{{serviceNameSnake}}/index.js"},
{ "input": "test-unit.spec.mustache", "output": "{{projectName}}/tests/{{serviceName}}/units/{{serviceModelName}}.spec.js" },
{ "input": "test-api.spec.mustache", "output": "{{projectName}}/tests/{{serviceName}}/apis/{{serviceModelName}}.spec.js" },
{ "input": "package-src.mustache", "output": "{{projectName}}/{{serviceName}}/src/package.json" },
{ "input": "logger.mustache", "output": "{{projectName}}/{{serviceName}}/src/utils/logger.js" },
{ "input": "Dockerfile.mustache", "output": "{{projectName}}/{{serviceName}}/Dockerfile" },
{ "input": "docker-entrypoint.mustache", "output": "{{projectName}}/{{serviceName}}/docker-entrypoint.sh" },
{ "input": "function-push.mustache", "output": "{{projectName}}/{{serviceName}}/function-push.js" },
{ "input": "function-input.mustache", "output": "{{projectName}}/{{serviceName}}/function-input.json" },
{ "input": "layer-push.mustache", "output": "{{projectName}}/{{serviceName}}/layer-push.js" },
{ "input": "sonar-project.mustache", "output": "{{projectName}}/{{serviceName}}/sonar-project.properties" },
{ "input": "sonarqube-scanner.mustache", "output": "{{projectName}}/{{serviceName}}/sonarqube-scanner.sh" },
{ "input": "webpack.config.mustache", "output": "{{projectName}}/{{serviceName}}/webpack.config.js" },
{ "input": "webpack.config.layer.mustache", "output": "{{projectName}}/{{serviceName}}/webpack.config.layer.js" },
{ "input": ".babelrc.mustache", "output": "{{projectName}}/{{serviceName}}/.babelrc" },
{ "input": "package.mustache", "output": "{{projectName}}/{{serviceName}}/package.json" }
],
"flatted-py": [
{ "input": "__init__.mustache", "output": "{{projectName}}/{{serviceName}}/src/__init__.py" },
{ "input": "main.mustache", "output": "{{projectName}}/{{serviceName}}/src/main.py" },
{ "input": "index.mustache", "output": "{{projectName}}/{{serviceName}}/src/index.py" },
{ "input": "Dockerfile.mustache", "output": "{{projectName}}/{{serviceName}}/Dockerfile" },
{ "input": "docker-entrypoint.mustache", "output": "{{projectName}}/{{serviceName}}/docker-entrypoint.sh" },
{ "input": "service.mustache", "output": "{{projectName}}/{{serviceName}}/src/{{serviceNameSnake}}.py" },
{ "input": "README.mustache", "output": "{{projectName}}/{{serviceName}}/src/README.md" },
{ "input": "package.mustache", "output": "{{projectName}}/{{serviceName}}/package.json" },
{ "input": "requirements.mustache", "output": "{{projectName}}/{{serviceName}}/src/requirements.txt" },
{ "input": "test-api.spec.mustache", "output": "{{projectName}}/tests/{{serviceName}}/apis/{{serviceModelName}}.spec.js" },
{ "input": "sonar-project.mustache", "output": "{{projectName}}/{{serviceName}}/sonar-project.properties" },
{ "input": "sonarqube-scanner.mustache", "output": "{{projectName}}/{{serviceName}}/sonarqube-scanner.sh" },
{ "input": "function-push.mustache", "output": "{{projectName}}/{{serviceName}}/function-push.js" },
{ "input": "function-input.mustache", "output": "{{projectName}}/{{serviceName}}/function-input.json" },
{ "input": "layer-push.mustache", "output": "{{projectName}}/{{serviceName}}/layer-push.js" }
]
},
"ServiceModel": {
"stacked-js": [
{ "input": "service.mustache", "output": "{{projectName}}/{{serviceName}}/src/{{serviceNameSnake}}/{{serviceModelName}}.js" },
{ "input": "test-unit.spec.mustache", "output": "{{projectName}}/tests/{{serviceName}}/units/{{serviceModelName}}.spec.js" },
{ "input": "test-api.spec.mustache", "output": "{{projectName}}/tests/{{serviceName}}/apis/{{serviceModelName}}.spec.js" }
]
},
"ServiceOperation": {
"stacked-js": [
{ "input": "operation.mustache", "output": "{{projectName}}/{{serviceName}}/src/operations/{{operationId}}.js" }
]
}
}