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
Environment API should support patch for environment variables #3080
Comments
Hi — thank you for reporting this issue. This looks like a good candidate for outside contribution. The code change is fairly small and localized —
Would you be willing to submit a PR, the team is around to help you out with any questions that you might have. |
GaneshSPatil
added a commit
to GaneshSPatil/gocd
that referenced
this issue
Jan 20, 2017
GaneshSPatil
added a commit
to GaneshSPatil/gocd
that referenced
this issue
Jan 22, 2017
GaneshSPatil
added a commit
to GaneshSPatil/gocd
that referenced
this issue
Jan 23, 2017
GaneshSPatil
added a commit
to GaneshSPatil/gocd
that referenced
this issue
Jan 25, 2017
varshavaradarajan
pushed a commit
that referenced
this issue
Feb 28, 2017
… (#3109) * ApiV2 of environments config * Allow updating environment variables using PATCH api of environments. * Remove environments with remote from api_v1
Verified on GoCD version 17.3.0 (4701-42a55e643a6e6a39ca07ce6bc00df7b4be2a28df) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Type
Feature enhancement
Summary
When using the environment API of the go server, I noticed that if I want to create or change environment variables in an environment I can only use the put method on environments API.
However this comes with the side effect, that to add environment variables I would also have to extract agents, pipelines and existing environment variables to patch the variables, and then "PUT" the entire environment specification to the GO server again.
the current PATCH /go/api/admin/environments/:environment_name does only support patching of pipelines and agents, and it would of great benefit to have support for patching environment variables as well.
Environment
GO Server 16.11
information on API can be found here:
https://api.gocd.io/current/#patch-an-environment
The text was updated successfully, but these errors were encountered: