Skip to content

Commit f88411e

Browse files
feat: add client for the orchestration API [IDE-201] (#20)
1 parent a506744 commit f88411e

File tree

21 files changed

+2082
-80
lines changed

21 files changed

+2082
-80
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,8 @@ webidentity.json
4949
#################################
5050
# Development files #
5151
#################################
52+
scripts/__pycache__/
5253
internal/workspace/**/**/*.yaml
53-
!internal/workspace/**/**/*.config.yaml
54+
!internal/workspace/**/**/*.config.yaml
55+
internal/orchestration/**/**/*.yaml
56+
!internal/orchestration/**/**/*.config.yaml

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ In order to update the clients you need access to some private Snyk repositories
4343
export GITHUB_PAT=<GITHUB_PAT>
4444
```
4545

46+
Also make sure to have `python3` installed.
47+
4648
Then run `make download-apis` to download the latest code. If you want to download a new version, you can also do that.
4749

4850
Then generate the client by running `make generate`.

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,15 @@ generate: $(TOOLS_BIN)/go/mockgen $(TOOLS_BIN)/go/oapi-codegen
6161
@go generate ./...
6262

6363
.PHONY: download-apis
64-
download-apis: download-workspace-api
64+
download-apis: download-workspace-api download-orchestration-api
6565

6666
.PHONY: download-workspace-api
6767
download-workspace-api:
68-
./scripts/download-workspace-api.sh
68+
./scripts/download-workspace-api.py
69+
70+
.PHONY: download-orchestration-api
71+
download-orchestration-api:
72+
./scripts/download-orchestration-api.py
6973

7074
.PHONY: help
7175
help:

0 commit comments

Comments
 (0)