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

[backend] Tornjak Clusters API cleanup #521

Open
maia-iyer opened this issue Oct 4, 2024 · 3 comments
Open

[backend] Tornjak Clusters API cleanup #521

maia-iyer opened this issue Oct 4, 2024 · 3 comments
Assignees
Labels
backend Tornjak API (Backend) frontend Tornjak UI (Frontend)

Comments

@maia-iyer
Copy link
Collaborator

The code currently defines cluster using this type:

{
  "cluster": {
    "name": "clusterName",
    "platformType": "Docker",
    "agentsList": [
      "agent1"
    ],
    "domainName": "example.org",
    "editedName": "",
    "creationTime": "Feb 08 2023 21:02:10",
    "managedBy": ""
  }
}

The 'editedName' is improper and throws weird, unexpected errors at times. Instead, it would be better to have some UID for a cluster, which can be passed in.

This also eventually affects the frontend call to this API.

@maia-iyer maia-iyer added frontend Tornjak UI (Frontend) backend Tornjak API (Backend) labels Oct 4, 2024
@jxia20
Copy link

jxia20 commented Oct 4, 2024

RCOS - Jimi Xia

@DashLHall
Copy link

Dashiell, RCOS group

@ArnavPawar
Copy link

RCOS - Arnav Pawar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Tornjak API (Backend) frontend Tornjak UI (Frontend)
Projects
None yet
Development

No branches or pull requests

4 participants