forked from ustaxcourt/ef-cms
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #291 from ustaxcourt/test
Merge Sprint 43 from test into master
- Loading branch information
Showing
1,784 changed files
with
61,472 additions
and
32,292 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package.json | ||
*.md | ||
*_.js | ||
*_.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,37 @@ | ||
#!/bin/bash | ||
|
||
# usage: | ||
# Deletes existing cases from DynamoDB and ElasticSearch | ||
|
||
# Usage | ||
# ./clear-env.sh $ENV | ||
# where $ENV is dev|stg|prod|test|... | ||
|
||
if [[ -z "${USTC_ADMIN_PASS}" ]]; then | ||
echo "You must have USTC_ADMIN_PASS set in your environment" | ||
exit 1 | ||
fi | ||
# Requirements | ||
# - terraform must be installed on your machine | ||
# - aws cli must be installed on your machine | ||
# - aws credentials must be setup on your machine | ||
# - node must be setup on your machine | ||
|
||
# Arguments | ||
# - $1 - the environment to clear | ||
|
||
[ -z "$1" ] && echo "The branch name to check must be provided as the \$1 argument." && exit 1 | ||
[ -z "${USTC_ADMIN_PASS}" ] && echo "You must have USTC_ADMIN_PASS set in your environment" && exit 1 | ||
[ -z "${AWS_ACCESS_KEY_ID}" ] && echo "You must have AWS_ACCESS_KEY_ID set in your environment" && exit 1 | ||
[ -z "${AWS_SECRET_ACCESS_KEY}" ] && echo "You must have AWS_SECRET_ACCESS_KEY set in your environment" && exit 1 | ||
|
||
ENV=$1 | ||
|
||
$(which terraform) > /dev/null | ||
if [[ "$?" == "1" ]]; then | ||
echo "Terraform was not found on your path. Please install terraform." | ||
exit 1 | ||
fi | ||
|
||
./web-api/clear-elasticsearch-index.sh $1 | ||
./web-api/setup-elasticsearch-index.sh $1 | ||
./web-api/clear-elasticsearch-index.sh $ENV | ||
./web-api/setup-elasticsearch-index.sh $ENV | ||
|
||
pushd web-api | ||
node clear-dynamodb-table.js $1 | ||
./setup-cognito-users.sh $1 | ||
./setup-court-users.sh $1 | ||
node clear-dynamodb-table.js $ENV | ||
./setup-cognito-users.sh $ENV | ||
./setup-court-users.sh $ENV | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nodeEnv: production | ||
nodeEnv: production |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nodeEnv: production | ||
nodeEnv: production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nodeEnv: production | ||
nodeEnv: production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"baseUrl": "http://localhost:5678", | ||
"reporter": "spec", | ||
"reporterOptions": { | ||
"toConsole": true | ||
}, | ||
"defaultCommandTimeout": 20000, | ||
"requestTimeout": 12000, | ||
"viewportWidth": 1200, | ||
"viewportHeight": 900 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.