Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The CLI looks for configuration in this order (later wins):

1. Built-in defaults: Repo API URL `https://devtools.api.cloud.ru/repo/api/v1`,
git host `https://repo.cloud.ru/`, Workflow Studio API URL
`https://pipeline.cloud.ru/public-api/v1`.
`https://devtools.api.cloud.ru/workflow/v1`.
2. File `~/.config/eds/config.json` (overridable via `EDS_CONFIG` or
`XDG_CONFIG_HOME`) — a single platform-level file shared by both products.
3. Environment variables (see table below).
Expand All @@ -98,7 +98,7 @@ Example config file (`~/.config/eds/config.json`):
"project_id": "3232b2d0-1063-41e6-b2fa-13df767f4a0a",
"api_key": "...",
"git_host": "https://repo.cloud.ru/",
"workflow_api_url": "https://pipeline.cloud.ru/public-api/v1"
"workflow_api_url": "https://devtools.api.cloud.ru/workflow/v1"
}
```

Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const DefaultAPIURL = "https://devtools.api.cloud.ru/repo/api/v1"
const DefaultGitHost = "https://repo.cloud.ru/"

// DefaultWorkflowAPIURL is the Workflow Studio user API base URL.
const DefaultWorkflowAPIURL = "https://pipeline.cloud.ru/public-api/v1"
const DefaultWorkflowAPIURL = "https://devtools.api.cloud.ru/workflow/v1"

// Load reads the config from disk, applies defaults and environment overrides.
// Environment variables take precedence over file values.
Expand Down
2 changes: 1 addition & 1 deletion internal/workflow_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ ctx = context.WithValue(context.Background(), workflowclient.ContextOperationSer

## Documentation for API Endpoints

All URIs are relative to *https://pipeline.cloud.ru/public-api/v1*
All URIs are relative to *https://devtools.api.cloud.ru/workflow/v1*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion internal/workflow_client/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion skills/eds/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Precedence (lowest → highest):

1. Built-in defaults: `api_url=https://devtools.api.cloud.ru/repo/api/v1`,
`git_host=https://repo.cloud.ru/`,
`workflow_api_url=https://pipeline.cloud.ru/public-api/v1`.
`workflow_api_url=https://devtools.api.cloud.ru/workflow/v1`.
2. File at `~/.config/eds/config.json` (override with `EDS_CONFIG`).
3. Environment: `EDS_PROJECT_ID`, `EDS_REPO_API_URL`,
`EDS_API_KEY`, `EDS_REPO_GIT_HOST`, `EDS_WF_API_URL`.
Expand Down
Loading