Skip to content

Commit

Permalink
fix(amplify-provider-awscloudformation): invoke api function from inv…
Browse files Browse the repository at this point in the history
…oker plugin (#8274)

* fix(amplify-provider-awscloudformation): invoke api function from invoker plugin

* fix(graphql-index-transformer): update snapshots for tests

* test(amplify-provider-awscloudformation): fix tests for sandbox helpers
  • Loading branch information
danielleadams committed Oct 5, 2021
1 parent f6e1944 commit b418dea
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -764,9 +764,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -779,9 +779,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onUpdateTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -794,9 +794,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
}
`;

Expand Down Expand Up @@ -1466,9 +1466,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -1481,9 +1481,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onUpdateTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -1496,9 +1496,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
}
`;

Expand Down Expand Up @@ -2324,9 +2324,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -2339,9 +2339,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onUpdateTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -2354,9 +2354,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
}
`;

Expand Down Expand Up @@ -3438,9 +3438,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -3453,9 +3453,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onUpdateTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -3468,9 +3468,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
}
`;

Expand Down Expand Up @@ -6494,9 +6494,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateBlog.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateBlog.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onCreateContentCategory.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6509,9 +6509,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateContentCategory.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateContentCategory.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onCreateItem.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6524,9 +6524,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateItem.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateItem.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onCreateTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6539,9 +6539,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onCreateTodo.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6554,9 +6554,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onCreateTodo.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onCreateTodo.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteBlog.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6569,9 +6569,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteBlog.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteBlog.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteContentCategory.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6584,9 +6584,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteContentCategory.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteContentCategory.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteItem.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6599,9 +6599,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteItem.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteItem.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6614,9 +6614,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onDeleteTodo.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6629,9 +6629,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onDeleteTodo.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onDeleteTodo.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onUpdateBlog.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6644,9 +6644,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onUpdateBlog.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onUpdateBlog.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onUpdateItem.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6659,9 +6659,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onUpdateItem.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onUpdateItem.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onUpdateTest.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6674,9 +6674,9 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onUpdateTest.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
"Subscription.onUpdateTodo.postAuth.1.req.vtl": "## [Start] Sandbox Mode Disabled. **
#if( !$ctx.stash.get(\\"hasAuth\\") )
$util.unauthorized()
Expand All @@ -6689,8 +6689,8 @@ $util.toJson({
\\"payload\\": {}
})
## [End] Subscription Request template. **",
"Subscription.onUpdateTodo.res.vtl": "## [Start] Subscription Resonse template. **
"Subscription.onUpdateTodo.res.vtl": "## [Start] Subscription Response template. **
$util.toJson(null)
## [End] Subscription Resonse template. **",
## [End] Subscription Response template. **",
}
`;
Loading

0 comments on commit b418dea

Please sign in to comment.