How do I provision a party?
The party stage on its own — the last stage of a full system provision,
for when the tenant is already active and you only need to provision a
root operational party. Tangled into the library as
party_provision.ores.
Question
How do I provision a single root operational party from the shell?
Answer
Log in as the tenant admin and provision party: import the GLEIF
counterparty dataset, publish the party's organisation bundle, create
the report definitions and activate the party. The party is named by
its exact full name (or UUID); BARCLAYS PLC is the GLEIF root from
the Barclays flow.
connect $ORES_NATS_URL login tenant_admin@barclays Secure-Password-123 provision party "BARCLAYS PLC" --dataset-size small --reports all logout exit
./ores.shell ${log_args} ${connect_args} << 'EOF'
<<party-provision>>
EOF
Script
projects/ores.shell/scripts/library/party_provision.ores — generated
from this recipe by compass build --direct tangle_shell_scripts (do not
edit the .ores by hand).
Tested by
Manual: compass shell -f party_provision.ores after the tenant stage.
See also
- How do I provision the system with Barclays (GLEIF)? — the full flow.