evt-message_store-postgres-database 0.1.1.0 → 0.1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/database/write-test-message.sh +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3f0119464deb7358e72af477ce52de1af3d5c8648228615bea0e0e919ce75a6
|
4
|
+
data.tar.gz: 832c07900419096ebcfd0711d337d4ce7e5972de3b1eb1ef0e0fe46e79bf8f43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd8b7868db8a306f34c0ad635dc0e32e0dce798016ebaec68f34478ddfd3eb75b352022998b9b1bdfa867b27082563e15ba17b1eaf6f666d86c72141dc8bb5ca
|
7
|
+
data.tar.gz: d3d2091d73e22d914f17bae5949b06e46e78c0239527cd494afdd63021b16bc7b351a74b47f29e744ca55115ce76f2e237efb4f46de39793a12672bc8413d1be
|
@@ -7,19 +7,19 @@ if [ ! -z ${INSTANCES+x} ]; then
|
|
7
7
|
instances=$INSTANCES
|
8
8
|
fi
|
9
9
|
|
10
|
-
stream_name=
|
10
|
+
stream_name="testStream-$(uuidgen)"
|
11
11
|
if [ ! -z ${STREAM_NAME+x} ]; then
|
12
12
|
stream_name=$STREAM_NAME
|
13
13
|
fi
|
14
14
|
|
15
15
|
echo
|
16
|
-
echo "Writing $instances Messages to $stream_name"
|
16
|
+
echo "Writing $instances Messages to Stream $stream_name"
|
17
17
|
echo "= = ="
|
18
18
|
echo
|
19
19
|
|
20
20
|
for (( i=1; i<=instances; i++ )); do
|
21
21
|
uuid=$(uuidgen)
|
22
|
-
echo "Instance: $i, ID: $uuid
|
22
|
+
echo "Instance: $i, Message ID: $uuid"
|
23
23
|
psql message_store -c "SELECT write_message('$uuid'::varchar, '$stream_name'::varchar, 'SomeType'::varchar, '{\"attribute\": \"some value\"}'::jsonb, '{\"metaAttribute\": \"some meta value\"}'::jsonb);" > /dev/null
|
24
24
|
done
|
25
25
|
|