Skip to content

Commit

Permalink
chore(testdata):[#226] change bpns only for umbrella upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jhartmann committed Jul 25, 2024
1 parent b9ff42a commit 1edcba0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions local/testing/testdata/upload-testdata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,15 @@ EDC_UPLOAD_URL=$9

EDC_DATAPLANE_URL=${10}

bpn_regex_pattern='(BPN)(L|S|A)([a-zA-Z0-9]{12})'
replacement=$PROVIDER_BPN

upload_data() {
local filePath="$1"
local policyId="$2"

sed -i -E "s/$bpn_regex_pattern/$replacement/g" "$filePath"

python "$SCRIPT_PATH" \
-f "$filePath" \
-s "$SUBMODEL_URL" \
Expand Down

0 comments on commit 1edcba0

Please sign in to comment.