Skip to content

Commit

Permalink
chore: update title for connection spec (#105)
Browse files Browse the repository at this point in the history
Because

- We've retired the connector "resource" and made it a "connection"
field in the component spec.

This commit

- Updates the title for the connection spec.
  • Loading branch information
donch1989 committed Apr 25, 2024
1 parent 8bc1ead commit d772d75
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ When you want to contribute with a new connector or operator, you need to create
- The `release_stage` property refers to the release stage of the component (not to be mixed with the pre-release label of the version).
Unimplemented stages (`RELEASE_STAGE_COMING_SOON` or `RELEASE_STAGE_OPEN_FOR_CONTRIBUTION`) will hide the component from the console (i.e. they can't be used in pipelines) but they will appear in the `ListComponentDefinitions` endpoint.
This will showcase the upcoming component at [instill.tech](https://instill.tech).
- We define the `resource_configuration` in this file, which defines the connector resource setup.
- We define the `connection_configuration` in this file, which defines the connector connection setup.
- `tasks.json`
- You can refer to [OpenAI connector](../pkg/connector/openai/v0/config/tasks.json) as an example.
- A component can have multiple tasks.
Expand Down
2 changes: 1 addition & 1 deletion pkg/base/testdata/connectorDef.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"required": [
"api_key"
],
"title": "OpenAI Connector Resource",
"title": "OpenAI Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/base/testdata/wantConnectorDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"required": [
"api_key"
],
"title": "OpenAI Connector Resource",
"title": "OpenAI Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/archetypeai/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"required": [
"api_key"
],
"title": "Archetype AI Connector Specification",
"title": "Archetype AI Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/bigquery/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"dataset_id",
"table_name"
],
"title": "BigQuery Connector Spec",
"title": "BigQuery Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/googlecloudstorage/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"json_key",
"bucket_name"
],
"title": "Google Cloud Storage Connector Spec",
"title": "Google Cloud Storage Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/googlesearch/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"api_key",
"cse_id"
],
"title": "Google Search Connector Spec",
"title": "Google Search Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/huggingface/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"base_url",
"is_custom_endpoint"
],
"title": "Hugging Face Connector Spec",
"title": "Hugging Face Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/numbers/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"required": [
"capture_token"
],
"title": "Numbers Protocol Blockchain Connector Spec",
"title": "Numbers Protocol Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/openai/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"required": [
"api_key"
],
"title": "OpenAI Connector Resource",
"title": "OpenAI Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/pinecone/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"api_key",
"url"
],
"title": "Pinecone Connector Spec",
"title": "Pinecone Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/redis/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
"host",
"port"
],
"title": "Redis Connector Resource",
"title": "Redis Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/restapi/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"required": [
"authentication"
],
"title": "REST API Connector Spec",
"title": "REST API Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/connector/stabilityai/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"required": [
"api_key"
],
"title": "Stability AI Connector Resource",
"title": "Stability AI Connection",
"type": "object"
}
},
Expand Down
2 changes: 1 addition & 1 deletion tools/compogen/cmd/testdata/readme-connector.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ cmp pkg/dummy/README.mdx want-readme.mdx
"required": [
"api_key"
],
"title": "OpenAI Connector Resource",
"title": "OpenAI Connection",
"type": "object"
}
},
Expand Down

0 comments on commit d772d75

Please sign in to comment.