Skip to content

Extend dependencies list in Web API /status endpoint

sandcha requested to merge extend-api-status into master

Connectée à #22

De /status, supprime version_openfisca, inclut la version d'openfisca-france dans une nouvelle clef dependencies avec d'autres librairies.

Avant cette MR /status renvoie :

{
"cache": true,
"queue": true,
"simulations": true,
"version_openfisca": [
  "openfisca-france",
  "153.3.1"
],
"last_commit": "80874de"
}

Avec cette MR, on obtient :

{
"cache": true,
"queue": true,
"simulations": true,
'dependencies': {
 'leximpact-common-python-libraries': {'version': '0.1.1'},
 'leximpact-survey-scenario': {
    'version': '1.3.3',
    'resolved_reference': '971b4bef7374467056a7370463b77bdc3ff3b8a5',
    'reference': 'master'
  },
 'OpenFisca-France': {
    'version': '160.0.1',
    'resolved_reference': '12d8886bdf2970f71115e0c59f02977b17f6698a',
    'reference': 'wip-leximpact'
  },
 'OpenFisca-France-Data': {
    'version': '3.1.2',
    'resolved_reference': '466123fe04d66415c08614eb929a8e910c6dbcfc',
    'reference': 'master'
  },
 'openfisca-france-reforms': {
    'version': '1.0.304',
    'resolved_reference': 'e53f418245b971e0cdfd96fe0be2adc1663ea98a',
    'reference': 'HEAD'
  },
 'openfisca-survey-manager': {'version': '2.0.9'}
 }
}
Edited by sandcha

Merge request reports

Loading