g5k-api merge requestshttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests2020-09-24T10:43:00+02:00https://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/77Return 404 when a commit or a branch cannot be found2020-09-24T10:43:00+02:00Samir NoirReturn 404 when a commit or a branch cannot be foundSamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/74Add the ability to return a deep view of reference-repository2020-09-23T16:35:21+02:00Samir NoirAdd the ability to return a deep view of reference-repositoryThis allow to get a deep view of the reference api by passing the
`deep` GET parameters to the request. It is also possible to request a
single site or the specific list of nodes assigned to an OAR job id.This allow to get a deep view of the reference api by passing the
`deep` GET parameters to the request. It is also possible to request a
single site or the specific list of nodes assigned to an OAR job id.Samir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/102Fixed swagger block for jobs API. (Bug 15175)2024-01-10T13:20:42+01:00BERTOT LukeFixed swagger block for jobs API. (Bug 15175)- Removed `name` from required fields in api doc.
- Fixed typo hiding the `user` field behind a duplicate `user_uid` field.- Removed `name` from required fields in api doc.
- Fixed typo hiding the `user` field behind a duplicate `user_uid` field.https://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/100Return current api version in OpenAPI spec's links2022-10-12T10:22:18+02:00Samir NoirReturn current api version in OpenAPI spec's linksAlexandre MERLINAlexandre MERLINhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/98Implement walltime change through OAR's api and rework error handling in Vlan...2022-09-21T11:20:54+02:00Samir NoirImplement walltime change through OAR's api and rework error handling in Vlan APISamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/95Add name & alias in doc + misc2022-09-14T16:05:16+02:00Alexandre MERLINAdd name & alias in doc + misc- Add name and alias for get environment
- Put list/get environment in a specific endpoint instead of deployment
- use enum instead of pattern
- update some examples and fix some missing space
- And add the logo in the doc- Add name and alias for get environment
- Put list/get environment in a specific endpoint instead of deployment
- use enum instead of pattern
- update some examples and fix some missing space
- And add the logo in the dochttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/92Correctly handle 'now' and wrong advance reservations in job model2022-01-12T10:55:11+01:00Samir NoirCorrectly handle 'now' and wrong advance reservations in job modelThe job model was parsing the input job reservation date before passing
it to the internal OAR API. Parsing exceptions were caught to return nil,
so if the date was not parseable ('now' included which is a valid oarsub
keyword for advanc...The job model was parsing the input job reservation date before passing
it to the internal OAR API. Parsing exceptions were caught to return nil,
so if the date was not parseable ('now' included which is a valid oarsub
keyword for advance reservations), resulting of job created as batch and
not advance reservations.
This is now fixed by not parsing the date, and by using the regex used
by oarsub to validate the advance reservation format (including 'now').
If the format is not valid, an error is returned.
Documentation was also updated to match oarsub behavior.Pierre NeyronPierre Neyronhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/91use g5k-deb-build-tools/g5k_dh_ruby_vendorize instead of setup_bundle2021-10-21T17:54:30+02:00IMBERT Matthieuuse g5k-deb-build-tools/g5k_dh_ruby_vendorize instead of setup_bundle- ajoute build dependency à g5k-deb-build-tools (https://gitlab.inria.fr/grid5000/g5k-deb-build-tools)
- utilise g5k_dh_ruby_vendorize à la place de setup_bundle
- supprime setup_bundle
- ajoute dans les jobs de CI le dépôt qui va bien p...- ajoute build dependency à g5k-deb-build-tools (https://gitlab.inria.fr/grid5000/g5k-deb-build-tools)
- utilise g5k_dh_ruby_vendorize à la place de setup_bundle
- supprime setup_bundle
- ajoute dans les jobs de CI le dépôt qui va bien pour pouvoir récupérer g5k-deb-build-toolsSamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/90Use Kadeploy native arch support instead of hack2021-11-23T13:21:13+01:00Alexandre MERLINUse Kadeploy native arch support instead of hackÇa repose sur le fait que l'API de kadeploy expose l'arch dans le champs "arch" de l'env. On peut également utiliser "arch" pour filtrer un env quand on déploie.
Avec la MR:
- On enlève le hack pour deviner l'arch et on regarde ce que...Ça repose sur le fait que l'API de kadeploy expose l'arch dans le champs "arch" de l'env. On peut également utiliser "arch" pour filtrer un env quand on déploie.
Avec la MR:
- On enlève le hack pour deviner l'arch et on regarde ce que nous donne kadeploy
- On change l'uid pour ajouter l'arch, `name_arch_version_user`. C'est nécessaire puisqu'on change les nom des envs; debian10-x64-min => debian10-min
- J'en ai profité pour modifier le nom d'argument pour les partitions, c'est "partition_label" et c'est un string maintenant
- fixtures kadeploy regénérés et tests adaptés.Alexandre MERLINAlexandre MERLINhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/89Various improvments in versions controller: add /latest endpoint, fix the res...2021-10-14T10:02:34+02:00Samir NoirVarious improvments in versions controller: add /latest endpoint, fix the resource version commit and better performancesPierre NeyronPierre Neyronhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/88Add a health action to sites controller to check g5k-api availability2021-09-21T11:24:37+02:00Samir NoirAdd a health action to sites controller to check g5k-api availabilityAlexandre MERLINAlexandre MERLINhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/87Fix request to kadeployapi when asking for a specific environment2021-09-21T13:24:44+02:00Samir NoirFix request to kadeployapi when asking for a specific environmentAs we can request g5k-api for a specific environment description, it can
be a previous version of that environment. The request to Kadeploy's api
should be without '?last' to get all the available environments.
Fixes bug #13371As we can request g5k-api for a specific environment description, it can
be a previous version of that environment. The request to Kadeploy's api
should be without '?last' to get all the available environments.
Fixes bug #13371Samir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/86Disallow listing of user environments to anonymous2021-02-19T09:38:11+01:00Samir NoirDisallow listing of user environments to anonymousSamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/85Add environments controller2021-01-21T14:05:48+01:00Samir NoirAdd environments controllerSamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/81Add resources param on job controller index2020-10-21T18:33:54+02:00Samir NoirAdd resources param on job controller indexSamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/80Add a glue to wrap kavlan's API2020-11-03T15:15:52+01:00Samir NoirAdd a glue to wrap kavlan's APISamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/79Add storage endpoint2020-10-12T10:05:44+02:00Alexandre MERLINAdd storage endpointAlexandre MERLINAlexandre MERLINhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/76Expose all OAR resources on status api2020-09-30T18:09:48+02:00Samir NoirExpose all OAR resources on status apiSamir NoirSamir Noirhttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/69Always render json when calling api2020-08-18T17:06:05+02:00Samir NoirAlways render json when calling apihttps://gitlab.inria.fr/grid5000/g5k-api/-/merge_requests/66Replace Grit by Rugged libgit2 binding for accessing git repository2020-07-07T15:41:55+02:00Samir NoirReplace Grit by Rugged libgit2 binding for accessing git repositorySamir NoirSamir Noir