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

Add support to new ConfigurationSet functionality #829

Closed
GiliFaroEnv0 opened this issue Apr 17, 2024 · 3 comments · Fixed by #878
Closed

Add support to new ConfigurationSet functionality #829

GiliFaroEnv0 opened this issue Apr 17, 2024 · 3 comments · Fixed by #878
Assignees
Labels
enhancement New feature or request

Comments

@GiliFaroEnv0
Copy link
Contributor

We are adding a new Feature called ConfigurationSet which will provide the option to group Configuration properties with a display name and a description and assign/unassign them to the different entities as one unit.

We need to create resources to create ConfigurationSet and assign it to an entity.

resource ConfigurationSet {
create using create API

edit using edit API
delete using delete API
}
}

resource AssignConfigurationSet {
assign using assign API
}
unassign using API with similar props but DELETE (will be merged later today)
}

@GiliFaroEnv0 GiliFaroEnv0 added the enhancement New feature or request label Apr 17, 2024
@GiliFaroEnv0
Copy link
Contributor Author

@TomerHeber
Copy link
Collaborator

@GiliFaroEnv0

A couple of questions/comments:

  1. The GET response does not return the configurations? It is needed. (https://docs.env0.com/reference/configuration-find-configuration-set-by-id)
  2. To which resource is a configuration set assigned to?
  3. The update operation is delta changes? or is it an upsert?

I'm sure most of these questions can be answered by myself if the feature is available in the UI.
Is it available and ready to be used in the UI?

@GiliFaroEnv0
Copy link
Contributor Author

@GiliFaroEnv0

A couple of questions/comments:

  1. The GET response does not return the configurations? It is needed. (https://docs.env0.com/reference/configuration-find-configuration-set-by-id)
  2. To which resource is a configuration set assigned to?
  3. The update operation is delta changes? or is it an upsert?

I'm sure most of these questions can be answered by myself if the feature is available in the UI. Is it available and ready to be used in the UI?

  1. yes you need to also query this API with queryParam setId
  2. currently you can only use it with the extra resource (you will create) AssignConfigurationSet
    3.delta changes like we have in variables of the environment resource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants