which takes a value of https://converter.hepdata.net. For the Kubernetes configuration, we want to specify different URLs for the QA and production deployments. Therefore, the converter URL should instead be obtained from Flask:
from flask import current_app
CFG_CONVERTER_URL = current_app.config.get('CFG_CONVERTER_URL')
Currently, the converter URL is obtained using:
which takes a value of
https://converter.hepdata.net
. For the Kubernetes configuration, we want to specify different URLs for the QA and production deployments. Therefore, the converter URL should instead be obtained from Flask: