-
Notifications
You must be signed in to change notification settings - Fork 9
feat: connector development server #534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Internal Development Support Tools | ||
|
||
This directory contains a series of tools helping the develoment and build process. | ||
|
||
## Core Build Tools | ||
|
||
### `compile-plugins/` | ||
**Shell script that auto-generates connector import list** | ||
- Scans `internal/connectors/plugins/public/` directory | ||
- Creates `list.go` with blank imports for all connectors | ||
- Run: `just compile-plugins` | ||
|
||
### `compile-configs/` | ||
**Go tool that generates OpenAPI schemas from connector configs** | ||
- Reads `config.go` files from each connector | ||
- Parses struct tags to generate OpenAPI YAML | ||
- Outputs: `openapi/v3/v3-connectors-config.yaml` | ||
- Run: `just compile-connector-configs` | ||
|
||
### `compile-capabilities/` | ||
**Go tool that extracts connector capabilities** | ||
- Reads connector capabilities from registry | ||
- Generates JSON mapping of provider → capabilities | ||
- Outputs: `docs/other/connector-capabilities.json` | ||
- Run: `just compile-connector-capabilities` | ||
|
||
## Development Tools | ||
|
||
### `connector-dev-server/` | ||
**Simple dev server for testing individual connectors** | ||
- Imports single connector for isolated testing | ||
- Provides basic HTTP API for connector operations | ||
- Useful for development and debugging | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add how to run it |
||
|
||
### `connector-template/` | ||
**Code generator for new connectors** | ||
- Generates boilerplate connector structure | ||
- Uses Go templates to create all required files | ||
- Run: `./tools/connector-template/connector-template.sh <name>` | ||
|
||
## Maintenance Tools | ||
|
||
### `list-and-delete-temporal-schedules/` | ||
**Temporal schedule management** | ||
- Lists all Temporal schedules | ||
- Can delete specific schedules | ||
- Useful for cleanup and maintenance | ||
|
||
### `list-and-delete-temporal-workflows/` | ||
**Temporal workflow management** | ||
- Lists all Temporal workflows | ||
- Can delete specific workflows | ||
- Useful for cleanup and maintenance | ||
|
||
## Usage | ||
|
||
All tools are orchestrated via the main `Justfile`: | ||
|
||
```bash | ||
just pre-commit # Runs all build tools | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No changes were made to the Justfile, so I don't think this is the case? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this shouldn't run all tools right? |
||
just openapi # Generates API documentation | ||
just pc # Alias for pre-commit | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix typo and remove stray trailing line.
Also applies to: 64-64
🧰 Tools
🪛 LanguageTool
[grammar] ~3-~3: Ensure spelling is correct
Context: ... contains a series of tools helping the develoment and build process. ## Core Build Tools...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🤖 Prompt for AI Agents