Skip to content

Commit 2b2631f

Browse files
authored
Remove compliance policies (#990)
That interface is discontinued Also fix readme fixes AB#10629
1 parent 9829fbb commit 2b2631f

File tree

13 files changed

+28
-830
lines changed

13 files changed

+28
-830
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We'll happily review any suggestions!
1515
1. To begin, pull the latest DataTrails docs from Github.
1616

1717
```bash
18-
git clone git@github.com/datatrails/datatrails-docs.git
18+
git clone git@github.com:datatrails/datatrails-docs.git
1919
```
2020

2121
2. Move into the directory.
@@ -33,7 +33,7 @@ npm install
3333
4. To run a local DataTrails Docs Server, it is advisable to use the `rkvst-doks` wrapper.
3434

3535
```bash
36-
rkvst-doks start
36+
./rkvst-doks start
3737
```
3838

3939
This will build a local version of the server that can be accessed at [http://localhost:1313](https://localhost:1313).

content/developers/api-reference/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ aliases:
2020
<a href="/developers/api-reference/asset-events-api/">Asset-Events API &rarr;</a><br>
2121
<a href="/developers/api-reference/attachments-api/">Attachments API &rarr;</a><br>
2222
<a href="/developers/api-reference/blobs-api/">Blobs API &rarr;</a><br>
23-
<a href="/developers/api-reference/compliance-api/">Compliance API &rarr;</a><br>
2423
<a href="/developers/api-reference/events-api/">Events API &rarr;</a><br>
2524
<a href="/developers/api-reference/iam-policies-api/">IAM Policies API &rarr;</a><br>
2625
<a href="/developers/api-reference/iam-subjects-api/">IAM Subjects API &rarr;</a><br>

content/developers/api-reference/caps-api/index.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ date: 2024-03-05T11:30:29Z
66
lastmod: 2024-03-05T11:30:29Z
77
draft: false
88
images: []
9-
menu:
9+
menu:
1010
developers:
1111
parent: "api-reference"
1212
weight: 999
1313
toc: true
1414
---
1515
{{< note >}}
16-
**Note:** This page is primarily intended for developers who will be writing applications that will use DataTrails for provenance.
17-
If you are looking for a simple way to test our API you might prefer our [Postman collection](https://www.postman.com/datatrails-inc/workspace/datatrails-public/overview), the [YAML runner](/developers/yaml-reference/story-runner-components/) or the [Developers](https://app.datatrails.ai) section of the web UI.
16+
**Note:** This page is primarily intended for developers who will be writing applications that will use DataTrails for provenance.
17+
If you are looking for a simple way to test our API you might prefer our [Postman collection](https://www.postman.com/datatrails-inc/workspace/datatrails-public/overview), the [YAML runner](/developers/yaml-reference/story-runner-components/) or the [Developers](https://app.datatrails.ai) section of the web UI.
1818

1919
Additional YAML examples can be found in the articles in the [Overview](/platform/overview/introduction/) section.
2020
{{< /note >}}
@@ -29,7 +29,7 @@ Retrieve the number of remaining Access Policies:
2929
```bash
3030
curl -g -v -X GET \
3131
-H "@$HOME/.datatrails/bearer-token.txt" \
32-
"https://app.datatrails.ai/archivist/v1/caps?service=access_policies"
32+
"https://app.datatrails.ai/archivist/v1/caps?service=access_policies"
3333
```
3434

3535
The response is:
@@ -49,7 +49,6 @@ These are the available values for "**?service=**":
4949
* applications
5050
* assets
5151
* blobs
52-
* compliance_policies
5352
* locations
5453
* members
5554

content/developers/api-reference/compliance-api/index.md

Lines changed: 0 additions & 276 deletions
This file was deleted.

content/developers/yaml-reference/_index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ draft: false
88
images: []
99
weight: 999
1010
toc: true
11-
aliases:
11+
aliases:
1212
- /docs/yaml-reference/
1313
---
1414
<div class= "row justify-content-center">
@@ -21,7 +21,6 @@ aliases:
2121
<a href="/developers/yaml-reference/events/">Events YAML Runner &rarr;</a><br>
2222
<a href="/developers/yaml-reference/locations/">Locations YAML Runner &rarr;</a><br>
2323
<a href="/developers/yaml-reference/subjects/">Subjects YAML Runner &rarr;</a><br>
24-
<a href="/developers/yaml-reference/compliance/">Compliance Policies YAML Runner &rarr;</a><br>
2524
<a href="/developers/yaml-reference/estate-info/">Estate Information YAML Runner &rarr;</a></p>
2625
</div>
2726
</div>

content/developers/yaml-reference/assets/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ date: 2021-06-09T11:39:03+01:00
66
lastmod: 2021-06-09T11:39:03+01:00
77
draft: false
88
images: []
9-
menu:
9+
menu:
1010
developers:
1111
parent: "yaml-reference"
1212
weight: 202
1313
toc: true
14-
aliases:
14+
aliases:
1515
- /docs/yaml-reference/assets/
1616
---
1717

@@ -23,7 +23,8 @@ aliases:
2323

2424
## Assets Create
2525

26-
Adding an `asset_label` allows your Asset to be referenced in later steps of the story. For example, if you want to add a Compliance Policy for the Asset after it is created.
26+
Adding an `asset_label` allows your Asset to be referenced in later steps of the story.
27+
For example, when you want to add an Event to the Asset after it is created.
2728

2829
The `arc_namespace` (for the Asset) and the `namespace` (for the location) are used to distinguish between Assets and Locations created between runs of the story. Usually, these field values are derived from an environment variable `ARCHIVIST_NAMESPACE` (default value is namespace).
2930

0 commit comments

Comments
 (0)