Skip to content

Commit

Permalink
Merge pull request #1458 from flexion/task/trying_async_true
Browse files Browse the repository at this point in the history
fixing the seed data
  • Loading branch information
codyseibert authored Apr 22, 2019
2 parents cc9c159 + 55e0842 commit d3aad2e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions efcms-service/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ functions:
path: v1/cases/{caseId}/documents/{documentId}/coversheet
method: post
cors: true
async: true
authorizer:
type: COGNITO_USER_POOLS
authorizerId:
Expand Down
2 changes: 1 addition & 1 deletion efcms-service/src/documents/addCoversheetLambda.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports.handler = event =>
const user = getUserFromAuthHeader(event);
const applicationContext = createApplicationContext(user);
try {
applicationContext
await applicationContext
.getUseCases()
.addCoverToPDFDocument({
applicationContext,
Expand Down
3 changes: 3 additions & 0 deletions efcms-service/storage/fixtures/seed/101-19.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"createdAt": "2019-03-01T21:40:46.415Z",
"documentType": "Petition",
"filedBy": "Test Petitioner",
"processingStatus": "complete",
"workItems": [
{
"docketNumberSuffix": "W",
Expand Down Expand Up @@ -45,6 +46,7 @@
"userId": "7805d1ab-18d0-43ec-bafb-654e83405416"
},
{
"processingStatus": "complete",
"createdAt": "2019-03-05T17:34:13.491Z",
"documentType": "Statement of Taxpayer Identification",
"filedBy": "Test Petitioner",
Expand Down Expand Up @@ -122,6 +124,7 @@
"docketNumberSuffix": "W",
"caseStatus": "New",
"document": {
"processingStatus": "complete",
"createdAt": "2019-03-01T21:40:46.415Z",
"documentId": "1f1aa3f7-e2e3-43e6-885d-4ce341588c76",
"documentType": "Petition",
Expand Down
2 changes: 2 additions & 0 deletions efcms-service/storage/fixtures/seed/102-19.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"documents": [
{
"processingStatus": "complete",
"createdAt": "2019-03-01T21:42:29.073Z",
"documentType": "Petition",
"filedBy": "Test Petitioner",
Expand Down Expand Up @@ -56,6 +57,7 @@
"userId": "7805d1ab-18d0-43ec-bafb-654e83405416"
},
{
"processingStatus": "complete",
"createdAt": "2019-03-05T17:34:13.491Z",
"documentType": "Statement of Taxpayer Identification",
"filedBy": "Test Petitioner",
Expand Down
3 changes: 3 additions & 0 deletions efcms-service/storage/fixtures/seed/103-19.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"createdAt": "2019-03-01T22:53:50.098Z",
"documentType": "Petition",
"filedBy": "Test Petitioner",
"processingStatus": "complete",
"workItems": [
{
"docketNumberSuffix": "S",
Expand Down Expand Up @@ -45,6 +46,7 @@
"userId": "7805d1ab-18d0-43ec-bafb-654e83405416"
},
{
"processingStatus": "complete",
"createdAt": "2019-03-05T17:34:13.491Z",
"documentType": "Statement of Taxpayer Identification",
"filedBy": "Test Petitioner",
Expand All @@ -54,6 +56,7 @@
"documentId": "b1aa4aa2-c214-424c-8870-d0049c5744d8"
},
{
"processingStatus": "complete",
"createdAt": "2019-03-01T22:54:05.993Z",
"documentType": "Answer",
"filedBy": "Test Respondent",
Expand Down
3 changes: 3 additions & 0 deletions efcms-service/storage/fixtures/seed/104-19.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"createdAt": "2019-03-05T17:34:13.490Z",
"documentType": "Petition",
"filedBy": "Test Petitioner",
"processingStatus": "complete",
"workItems": [
{
"docketNumberSuffix": null,
Expand Down Expand Up @@ -44,6 +45,7 @@
"userId": "7805d1ab-18d0-43ec-bafb-654e83405416"
},
{
"processingStatus": "complete",
"createdAt": "2019-03-05T17:34:13.491Z",
"documentType": "Statement of Taxpayer Identification",
"filedBy": "Test Petitioner",
Expand All @@ -53,6 +55,7 @@
"documentId": "b1aa4aa2-c214-424c-8870-d0049c5744d8"
},
{
"processingStatus": "complete",
"createdAt": "2019-03-05T17:34:13.491Z",
"documentType": "Ownership Disclosure Statement",
"filedBy": "Test Petitioner",
Expand Down
2 changes: 2 additions & 0 deletions efcms-service/storage/fixtures/seed/105-19.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"createdAt": "2019-03-27T21:53:00.297Z",
"documentType": "Petition",
"filedBy": "Test Practitioner",
"processingStatus": "complete",
"workItems": [
{
"docketNumberSuffix": null,
Expand Down Expand Up @@ -45,6 +46,7 @@
"userId": "9805d1ab-18d0-43ec-bafb-654e83405416"
},
{
"processingStatus": "complete",
"createdAt": "2019-03-27T21:53:00.298Z",
"documentType": "Statement of Taxpayer Identification",
"filedBy": "Test Practitioner",
Expand Down

0 comments on commit d3aad2e

Please sign in to comment.