From b926a99dc1509027b5586c55ff53a0a1824fd63c Mon Sep 17 00:00:00 2001 From: James Herr Date: Tue, 12 Mar 2024 11:21:54 -0500 Subject: [PATCH] Added scripts directory --- scripts/reset.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 scripts/reset.sh diff --git a/scripts/reset.sh b/scripts/reset.sh new file mode 100755 index 000000000..9d6fa6959 --- /dev/null +++ b/scripts/reset.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +#Run in the prime-reportstream repo inside the prime-router folder. + +./gradlew resetDB + +./gradlew reloadTable + +./gradlew flywayRepair + +./gradlew reloadSettings + +./prime multiple-settings set -s -i ./settings/staging/0166-flexion-staging-results-handling.yml + +./prime organization addkey --public-key ~/trusted-intermediary/mock_credentials/organization-trusted-intermediary-public-key-local.pem --scope "flexion.*.report" --orgName flexion --kid flexion.etor-service-sender --doit + +./prime organization addkey --public-key /trusted-intermediary/mock_credentials/organization-trusted-intermediary-public-key-local.pem --scope "flexion.*.report" --orgName flexion --kid flexion.simulated-hospital --doit + +./prime organization addkey --public-key /trusted-intermediary/mock_credentials/organization-trusted-intermediary-public-key-local.pem --scope "flexion.*.report" --orgName flexion --kid flexion.simulated-lab --doit