Skip to content

Commit 9309353

Browse files
authored
Change company Name (#86)
AB#8752
1 parent 542adf9 commit 9309353

38 files changed

Lines changed: 165 additions & 158 deletions

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RKVST observes the [CNCF Community Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md), reproduced below for emphasis.
1+
DataTrails observes the [CNCF Community Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md), reproduced below for emphasis.
22

33
### Contributor Code of Conduct
44

@@ -32,7 +32,7 @@ Conduct may be permanently removed from the project team.
3232
This code of conduct applies both within project spaces and in public spaces
3333
when an individual is representing the project or its community.
3434

35-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting an RKVST administrator on <support@rkvst.com>.
35+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting an DataTrails administrator on <support@datatrails.ai>.
3636

3737
This Code of Conduct is adapted from the Contributor Covenant
3838
(http://contributor-covenant.org), version 1.2.0, available at

DEVELOPERS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# rkvst-samples - developers
1+
# datatrails-samples - developers
22

3-
Sample python code that uses the rkvst python SDK to manage particular types of assets
3+
Sample python code that uses the datatrails python SDK to manage particular types of assets
44
such as 'doors', 'cards', 'containers' etc.
55

66
This document describes how to test any modifications made to the codebase.
@@ -12,7 +12,7 @@ Required tools for modifying this repo are task-runner and docker-ce.
1212
- Install task runner: https://github.com/go-task/task
1313
- Install docker-ce: https://docs.docker.com/get-docker/
1414

15-
A running rkvst instance which allows creation of arbitrary assets etc. This is usually
15+
A running datatrails instance which allows creation of arbitrary assets etc. This is usually
1616
a test or demo system and **not** a production system.
1717

1818
# Running the samples code
@@ -32,10 +32,10 @@ task api
3232
## Authorization
3333

3434
Add a token to the file credentials/.auth_token and set some environment vars to
35-
specify the rkvst endpoint:
35+
specify the datatrails endpoint:
3636

3737
```bash
38-
export TEST_ARCHIVIST="https://app.rkvst.io"
38+
export TEST_ARCHIVIST="https://app.datatrails.ai"
3939
export TEST_AUTHTOKEN_FILENAME=credentials/.auth_token
4040
export TEST_NAMESPACE="unique label"
4141
export TEST_VERBOSE=-v

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019-2022 RKVST
3+
Copyright (c) 2019-2022 DataTrails
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# rkvst-samples
1+
# datatrails-samples
22

3-
Sample python code that uses the rkvst python SDK to manage particular types of assets
3+
Sample python code that uses the datatrails python SDK to manage particular types of assets
44
such as 'doors', 'cards', 'containers' etc.
55

66
# Installing the samples code
@@ -10,7 +10,7 @@ Python 3.8 and later versions are supported.
1010
Use the standard python pip utility:
1111

1212
```bash
13-
python3 -m pip install --user rkvst-samples
13+
python3 -m pip install --user datatrails-samples
1414
```
1515

1616
and this will create 7 entry points:
@@ -30,7 +30,7 @@ Add a token to the file credentials/.auth_token and set some environment vars to
3030
specify the archivist endpoint:
3131

3232
```bash
33-
export TEST_ARCHIVIST="https://app.rkvst.io"
33+
export TEST_ARCHIVIST="https://app.datatrails.ai"
3434
export TEST_AUTHTOKEN_FILENAME=credentials/.auth_token
3535
export TEST_NAMESPACE="unique label"
3636
export TEST_VERBOSE=-v
@@ -44,7 +44,7 @@ TEST_PROOF_MECHANISM should be "KHIPU" or "SIMPLE_HASH". If unspecified the defa
4444
Windows using Powershell - at the command prompt set values for environment variables:
4545

4646
```bash
47-
$Env:TEST_ARCHIVIST="https://app.rkvst.io"
47+
$Env:TEST_ARCHIVIST="https://app.datatrails.ai"
4848
$Env:TEST_AUTHTOKEN_FILENAME = '<path of token location>'
4949
$Env:TEST_NAMESPACE = Get-Date -UFormat %s
5050
$Env:TEST_VERBOSE = '-v'

Taskfile.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@ tasks:
1212
api:
1313
desc: Build a docker environment with the right dependencies and utilities
1414
cmds:
15-
- docker build --no-cache --build-arg VERSION=3.8 -f Dockerfile -t rkvst-samples-api .
15+
- docker build --no-cache --build-arg VERSION=3.8 -f Dockerfile -t datatrails-samples-api .
1616

1717
api-3.9:
1818
desc: Build a docker environment with the right dependencies and utilities
1919
cmds:
20-
- docker build --no-cache --build-arg VERSION=3.9 -f Dockerfile -t rkvst-samples-api .
20+
- docker build --no-cache --build-arg VERSION=3.9 -f Dockerfile -t datatrails-samples-api .
2121

2222
api-3.10:
2323
desc: Build a docker environment with the right dependencies and utilities
2424
cmds:
25-
- docker build --no-cache --build-arg VERSION=3.10 -f Dockerfile -t rkvst-samples-api .
25+
- docker build --no-cache --build-arg VERSION=3.10 -f Dockerfile -t datatrails-samples-api .
2626

2727
api-3.11:
2828
desc: Build a docker environment with the right dependencies and utilities
2929
cmds:
30-
- docker build --no-cache --build-arg VERSION=3.11 -f Dockerfile -t rkvst-samples-api .
30+
- docker build --no-cache --build-arg VERSION=3.11 -f Dockerfile -t datatrails-samples-api .
3131

3232
api-3.12:
3333
desc: Build a docker environment with the right dependencies and utilities
3434
cmds:
35-
- docker build --no-cache --build-arg VERSION=3.12 -f Dockerfile -t rkvst-samples-api .
35+
- docker build --no-cache --build-arg VERSION=3.12 -f Dockerfile -t datatrails-samples-api .
3636

3737
check:
3838
desc: Check the style, bug and quality of the code

archivist_samples/c2pa/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# C2PA Sample
22

3-
The purpose of this sample is to demonstrate how one can record and trace the lifecycle of an embedded file manifest within RKVST thus providing a historical chain of events of wanted or unwanted changes and/or updates.
3+
The purpose of this sample is to demonstrate how one can record and trace the lifecycle of an embedded file manifest within DataTrails thus providing a historical chain of events of wanted or unwanted changes and/or updates.
44

55
Note: For clarity and simplicity this sample does not show how to create the C2PA manifest itself, but rather uses pre-prepared files generated by the standard c2patool.
66

77
## Pre-requisites
88

99
* Python 3.8 and later versions are supported.
1010

11-
* Install the [RKVST samples Python package](https://pypi.org/project/rkvst-samples/ "PyPi package page")
11+
* Install the [DataTrails samples Python package](https://pypi.org/project/datatrails-samples/ "PyPi package page")
1212

13-
* Get an authorization bearer token and store it in the file `credentials/.auth_token`. If you don't know how to do this, please refer to the [RKVST documentation](https://docs.rkvst.com/docs/rkvst-basics/getting-access-tokens-using-app-registrations/ "Getting an auth token"). Make sure that the `credentials` folder is suitably restricted by disallowing root and group access.
13+
* Get an authorization bearer token and store it in the file `credentials/.auth_token`. If you don't know how to do this, please refer to the [DataTrails documentation](https://docs.datatrails.ai/docs/datatrails-basics/getting-access-tokens-using-app-registrations/ "Getting an auth token"). Make sure that the `credentials` folder is suitably restricted by disallowing root and group access.
1414

1515

1616
## Running the sample

archivist_samples/c2pa/c2pa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def upload_attachment(arch, attachment_description: AttachmentDescription):
2727
blob = arch.attachments.upload(fd)
2828
attachment = {
2929
# sample-specific attr to relay attachment name
30-
"rkvst_samples_display_name": attachment_description.attribute_name,
30+
"datatrails_samples_display_name": attachment_description.attribute_name,
3131
"arc_file_name": attachment_description.filename,
3232
"arc_attribute_type": "arc_attachment",
3333
"arc_blob_identity": blob["identity"],

archivist_samples/c2pa/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def run(arch, args):
1717
"""
1818
runs the sample and returns the system error code.
1919
"""
20-
LOGGER.info("Using version %s of rkvst-archivist", about.__version__)
20+
LOGGER.info("Using version %s of datatrails-archivist", about.__version__)
2121
LOGGER.info("Fetching use case test assets namespace %s", args.namespace)
2222

2323
# remove the trailing / on the url if it exists

archivist_samples/document/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Document Lineage Sample
22

3-
RKVST offers complete document lineage.
3+
DataTrails offers complete document lineage.
44

55
This sample focuses on an invoice document for a fabricated Asteroid Mining Company.
66

@@ -19,9 +19,9 @@ If the document contains sensitive information, it is also possible to just prov
1919

2020
* Python 3.8 and later versions are supported.
2121

22-
* Install the [RKVST samples Python package](https://pypi.org/project/rkvst-samples/ "PyPi package page")
22+
* Install the [DataTrails samples Python package](https://pypi.org/project/datatrails-samples/ "PyPi package page")
2323

24-
* Get an authorization bearer token and store it in the file `credentials/.auth_token`. If you don't know how to do this, please refer to the [RKVST documentation](https://docs.rkvst.com/docs/rkvst-basics/getting-access-tokens-using-app-registrations/ "Getting an auth token"). Make sure that the `credentials` folder is suitably restricted by disallowing root and group access.
24+
* Get an authorization bearer token and store it in the file `credentials/.auth_token`. If you don't know how to do this, please refer to the [DataTrails documentation](https://docs.datatrails.ai/docs/datatrails-basics/getting-access-tokens-using-app-registrations/ "Getting an auth token"). Make sure that the `credentials` folder is suitably restricted by disallowing root and group access.
2525

2626

2727
## Running the sample

archivist_samples/document/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def upload_attachment(arch, attachment_description: AttachmentDescription):
2727
blob = arch.attachments.upload(fd)
2828
attachment = {
2929
# sample-specific attr to relay attachment name
30-
"rkvst_samples_display_name": attachment_description.attribute_name,
30+
"datatrails_samples_display_name": attachment_description.attribute_name,
3131
"arc_file_name": attachment_description.filename,
3232
"arc_attribute_type": "arc_attachment",
3333
"arc_blob_identity": blob["identity"],

0 commit comments

Comments
 (0)