Skip to content

Commit

Permalink
try breaking up the seed data
Browse files Browse the repository at this point in the history
  • Loading branch information
kristin-at-theta committed Oct 17, 2023
1 parent 1075381 commit 6671525
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 169 deletions.
168 changes: 0 additions & 168 deletions services/app-api/one-seed.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,174 +79,6 @@
"status": "active",
"territory": "N/A"
},
{
"doneByName": "Teresa Test",
"status": "active",
"Latest": "3",
"GSI1sk": "Boss",
"email": "[email protected]",
"fullName": "Ronald Revoked",
"doneByEmail": "[email protected]",
"GSI1pk": "USER",
"GSI2pk": "defaultcmsuser#N/A",
"GSI2sk": "active",
"date": 1617149287000,
"role": "defaultcmsuser",
"territory": "N/A",
"sk": "v0#defaultcmsuser#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Ronald Revoked",
"date": 1617149285000,
"role": "defaultcmsuser",
"territory": "N/A",
"status": "active",
"sk": "v1#defaultcmsuser#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149286000,
"role": "defaultcmsuser",
"territory": "N/A",
"status": "revoked",
"sk": "v2#defaultcmsuser#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149287000,
"role": "defaultcmsuser",
"territory": "N/A",
"status": "active",
"sk": "v3#defaultcmsuser#N/A",
"pk": "[email protected]"
},
{
"doneByName": "Teresa Test",
"status": "revoked",
"Latest": "1",
"GSI1sk": "cmsroleapprover",
"email": "[email protected]",
"fullName": "Ronald Revoked",
"doneByEmail": "[email protected]",
"GSI1pk": "USER",
"GSI2pk": "cmsreviewer#N/A",
"GSI2sk": "revoked",
"date": 1617149287000,
"role": "cmsreviewer",
"territory": "N/A",
"sk": "v0#cmsreviewer#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Ronald Revoked",
"date": 1617149285000,
"role": "cmsreviewer",
"territory": "N/A",
"status": "pending",
"sk": "v1#cmsreviewer#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149286000,
"role": "cmsreviewer",
"territory": "N/A",
"status": "active",
"sk": "v2#cmsreviewer#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149287000,
"role": "cmsreviewer",
"territory": "N/A",
"status": "revoked",
"sk": "v3#cmsreviewer#N/A",
"pk": "[email protected]"
},
{
"doneByName": "Teresa Test",
"status": "denied",
"Latest": "1",
"GSI1sk": "cmsroleapprover",
"email": "[email protected]",
"fullName": "Daniel Denied",
"doneByEmail": "[email protected]",
"GSI1pk": "USER",
"GSI2pk": "statesystemadmin#MI",
"GSI2sk": "denied",
"date": 1617149287000,
"role": "statesystemadmin",
"territory": "MI",
"sk": "v0#statesystemadmin#MI",
"pk": "[email protected]"
},
{
"doneByName": "Teresa Test",
"status": "denied",
"Latest": "1",
"GSI1sk": "cmsroleapprover",
"email": "[email protected]",
"fullName": "Daniel Denied",
"doneByEmail": "[email protected]",
"GSI1pk": "USER",
"GSI2pk": "statesystemadmin#VA",
"GSI2sk": "denied",
"date": 1617149287000,
"role": "statesystemadmin",
"territory": "VA",
"sk": "v0#statesystemadmin#VA",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Daniel Denied",
"date": 1617149286000,
"role": "statesystemadmin",
"territory": "MI",
"status": "pending",
"sk": "v1#statesystemadmin#MI",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149287000,
"role": "statesystemadmin",
"territory": "MI",
"status": "denied",
"sk": "v2#statesystemadmin#MI",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Daniel Denied",
"date": 1617149286000,
"role": "statesystemadmin",
"territory": "VA",
"status": "denied",
"sk": "v1#statesystemadmin#VA",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149287000,
"role": "statesystemadmin",
"territory": "VA",
"status": "denied",
"sk": "v2#statesystemadmin#VA",
"pk": "[email protected]"
},
{
"doneByName": "Teresa Test",
"status": "denied",
Expand Down
94 changes: 94 additions & 0 deletions services/app-api/seed-data/user/cmsreviewerrevoked.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
[ {
"doneByName": "Teresa Test",
"status": "active",
"Latest": "3",
"GSI1sk": "Boss",
"email": "[email protected]",
"fullName": "Ronald Revoked",
"doneByEmail": "[email protected]",
"GSI1pk": "USER",
"GSI2pk": "defaultcmsuser#N/A",
"GSI2sk": "active",
"date": 1617149287000,
"role": "defaultcmsuser",
"territory": "N/A",
"sk": "v0#defaultcmsuser#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Ronald Revoked",
"date": 1617149285000,
"role": "defaultcmsuser",
"territory": "N/A",
"status": "active",
"sk": "v1#defaultcmsuser#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149286000,
"role": "defaultcmsuser",
"territory": "N/A",
"status": "revoked",
"sk": "v2#defaultcmsuser#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149287000,
"role": "defaultcmsuser",
"territory": "N/A",
"status": "active",
"sk": "v3#defaultcmsuser#N/A",
"pk": "[email protected]"
},
{
"doneByName": "Teresa Test",
"status": "revoked",
"Latest": "1",
"GSI1sk": "cmsroleapprover",
"email": "[email protected]",
"fullName": "Ronald Revoked",
"doneByEmail": "[email protected]",
"GSI1pk": "USER",
"GSI2pk": "cmsreviewer#N/A",
"GSI2sk": "revoked",
"date": 1617149287000,
"role": "cmsreviewer",
"territory": "N/A",
"sk": "v0#cmsreviewer#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Ronald Revoked",
"date": 1617149285000,
"role": "cmsreviewer",
"territory": "N/A",
"status": "pending",
"sk": "v1#cmsreviewer#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149286000,
"role": "cmsreviewer",
"territory": "N/A",
"status": "active",
"sk": "v2#cmsreviewer#N/A",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149287000,
"role": "cmsreviewer",
"territory": "N/A",
"status": "revoked",
"sk": "v3#cmsreviewer#N/A",
"pk": "[email protected]"
}]
74 changes: 74 additions & 0 deletions services/app-api/seed-data/user/statesystemadmindenied.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
[{
"doneByName": "Teresa Test",
"status": "denied",
"Latest": "1",
"GSI1sk": "cmsroleapprover",
"email": "[email protected]",
"fullName": "Daniel Denied",
"doneByEmail": "[email protected]",
"GSI1pk": "USER",
"GSI2pk": "statesystemadmin#MI",
"GSI2sk": "denied",
"date": 1617149287000,
"role": "statesystemadmin",
"territory": "MI",
"sk": "v0#statesystemadmin#MI",
"pk": "[email protected]"
},
{
"doneByName": "Teresa Test",
"status": "denied",
"Latest": "1",
"GSI1sk": "cmsroleapprover",
"email": "[email protected]",
"fullName": "Daniel Denied",
"doneByEmail": "[email protected]",
"GSI1pk": "USER",
"GSI2pk": "statesystemadmin#VA",
"GSI2sk": "denied",
"date": 1617149287000,
"role": "statesystemadmin",
"territory": "VA",
"sk": "v0#statesystemadmin#VA",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Daniel Denied",
"date": 1617149286000,
"role": "statesystemadmin",
"territory": "MI",
"status": "pending",
"sk": "v1#statesystemadmin#MI",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149287000,
"role": "statesystemadmin",
"territory": "MI",
"status": "denied",
"sk": "v2#statesystemadmin#MI",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Daniel Denied",
"date": 1617149286000,
"role": "statesystemadmin",
"territory": "VA",
"status": "denied",
"sk": "v1#statesystemadmin#VA",
"pk": "[email protected]"
},
{
"doneByEmail": "[email protected]",
"doneByName": "Teresa Test",
"date": 1617149287000,
"role": "statesystemadmin",
"territory": "VA",
"status": "denied",
"sk": "v2#statesystemadmin#VA",
"pk": "[email protected]"
}]
2 changes: 1 addition & 1 deletion services/app-api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ custom:
domain:
sources:
- table: ${self:custom.oneMacTableName}
sources: [./one-seed.json]
sources: [./one-seed.json,./seed-data/*]
serverless-offline:
allowCache: true
associateWaf:
Expand Down

0 comments on commit 6671525

Please sign in to comment.