Skip to content
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

feat: Topology node list of versions containing flow id, image tag and baseline flag #228

Merged
merged 3 commits into from
Sep 18, 2024
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
54 changes: 27 additions & 27 deletions libs/cli-kontrol-api/api/golang/server/server.gen.go

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

21 changes: 12 additions & 9 deletions libs/cli-kontrol-api/api/golang/types/types.gen.go

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

13 changes: 8 additions & 5 deletions libs/cli-kontrol-api/api/typescript/client/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,16 +245,19 @@ export interface components {
/** @description Unique identifier for the node. */
id: string;
/** @description Label for the node. */
label?: string;
label: string;
/**
* @description Type of the node
* @enum {string}
*/
type: "gateway" | "service" | "service-version" | "redis";
/** @description Parent node */
parent?: string;
type: "gateway" | "service" | "external";
/** @description Node versions */
versions?: string[];
versions?: components["schemas"]["NodeVersion"][];
};
NodeVersion: {
flowId: string;
imageTag?: string;
isBaseline: boolean;
};
Edge: {
/** @description The identifier of the source node of the edge. */
Expand Down
21 changes: 16 additions & 5 deletions libs/cli-kontrol-api/specs/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,19 +321,30 @@ components:
description: Label for the node.
type:
type: string
enum: [gateway, service, service-version, redis]
enum: [gateway, service, external]
description: Type of the node
parent:
type: string
description: Parent node
versions:
type: array
description: Node versions
items:
type: string
$ref: "#/components/schemas/NodeVersion"
required:
- id
- type
- label

NodeVersion:
type: object
properties:
flowId:
type: string
imageTag:
type: string
isBaseline:
type: boolean
required:
- flowId
- isBaseline

Edge:
type: object
Expand Down
Loading