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

feat(service-discovery): Align service discovery with API service #2459

Merged
merged 5 commits into from
Sep 16, 2024

Commits on Sep 13, 2024

  1. feat(service-discovery): Rework ServiceDiscoveryModule

    - adjust interfaces for api service
    - replace configurator to extends BaseConfigBuilder
    - update api client
    
    BREAKING CHANGES:
    - new configuration methods
    - services resolves to `Services` and not `Environment`
    - read changelog
    odinr committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    0592c1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a8ee3a View commit details
    Browse the repository at this point in the history
  3. refactor(legacy-interopt): Update createServiceResolver to match serv…

    …ice discovery module
    
    - add fallback for clientId
    - fix return handling of `resolveServices`
    
    BREAKING CHANGES:
    
    now requires `@equinor/fusion-framework-module-service-discovery^8`
    odinr committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    670225f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bbc19b5 View commit details
    Browse the repository at this point in the history
  5. refactor(service-discovery): Update service discovery configuration

    - Update the baseUri in the service discovery client configuration to use the current URL with the '/_discovery/environments/current' path.
    - Update the defaultScopes in the service discovery client configuration to include the '5a842df8-3238-415d-b168-9f16a6a6031b/.default' scope.
    - Refactor the createDevProxy function in dev-proxy.ts to modify the response services.
    - Set the environmentName to 'DEVELOPMENT' in the response object.
    - Filter out the 'app' service from the response services.
    - Add a new service object for the 'app' service with the uri set to the current URL and the scopes set to the clientId + '/.default'.
    odinr committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    4a6affc View commit details
    Browse the repository at this point in the history