freme-project / basic-services

Apache License 2.0
0 stars 1 forks source link

[pipelines] change POST and PUT pipeline #102

Closed jnehring closed 7 years ago

jnehring commented 8 years ago

The body of the request should contain the serialized requests only. Parameter "description" can be set via query string anyways. In addition to this, parameter "label" needs to be moved from the json field in the body to a required query string parameter.

This needs changes in

ArneBinder commented 8 years ago

This is implemented. Also the postman collection is updated. @jnehring can we close it?

There is a minor change in the database structure because of a really false and confusing naming in the code: the column requests in the table pipelines is now called serialized_requests. Before this, all PipelineRequest java objects were called serializedRequests and string serializations just requests. The changes are done in the dev db. On live I mirrored the content of the old column to the new one. So no changes are needed when the release is done.

jnehring commented 8 years ago

Thanks Arne. I leave this ticket open to remind me of the database change in the next release.