@openstax/ts-utils 1.25.1 → 1.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/services/accountsGateway/index.d.ts +13 -3
- package/dist/cjs/services/accountsGateway/index.js +91 -72
- package/dist/cjs/services/launchParams/signer.d.ts +2 -1
- package/dist/cjs/services/launchParams/signer.js +2 -2
- package/dist/cjs/services/lrsGateway/xapiUtils.d.ts +0 -2
- package/dist/cjs/services/lrsGateway/xapiUtils.js +1 -1
- package/dist/cjs/services/searchProvider/index.d.ts +4 -0
- package/dist/cjs/services/searchProvider/memorySearchTheBadWay.d.ts +1 -0
- package/dist/cjs/services/searchProvider/memorySearchTheBadWay.js +15 -1
- package/dist/cjs/services/searchProvider/openSearch.d.ts +1 -0
- package/dist/cjs/services/searchProvider/openSearch.js +23 -13
- package/dist/cjs/tsconfig.without-specs.cjs.tsbuildinfo +1 -1
- package/dist/esm/services/accountsGateway/index.d.ts +13 -3
- package/dist/esm/services/accountsGateway/index.js +92 -73
- package/dist/esm/services/launchParams/signer.d.ts +2 -1
- package/dist/esm/services/launchParams/signer.js +2 -2
- package/dist/esm/services/lrsGateway/xapiUtils.d.ts +0 -2
- package/dist/esm/services/lrsGateway/xapiUtils.js +1 -1
- package/dist/esm/services/searchProvider/index.d.ts +4 -0
- package/dist/esm/services/searchProvider/memorySearchTheBadWay.d.ts +1 -0
- package/dist/esm/services/searchProvider/memorySearchTheBadWay.js +15 -1
- package/dist/esm/services/searchProvider/openSearch.d.ts +1 -0
- package/dist/esm/services/searchProvider/openSearch.js +23 -13
- package/dist/esm/tsconfig.without-specs.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/script/bin/deploy.bash +2 -1
- package/script/bin/init-params-script.bash +10 -5
package/package.json
CHANGED
package/script/bin/deploy.bash
CHANGED
|
@@ -42,7 +42,8 @@ source $(yarn -s ts-utils which init-params-script)
|
|
|
42
42
|
|
|
43
43
|
missing_params=$(get_missing_param_names)
|
|
44
44
|
if [ -n "$missing_params" ]; then
|
|
45
|
-
echo "please upload the following params before deploying:
|
|
45
|
+
echo "please upload the following params before deploying:"
|
|
46
|
+
echo "$missing_params"
|
|
46
47
|
exit 1
|
|
47
48
|
fi
|
|
48
49
|
|
|
@@ -51,12 +51,17 @@ function get_parameter() {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
function get_missing_param_names() {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
for (( i=0; i<${#PARAMS[@]}; i+=10 )); do
|
|
55
|
+
chunk=("${PARAMS[@]:i:10}")
|
|
56
|
+
names=()
|
|
57
|
+
|
|
58
|
+
for param in "${chunk[@]}"; do
|
|
59
|
+
name=$param
|
|
60
|
+
names+=($(get_param_name))
|
|
61
|
+
done
|
|
62
|
+
|
|
63
|
+
aws ssm get-parameters --region "$region" --names "${names[@]}" --query InvalidParameters --output text 2>&1
|
|
58
64
|
done
|
|
59
|
-
aws ssm get-parameters --region "$region" --names "${names[@]}" --query InvalidParameters --output text 2>&1
|
|
60
65
|
}
|
|
61
66
|
|
|
62
67
|
function upload_parameter() {
|