Skip to content

BRD - Temp link is not picking up some keys #28373

Closed
bcgov/business-ui
#164

Description

@JazzarKarim

The x api is not being picked up after a /gcbrun. This is detrimental as we can't search so dev's can't search for their work in the temp link. Need to fix that.

image.png

Same thing for business API headers.

Activity

  1. self-assigned this
    on May 9, 2025
  2. added
    Entities Team
    on May 9, 2025
  3. severinbeauvais commented on Jul 14, 2025

    @severinbeauvais
    Collaborator

    What was the fix for this?

  4. JazzarKarim commented on Jul 14, 2025

    @JazzarKarim
    CollaboratorAuthor

    What was the fix for this?

    I had to update the inline YAML file in GCP:

    Image

    These 3 were missing:
    Image

    It's nice that I have access to change things in the trigger, helped with experimentation. Had to figure this out. We can finally properly use temp links 🥹

  5. JazzarKarim commented on Jul 14, 2025

    @JazzarKarim
    CollaboratorAuthor

    @severinbeauvais Just as an FYI, anything that's not there in that YAML file, the env value gets picked up from the .env.example file instead. That's why these keys were always being picked up as empty strings.

  6. severinbeauvais commented on Jul 14, 2025

    @severinbeauvais
    Collaborator

    Were any other UI configs updated to pick up the new API keys (Business, Auth, Pay)?

  7. JazzarKarim commented on Jul 14, 2025

    @JazzarKarim
    CollaboratorAuthor

    Were any other UI configs updated to pick up the new API keys (Business, Auth, Pay)?

    I have no idea. I think they're all working already (temp links) so should be good.

  8. severinbeauvais commented on Jul 14, 2025

    @severinbeauvais
    Collaborator

    Did you have to do anything to get the YAML populated?

    Image

    This is what I see when I try to edit some of the other triggers:

    Image
  9. JazzarKarim commented on Jul 14, 2025

    @JazzarKarim
    CollaboratorAuthor

    Did you have to do anything to get the YAML populated?

    This is what I see when I try to edit some of the other triggers:

    In the case of the BRD, these values where already there. Maybe other UIs have different syntax? In my case, the YAML was already populated.

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

Metadata

Metadata

Assignees

Labels

Entities TeamSRE

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions