Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
dff17ad
feat(api-gateway): introduce API Gateway integrations
May 25, 2022
768c4e5
fix(api-gateway): address simple PR feedback
May 31, 2022
d00d31b
feat(api-gateway): support instantiating ApiIntegrations directly
May 31, 2022
ce74a94
feat: refactor to a simpler AwsApiIntegration interface using integra…
Jun 2, 2022
2b38e6f
fix: address PR feedback
Jun 3, 2022
b2712c1
Merge branch 'main' into api-gateway
Jun 5, 2022
8448a41
fix: fix type inference for API GW integrations
Jun 5, 2022
7cf271b
fix: make errors optional
Jun 5, 2022
749c474
chore: set up unit tests for AWS and Mock integrations
Jun 5, 2022
a1c366c
chore: localstack API GW test and fix api-test
Jun 6, 2022
6fba585
fix: skip localstack API GW test
Jun 6, 2022
81b29f6
feat: lambda proxy integration
Jun 6, 2022
a0120a1
chore: update API GW to share VTL implementation from Appsync
Jun 7, 2022
248c2d4
chore: refactor long comments onto new lines
Jun 7, 2022
ab7b911
Merge branch 'main' into sam-api-gateway
Jun 8, 2022
2cc4d59
feat: improve type safety and VTL rendering
Jun 8, 2022
238c54f
fix: constrain JSON serialization and leverage .json() wherever possible
Jun 9, 2022
1789fe3
fix: improve JSON serialization and use #set properly for ExprStmt(Bi…
Jun 9, 2022
8b97f88
fix: compile errors in tests
Jun 9, 2022
9680706
Merge branch 'main' into sam-api-gateway
Jun 9, 2022
eb02c58
fix: getTableArguments and UndefinedLiteralExpr
Jun 9, 2022
7b2a123
fix: compile errors for LambdaProxyApiMethod and other VTL fixes
Jun 9, 2022
20bcfbf
fix: working through feedback
Jun 9, 2022
7252824
fix: move to snapshot tests
Jun 10, 2022
230b534
chore: self mutation
invalid-email-address Jun 10, 2022
bb26056
feat: add IDE-level errors for API gw
Jun 14, 2022
82d19b9
Merge branch 'main' into sam-api-gateway
Jun 16, 2022
764ec58
Merge branch 'main' into sam-api-gateway
Jun 16, 2022
d68db89
chore: stash
Jun 16, 2022
0278d95
fix: number casts
Jun 16, 2022
8f00e7f
Merge branch 'main' into sam-api-gateway
Jun 16, 2022
ca651e7
fix: remove appsync alpha from peerDeps
Jun 17, 2022
6224ba3
chore: feedback
Jun 17, 2022
74436fd
fix: add back in function validation tests
Jun 17, 2022
4f546d6
chore: address freedback with error code comments
Jun 17, 2022
326733d
chore: add reference to issue tracking local stack API GW support
Jun 17, 2022
1f830d7
chore: self mutation
invalid-email-address Jun 17, 2022
3659784
chore: more SynthErrors and IDE errors
Jun 17, 2022
0f4acaf
chore: more feedback
Jun 17, 2022
55c8725
fix: make sure all error codes are unique
Jun 17, 2022
c6eb7ca
fix: .data json path expressions
Jun 17, 2022
3086e3d
fix: .path('$') for .data
Jun 17, 2022
0c29b26
chore: feedback comments.
Jun 17, 2022
8030f19
fix: ExpressStepFunction API
Jun 17, 2022
d48a53b
chore: document IAM service principal
Jun 17, 2022
090924a
chore: self mutation
invalid-email-address Jun 17, 2022
9be04dc
fix: remove newlines from VTL so that Express Step Functions can work
Jun 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,19 @@ const project = new CustomTypescriptProject({
bin: {
functionless: "./bin/functionless.js",
},
deps: ["fs-extra", "minimatch", "@functionless/nodejs-closure-serializer"],
deps: [
"@types/aws-lambda",
"fs-extra",
"minimatch",
"@functionless/nodejs-closure-serializer",
],
devDeps: [
`@aws-cdk/aws-appsync-alpha@${MIN_CDK_VERSION}-alpha.0`,
"@types/fs-extra",
"@types/minimatch",
"@types/uuid",
"amplify-appsync-simulator",
"axios",
"graphql-request",
"ts-node",
"ts-patch",
Expand All @@ -106,6 +112,7 @@ const project = new CustomTypescriptProject({
*/
],
scripts: {
prepare: "ts-patch install -s",
localstack: "./scripts/localstack",
"build:website": "npx tsc && cd ./website && yarn && yarn build",
},
Expand Down Expand Up @@ -164,7 +171,6 @@ project.compileTask.prependExec(
project.testTask.prependExec(
"cd ./test-app && yarn && yarn build && yarn synth"
);
project.testTask.prependExec("ts-patch install -s");
project.testTask.prependExec("./scripts/localstack");
project.testTask.exec("localstack stop");

Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"request": "launch",
"runtimeExecutable": "node",
"runtimeArgs": ["--nolazy"],
"args": ["./lib/app.js"],
"args": ["./lib/api-test.js"],
"outFiles": [
"${workspaceRoot}/lib/**/*.js",
"${workspaceRoot}/test-app/lib/**/*.js",
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
Expand Down
3 changes: 3 additions & 0 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions scripts/compile-test-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ const path = require("path");
const { tsc } = require("../lib/tsc");

(async function () {
await tsc(path.join(__dirname, "..", "test-app"));
})().catch((err) => process.exit(1));
await tsc(path.resolve(__dirname, "..", "test-app"));
})().catch((err) => {
console.error(err);
process.exit(1);
});
Loading