Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect data to new backoffice - add feature flag #482

Closed
karolina-siemieniuk-morawska opened this issue Jun 12, 2024 · 1 comment
Closed

Comments

@karolina-siemieniuk-morawska
Copy link
Collaborator

karolina-siemieniuk-morawska commented Jun 12, 2024

TECH NOTES:

  • Create an Bearer token in backfofifce for creating workflows
  • Update k8s with the token in hep BACKOFFICE_BEARER_TOKEN
  • Refactor this function to accept a url and token a parameter instead of having only next hardcoded
  • Refactor the code if needed to use the new function
  • Add a feature flag [here (https://github.com/inspirehep/inspirehep/blob/master/backend/inspirehep/submissions/views.py#L194) FEATURE_FLAG_ENABLE_SEND_TO_BACKOFFICE and send also to the new backoffice (using the function).
@drjova
Copy link
Contributor

drjova commented Jul 1, 2024

Test in QA that submissions are going to backoffice as well (i.e. FEATURE FLAG, TOKEN etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants