Skip to content

Commit dbe35cb

Browse files
author
mike dupont
committed
update buildspec
1 parent 939d303 commit dbe35cb

File tree

3 files changed

+922
-1
lines changed

3 files changed

+922
-1
lines changed

.altostra/project.json

+181
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
{
2+
"id": "cloud-deployment-eliza-2",
3+
"name": "cloud-deployment-eliza-2",
4+
"type": "altostra",
5+
"description": "A simple CRUD service template",
6+
"created": "2025-03-05T09:20:09.663Z",
7+
"blueprints": [
8+
{
9+
"connections": {
10+
"ApiEndpoint01": {
11+
"HandleResources01": {
12+
"from": "ApiEndpoint01",
13+
"to": "HandleResources01",
14+
"type": "connection.trigger"
15+
}
16+
},
17+
"ApiEndpoint02": {
18+
"HandleResources01": {
19+
"from": "ApiEndpoint02",
20+
"to": "HandleResources01",
21+
"type": "connection.trigger"
22+
}
23+
},
24+
"ApiEndpoint03": {
25+
"HandleResources01": {
26+
"from": "ApiEndpoint03",
27+
"to": "HandleResources01",
28+
"type": "connection.trigger"
29+
}
30+
},
31+
"ApiEndpoint04": {
32+
"HandleResources01": {
33+
"from": "ApiEndpoint04",
34+
"to": "HandleResources01",
35+
"type": "connection.trigger"
36+
}
37+
},
38+
"Data01": {},
39+
"HandleResources01": {
40+
"Data01": {
41+
"accessLevel": "read-write",
42+
"from": "HandleResources01",
43+
"to": "Data01",
44+
"type": "connection.resource-access"
45+
}
46+
}
47+
},
48+
"id": "cloud-deployment-eliza-2",
49+
"metadata": {
50+
"designer": {
51+
"resourcePositions": {
52+
"Api01": {
53+
"x": 41,
54+
"y": 229,
55+
"z": 0
56+
},
57+
"Data01": {
58+
"x": 645,
59+
"y": 299,
60+
"z": 0
61+
},
62+
"HandleResources01": {
63+
"x": 357,
64+
"y": 300,
65+
"z": 0
66+
}
67+
}
68+
}
69+
},
70+
"name": "cloud-deployment-eliza-2",
71+
"resources": {
72+
"Api01": {
73+
"cors": {
74+
"type": "api.cors.simple",
75+
"origins": "*"
76+
},
77+
"endpoints": [
78+
{
79+
"id": "ApiEndpoint01",
80+
"type": "ref"
81+
},
82+
{
83+
"id": "ApiEndpoint02",
84+
"type": "ref"
85+
},
86+
{
87+
"id": "ApiEndpoint03",
88+
"type": "ref"
89+
},
90+
{
91+
"id": "ApiEndpoint04",
92+
"type": "ref"
93+
}
94+
],
95+
"id": "Api01",
96+
"name": "api",
97+
"type": "resource.api"
98+
},
99+
"ApiEndpoint01": {
100+
"api": {
101+
"id": "Api01",
102+
"type": "ref"
103+
},
104+
"id": "ApiEndpoint01",
105+
"method": "GET",
106+
"name": "api-endpoint-0",
107+
"path": "/resource/{resourceId}",
108+
"type": "resource.api.endpoint"
109+
},
110+
"ApiEndpoint02": {
111+
"api": {
112+
"id": "Api01",
113+
"type": "ref"
114+
},
115+
"id": "ApiEndpoint02",
116+
"method": "POST",
117+
"name": "api-endpoint-0",
118+
"path": "/resource",
119+
"type": "resource.api.endpoint"
120+
},
121+
"ApiEndpoint03": {
122+
"api": {
123+
"id": "Api01",
124+
"type": "ref"
125+
},
126+
"id": "ApiEndpoint03",
127+
"method": "PUT",
128+
"name": "api-endpoint-0",
129+
"path": "/resource/{resourceId}",
130+
"type": "resource.api.endpoint"
131+
},
132+
"ApiEndpoint04": {
133+
"api": {
134+
"id": "Api01",
135+
"type": "ref"
136+
},
137+
"id": "ApiEndpoint04",
138+
"method": "GET",
139+
"name": "api-endpoint-3",
140+
"path": "/resource",
141+
"type": "resource.api.endpoint"
142+
},
143+
"Data01": {
144+
"aws": {
145+
"billingModel": "PROVISIONED",
146+
"throughput": {
147+
"readUnits": 5,
148+
"writeUnits": 5
149+
}
150+
},
151+
"id": "Data01",
152+
"key": {
153+
"hash": {
154+
"name": "pk",
155+
"type": "STRING"
156+
},
157+
"range": {
158+
"name": "sk",
159+
"type": "STRING"
160+
}
161+
},
162+
"name": "data",
163+
"tableName": "data",
164+
"type": "resource.table"
165+
},
166+
"HandleResources01": {
167+
"entryPoint": "functions/handleResources.handler",
168+
"id": "HandleResources01",
169+
"layers": [],
170+
"memory": 512,
171+
"name": "handle-resource",
172+
"runtime": "nodejs16.x",
173+
"timeout": 6,
174+
"type": "resource.compute.function"
175+
}
176+
},
177+
"unsafe": false,
178+
"version": "2019-10-24"
179+
}
180+
]
181+
}

0 commit comments

Comments
 (0)