diff --git a/README.md b/README.md index d10dc41..e17bc85 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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" } ``` diff --git a/internal/config/config.go b/internal/config/config.go index c605b4e..2f53e9c 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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. diff --git a/internal/workflow_client/README.md b/internal/workflow_client/README.md index 1afa88e..7c2350e 100644 --- a/internal/workflow_client/README.md +++ b/internal/workflow_client/README.md @@ -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 ------------ | ------------- | ------------- | ------------- diff --git a/internal/workflow_client/configuration.go b/internal/workflow_client/configuration.go index b0835bd..3f8cdbf 100644 --- a/internal/workflow_client/configuration.go +++ b/internal/workflow_client/configuration.go @@ -93,7 +93,7 @@ func NewConfiguration() *Configuration { Debug: false, Servers: ServerConfigurations{ { - URL: "https://pipeline.cloud.ru/public-api/v1", + URL: "https://devtools.api.cloud.ru/workflow/v1", Description: "No description provided", }, }, diff --git a/skills/eds/SKILL.md b/skills/eds/SKILL.md index f14b2c9..b4981b4 100644 --- a/skills/eds/SKILL.md +++ b/skills/eds/SKILL.md @@ -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`.