g5k-api merge requestshttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests2023-10-11T10:12:44+02:00https://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/101Switch to puma2023-10-11T10:12:44+02:00Philippe VirouleauSwitch to pumahttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/99Dependencies update (rails and tzinfo)2022-09-14T17:15:44+02:00Samir NoirDependencies update (rails and tzinfo)Samir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/97Respond with 400 http status when Kadeploy return a BadRequest error2022-08-09T10:12:03+02:00Samir NoirRespond with 400 http status when Kadeploy return a BadRequest errorhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/96Return a 400 with a message if `reservation` field is not a String2022-08-03T11:50:22+02:00Samir NoirReturn a 400 with a message if `reservation` field is not a StringWhen creating a new job, `reservation` field is used to make an advanced
reservation. It was failing with a Ruby error and a 500 response status
if the type was not a String.When creating a new job, `reservation` field is used to make an advanced
reservation. It was failing with a Ruby error and a 500 response status
if the type was not a String.Samir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/94Move rubocop stage to grid5000-gitlab-templates2022-04-19T10:57:33+02:00Albin PETITMove rubocop stage to grid5000-gitlab-templateshttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/84Change the way of handling the different possible Content-Type2021-01-14T15:13:41+01:00Samir NoirChange the way of handling the different possible Content-Typeg5k-api returns two differents Content-Type, for a single item or for a collection of items.
Commit f9ae4214bfce5721e288220511726fd852c94ca7 introduced a regression by always returning "simple" JSON instead of the g5k-api's specifics Co...g5k-api returns two differents Content-Type, for a single item or for a collection of items.
Commit f9ae4214bfce5721e288220511726fd852c94ca7 introduced a regression by always returning "simple" JSON instead of the g5k-api's specifics Content-Type.
Now, the correct Content-Type will be returned, or application/json if asked.
Fixes: f9ae4214bfce5721e288220511726fd852c94ca7Alexandre MERLINAlexandre MERLINhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/83Add OpenAPI documentation spec2020-12-03T10:18:51+01:00Samir NoirAdd OpenAPI documentation specSamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/82Add missing workdir parameter when calling OAR's API2020-11-25T09:45:49+01:00Samir NoirAdd missing workdir parameter when calling OAR's APIPierre NeyronPierre Neyronhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/78Refresh fake reference-repository2020-09-24T13:50:12+02:00Samir NoirRefresh fake reference-repositoryhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/75Remove g5k-api's UI2020-09-08T17:13:42+02:00Samir NoirRemove g5k-api's UISince the UI is not actively maintained and not used, we decided to remove it.Since the UI is not actively maintained and not used, we decided to remove it.https://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/73Add two new GET parameters to request reference api by date2020-09-08T16:37:52+02:00Samir NoirAdd two new GET parameters to request reference api by dateInstead of using version, this commit add timestamp and date
parametersInstead of using version, this commit add timestamp and date
parametersSamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/67Return 404 when an ui template cannot be found2020-07-15T09:29:54+02:00Samir NoirReturn 404 when an ui template cannot be foundhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/61Change the default email sender2020-04-10T14:56:02+02:00Nicolas PerrinChange the default email senderFor email DKIM signature.For email DKIM signature.https://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/59Bugs/#99982019-06-04T14:13:36+02:00MARGERY DavidBugs/#9998This is the quick fix to bug #9998.
It handles a job in an unexpected state gracefully, generating a warning in the process.
https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=9998 shows a way to reproduce : therefore, this MR i...This is the quick fix to bug #9998.
It handles a job in an unexpected state gracefully, generating a warning in the process.
https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=9998 shows a way to reproduce : therefore, this MR is incomplete.MARGERY DavidMARGERY Davidhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/58Merge branch 'remove-jabber-connection' into 'master'2018-10-04T10:49:53+02:00MARGERY DavidMerge branch 'remove-jabber-connection' into 'master'comment the connection to jabber.grid5000.fr, and all event handlers related to this connection
See merge request grid5000/g5k-api!57
(cherry picked from commit 6feba3830d3d93c2d6ba6eba932d0226234eea01)
ef273025 delete jabber.rb and r...comment the connection to jabber.grid5000.fr, and all event handlers related to this connection
See merge request grid5000/g5k-api!57
(cherry picked from commit 6feba3830d3d93c2d6ba6eba932d0226234eea01)
ef273025 delete jabber.rb and remove blather from gem dependencies
965edc16 [jabber] remove any mention to xmpp and jabberhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/57comment the connection to jabber.grid5000.fr, and all event handlers related ...2018-10-04T09:07:48+02:00PASTOR Jonathancomment the connection to jabber.grid5000.fr, and all event handlers related to this connectionI have commented the code launching the connection and handling its events. I did not remove the code in jabber.rb, as we may need it if we setup an alternative XMPP server.I have commented the code launching the connection and handling its events. I did not remove the code in jabber.rb, as we may need it if we setup an alternative XMPP server.https://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/47Bug7970 status api performance2018-01-26T17:08:42+01:00MARGERY DavidBug7970 status api performance*Created by: f-didier*
This pull request adds several query strings to the status API. The aim is to retrieve less information, from a single node (specified by its network address), in order to speed up g5k-api response time.*Created by: f-didier*
This pull request adds several query strings to the status API. The aim is to retrieve less information, from a single node (specified by its network address), in order to speed up g5k-api response time.https://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/56v3 rails 4.22018-08-29T14:46:14+02:00MARGERY Davidv3 rails 4.2*Created by: dmargery*
Migrate the code base to rails 4.2.10
This was done by
1/ cherry-picking changes made in master to migrate to rails 4.2,
2/ cherry-picking the changes made to the development environment so as to be able to ...*Created by: dmargery*
Migrate the code base to rails 4.2.10
This was done by
1/ cherry-picking changes made in master to migrate to rails 4.2,
2/ cherry-picking the changes made to the development environment so as to be able to work on the v3 branch
3/ migrating all the stuff related to environment management, not present in master, to rails 4.2
4/ cherry-picking all the minor/convenience stuff integrated into master since v3 was branched (all required to drop stunnel, to be reached through a proxy, to better report standard problems such a grit timeouts, and to add headers to simplify writing api-proxyhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/54Migrate to Rails 3.22018-08-21T14:30:03+02:00MARGERY DavidMigrate to Rails 3.2*Created by: dmargery*
In the process, update and clean-up development environment to ease testing this new version.*Created by: dmargery*
In the process, update and clean-up development environment to ease testing this new version.https://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/55Rails 4.22018-08-22T15:23:54+02:00MARGERY DavidRails 4.2*Created by: dmargery*
This branch passes all required tests and will be fast merged (with no review) to quickly validate a rails 4.2 version*Created by: dmargery*
This branch passes all required tests and will be fast merged (with no review) to quickly validate a rails 4.2 version