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

handle case where multiple uaa service instances are bound #16

Open
rlindner81 opened this issue Jan 31, 2023 · 0 comments
Open

handle case where multiple uaa service instances are bound #16

rlindner81 opened this issue Jan 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@rlindner81
Copy link
Contributor

our own afc-api app has two uaa services bound, one for communicating with our own services and one for the external facing api

currently mtx tool implicitly selects the first binding and runs with it.

it would be better to offer some configuration to override this selection either by number or even by name.

the general configuration format of .mtxrc is probably too simplistic to even hold this type of configuration, so this would need to be extended.

ideally the configuration should be changeable ad-hoc via MTX_UAA_APP or permanently.


the easiest way to cover all this would be not to change the configuration format away from a string, but rather encode more information into the string.

for example

  • afc-api:1 could mean use the second service binding or
  • afc-api:afc-api-uaa could mean use the service binding with the name afc-api-uaa

pro

  • support current approach for permanent config and ad-hoc env var config
  • ok easy to implement

con

  • logically breaks the naming because app now describes the app as well as the service binding
  • since it really describes the binding and not the app, it's also incomplete, it should really be afc-api:xsuaa:1 to identify the service as well
@rlindner81 rlindner81 added the enhancement New feature or request label Jan 31, 2023
@rlindner81 rlindner81 mentioned this issue Nov 28, 2023
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant