mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-01 07:45:40 +01:00
chore: fix some typos in comment
Signed-off-by: ianlv <sunlvyun@outlook.com>
This commit is contained in:
parent
f0f96064ac
commit
7b337e66c2
@ -64,7 +64,7 @@ We analyzed dozens of possible verticals with according to these criteria. For a
|
|||||||
|
|
||||||
Here are some examples.
|
Here are some examples.
|
||||||
|
|
||||||
- **Small $, slow**. Traditional music is small $ and slow, because incumbents like Universal dominate by controlling the the back catalogue.
|
- **Small $, slow**. Traditional music is small $ and slow, because incumbents like Universal dominate by controlling the back catalogue.
|
||||||
- **Large $, slow**. Medicine is large $ but slow, due to the approval process.
|
- **Large $, slow**. Medicine is large $ but slow, due to the approval process.
|
||||||
Small $, fast. Decentralized music is fast but small $ (for now! Fingers crossed).
|
Small $, fast. Decentralized music is fast but small $ (for now! Fingers crossed).
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ Parameters
|
|||||||
```
|
```
|
||||||
address: String object containing consumer's address (optional)
|
address: String object containing consumer's address (optional)
|
||||||
nonce: Integer, Nonce (required)
|
nonce: Integer, Nonce (required)
|
||||||
signature: String object containg user signature (signed message)
|
signature: String object containing user signature (signed message)
|
||||||
The signature is based on hashing the following parameters:
|
The signature is based on hashing the following parameters:
|
||||||
address + nonce
|
address + nonce
|
||||||
token: token to be expired
|
token: token to be expired
|
||||||
|
@ -42,7 +42,7 @@ Parameters
|
|||||||
|
|
||||||
{% code overflow="wrap" %}
|
{% code overflow="wrap" %}
|
||||||
```
|
```
|
||||||
signature: String object containg user signature (signed message) (required)
|
signature: String object containing user signature (signed message) (required)
|
||||||
consumerAddress: String object containing consumer's ethereum address (required)
|
consumerAddress: String object containing consumer's ethereum address (required)
|
||||||
nonce: Integer, Nonce (required)
|
nonce: Integer, Nonce (required)
|
||||||
environment: String representing a compute environment offered by the provider
|
environment: String representing a compute environment offered by the provider
|
||||||
@ -108,7 +108,7 @@ Parameters
|
|||||||
|
|
||||||
{% code overflow="wrap" %}
|
{% code overflow="wrap" %}
|
||||||
```
|
```
|
||||||
signature: String object containg user signature (signed message)
|
signature: String object containing user signature (signed message)
|
||||||
documentId: String object containing document did (optional)
|
documentId: String object containing document did (optional)
|
||||||
jobId: String object containing workflowID (optional)
|
jobId: String object containing workflowID (optional)
|
||||||
consumerAddress: String object containing consumer's address (optional)
|
consumerAddress: String object containing consumer's address (optional)
|
||||||
@ -175,7 +175,7 @@ Parameters
|
|||||||
index: Integer, index of the result to download (optional)
|
index: Integer, index of the result to download (optional)
|
||||||
consumerAddress: String object containing consumer's address (optional)
|
consumerAddress: String object containing consumer's address (optional)
|
||||||
nonce: Integer, Nonce (required)
|
nonce: Integer, Nonce (required)
|
||||||
signature: String object containg user signature (signed message)
|
signature: String object containing user signature (signed message)
|
||||||
```
|
```
|
||||||
|
|
||||||
Returns: Bytes string containing the compute result.
|
Returns: Bytes string containing the compute result.
|
||||||
@ -204,7 +204,7 @@ Parameters
|
|||||||
|
|
||||||
{% code overflow="wrap" %}
|
{% code overflow="wrap" %}
|
||||||
```
|
```
|
||||||
signature: String object containg user signature (signed message)
|
signature: String object containing user signature (signed message)
|
||||||
documentId: String object containing document did (optional)
|
documentId: String object containing document did (optional)
|
||||||
jobId: String object containing workflowID (optional)
|
jobId: String object containing workflowID (optional)
|
||||||
consumerAddress: String object containing consumer's address (optional)
|
consumerAddress: String object containing consumer's address (optional)
|
||||||
@ -245,7 +245,7 @@ Delete a compute job and all resources associated with the job. If job is runnin
|
|||||||
Parameters
|
Parameters
|
||||||
|
|
||||||
```
|
```
|
||||||
signature: String object containg user signature (signed message)
|
signature: String object containing user signature (signed message)
|
||||||
documentId: String object containing document did (optional)
|
documentId: String object containing document did (optional)
|
||||||
jobId: String object containing workflowId (optional)
|
jobId: String object containing workflowId (optional)
|
||||||
consumerAddress: String object containing consumer's address (optional)
|
consumerAddress: String object containing consumer's address (optional)
|
||||||
|
@ -116,7 +116,7 @@ http {
|
|||||||
|
|
||||||
#### 1.6 Create Kubernetes secret in C2D server
|
#### 1.6 Create Kubernetes secret in C2D server
|
||||||
|
|
||||||
Login into the compute-to-data enviroment and run the following command with the appropriate credentials:
|
Login into the compute-to-data environment and run the following command with the appropriate credentials:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl create secret docker-registry regcred --docker-server=example.com --docker-username=<username> --docker-password=<password> --docker-email=<email_id> -n ocean-compute
|
kubectl create secret docker-registry regcred --docker-server=example.com --docker-username=<username> --docker-password=<password> --docker-email=<email_id> -n ocean-compute
|
||||||
|
@ -203,7 +203,7 @@ kubectl apply -f operator-engine/kubernetes/operator.yml
|
|||||||
kubectl create -f operator-service/kubernetes/postgres-configmap.yaml
|
kubectl create -f operator-service/kubernetes/postgres-configmap.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
**Optional**: For production enviroments, it's safer to block access to metadata. To do so run the below command:
|
**Optional**: For production environments, it's safer to block access to metadata. To do so run the below command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl -n ocean-compute apply -f /ocean/operator-engine/kubernetes/egress.yaml
|
kubectl -n ocean-compute apply -f /ocean/operator-engine/kubernetes/egress.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user