Skip to content

feat: support inso global env id / filepath#8039

Merged
jackkav merged 9 commits intoKong:developfrom
jackkav:add-global-env-id-support
Oct 7, 2024
Merged

feat: support inso global env id / filepath#8039
jackkav merged 9 commits intoKong:developfrom
jackkav:add-global-env-id-support

Conversation

@jackkav
Copy link
Contributor

@jackkav jackkav commented Oct 3, 2024

motivation: in order to support globals in prerequest scripts when running against a single file export, we would like to load a second file containing global environments.

todo:

  • implement
  • test
  • figure out how importing files would work
  • raise active global lookup fetch
  • add ws meta support

notes:

  • import the global file into the db object, then assign the activeGlobalEnvironmentId in the workspace meta in order for it to be respected by prerequest scripts
  • alternatively we could override the env object with the global in prerequest logic

closes INS-4425

@jackkav jackkav force-pushed the add-global-env-id-support branch from 5649562 to e9ac57f Compare October 7, 2024 13:42
@jackkav jackkav marked this pull request as ready for review October 7, 2024 14:18
@jackkav jackkav requested a review from a team October 7, 2024 14:18
@jackkav jackkav changed the title feat: inso global env id feat: support inso global env id / filepath Oct 7, 2024
@jackkav jackkav merged commit f6ec3e7 into Kong:develop Oct 7, 2024
@jackkav jackkav deleted the add-global-env-id-support branch October 7, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants