Page MenuHomePhabricator

ENC API should expose a JSON update interface
Open, Needs TriagePublic

Description

The current ENC API mostly uses YAML for its interface, I guess mostly because the Puppet endpoints require that. The update endpoint designed for Horizon and in the future other tools (Terraform, ...) should use the more industry standard JSON instead

Event Timeline

Change 845679 had a related patch set uploaded (by Majavah; author: Majavah):

[openstack/horizon/wmf-puppet-dashboard@main] enc_api_client: explicitely specify Accept: YAML header

https://gerrit.wikimedia.org/r/845679

Change 845679 merged by jenkins-bot:

[openstack/horizon/wmf-puppet-dashboard@main] enc_api_client: explicitely specify Accept: YAML header

https://gerrit.wikimedia.org/r/845679

Change 845868 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: wmcs-enc-cli: explicitely set accept/content-type as yaml

https://gerrit.wikimedia.org/r/845868

Change 845869 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: encapi: support returning data in JSON

https://gerrit.wikimedia.org/r/845869

Change 845868 merged by Andrew Bogott:

[operations/puppet@production] openstack: wmcs-enc-cli: explicitely set accept/content-type as yaml

https://gerrit.wikimedia.org/r/845868

Change 845869 merged by Andrew Bogott:

[operations/puppet@production] openstack: encapi: support returning data in JSON

https://gerrit.wikimedia.org/r/845869

Change 849099 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: wmf_sink: set accept header for enc deletion calls

https://gerrit.wikimedia.org/r/849099

Change 849099 merged by Andrew Bogott:

[operations/puppet@production] openstack: wmf_sink: set accept header for enc deletion calls

https://gerrit.wikimedia.org/r/849099

Change 849494 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: modernize puppetleaks script

https://gerrit.wikimedia.org/r/849494

Change 874811 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: encapi: format the forbidden errors as json

https://gerrit.wikimedia.org/r/874811

Change 874812 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] openstack: encapi: new id-based api for Terraform

https://gerrit.wikimedia.org/r/874812

Change 874811 merged by Andrew Bogott:

[operations/puppet@production] openstack: encapi: format the forbidden errors as json

https://gerrit.wikimedia.org/r/874811

Change 849494 merged by David Caro:

[operations/puppet@production] openstack: modernize puppetleaks script

https://gerrit.wikimedia.org/r/849494