Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
208 changes: 208 additions & 0 deletions config/snippet-config/splice-snippet-list-remote.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"traffic parameters": "/global-synchronizer/deployment/synchronizer-traffic#traffic-parameters",
"traffic_accounting": "/global-synchronizer/deployment/synchronizer-traffic#traffic-accounting-what-counts-as-traffic"
},
"urlSubstitutions": {
"https://docs.daml.com/canton/usermanual/kms/kms_aws_setup.html": "[Canton KMS operations](/global-synchronizer/production-operations/kms-operations#configure-a-amazon-web-services-aws-kms)",
"https://docs.daml.com/canton/usermanual/kms/kms_gcp_setup.html": "[Canton KMS operations](/global-synchronizer/production-operations/kms-operations#configure-a-google-cloud-provider-gcp-kms)"
},
"snippets": [
{
"snippetName": "splice-literal-full-apps-app-src-pack-examples-recovery-manual-identities-dump",
Expand All @@ -21,6 +25,30 @@
"language": "scala"
}
},
{
"snippetName": "splice-literal-full-apps-app-src-pack-examples-sv-helm-kms-participant-aws-values",
"sourceRepo": "splice",
"sourceFilepath": "apps/app/src/pack/examples/sv-helm/kms-participant-aws-values.yaml",
"location": {
"type": "fullFile"
},
"description": "",
"options": {
"language": "yaml"
}
},
{
"snippetName": "splice-literal-full-apps-app-src-pack-examples-sv-helm-kms-participant-gcp-values",
"sourceRepo": "splice",
"sourceFilepath": "apps/app/src/pack/examples/sv-helm/kms-participant-gcp-values.yaml",
"location": {
"type": "fullFile"
},
"description": "",
"options": {
"language": "yaml"
}
},
{
"snippetName": "splice-literal-marker-apps-app-src-pack-examples-sv-helm-standalone-validator-values-configuring-topup-start",
"sourceRepo": "splice",
Expand Down Expand Up @@ -1871,6 +1899,21 @@
"normalizeIndent": false
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-disaster-recovery-bash-140",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_disaster_recovery.rst",
"location": {
"type": "lines",
"start": 140,
"end": 142
},
"description": "",
"options": {
"language": "bash",
"normalizeIndent": false
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-disaster-recovery-none-240",
"sourceRepo": "splice",
Expand Down Expand Up @@ -1946,6 +1989,66 @@
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-disaster-recovery-none-355",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_disaster_recovery.rst",
"location": {
"type": "lines",
"start": 355,
"end": 384
},
"description": "",
"options": {
"language": "",
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-disaster-recovery-none-397",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_disaster_recovery.rst",
"location": {
"type": "lines",
"start": 397,
"end": 413
},
"description": "",
"options": {
"language": "",
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-disaster-recovery-none-419",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_disaster_recovery.rst",
"location": {
"type": "lines",
"start": 419,
"end": 435
},
"description": "",
"options": {
"language": "",
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-disaster-recovery-none-451",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_disaster_recovery.rst",
"location": {
"type": "lines",
"start": 451,
"end": 453
},
"description": "",
"options": {
"language": "",
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-disaster-recovery-none-485",
"sourceRepo": "splice",
Expand Down Expand Up @@ -2081,6 +2184,111 @@
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-helm-bash-545",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_helm.rst",
"location": {
"type": "lines",
"start": 545,
"end": 548
},
"description": "",
"options": {
"language": "bash",
"normalizeIndent": false
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-helm-bash-557",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_helm.rst",
"location": {
"type": "lines",
"start": 557,
"end": 557
},
"description": "",
"options": {
"language": "bash",
"normalizeIndent": false
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-helm-bash-598",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_helm.rst",
"location": {
"type": "lines",
"start": 598,
"end": 598
},
"description": "",
"options": {
"language": "bash",
"normalizeIndent": false
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-helm-bash-642",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_helm.rst",
"location": {
"type": "lines",
"start": 642,
"end": 642
},
"description": "",
"options": {
"language": "bash",
"normalizeIndent": false
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-helm-yaml-566",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_helm.rst",
"location": {
"type": "lines",
"start": 566,
"end": 576
},
"description": "",
"options": {
"language": "yaml",
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-helm-yaml-584",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_helm.rst",
"location": {
"type": "lines",
"start": 584,
"end": 590
},
"description": "",
"options": {
"language": "yaml",
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-helm-yaml-607",
"sourceRepo": "splice",
"sourceFilepath": "docs/src/validator_operator/validator_helm.rst",
"location": {
"type": "lines",
"start": 607,
"end": 635
},
"description": "",
"options": {
"language": "yaml",
"normalizeIndent": "baseline"
}
},
{
"snippetName": "splice-rst-code-docs-src-validator-operator-validator-onboarding-bash-107",
"sourceRepo": "splice",
Expand Down
8 changes: 5 additions & 3 deletions docs-main/appdev/modules/m4-json-api-tutorial.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Look for the `createdEvent` section, which contains contract details like:
```

### Troubleshooting
If you encounter issues while calling the using curl - you should enable `-v` (verbose) mode to see the request and response details. For instance: .. code-block:
If you encounter issues while calling the using curl - you should enable `-v` (verbose) mode to see the request and response details. For instance:

```bash
curl -v -d '{"partyIdHint":"Alice", "identityProviderId": ""}' -H "Content-Type: application/json" -X POST localhost:7575/v2/parties
Expand All @@ -249,9 +249,11 @@ Http response different than 200 (e.g., 400, 404, etc.) indicates an error. The

If it does not help, read logs available in the canton sandbox terminal or in the file `\<canton_installation\>/logs/canton.log`.

If nothing is returned when you query `localhost:7575/v2/state/active-contracts` ensure that the offset provided is correct and corresponds to the `completionOffset` from the `localhost:7575/v2/commands/submit-and-wait` command. You can also check current offset by running: .. code-block:
If nothing is returned when you query `localhost:7575/v2/state/active-contracts` ensure that the offset provided is correct and corresponds to the `completionOffset` from the `localhost:7575/v2/commands/submit-and-wait` command. You can also check current offset by running:

curl localhost:7575/v2/state/ledger-end
```bash
curl localhost:7575/v2/state/ledger-end
```

### Next steps
#### Canton examples
Expand Down
Loading
Loading