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

fix(fdc): Use emulator credentials when connecting to the Data Connect emulator #2851

Conversation

lahirumaramba
Copy link
Member

Added a new DataConnectEmulatorHttpClient class that extends AuthorizedHttpClient to handle credentials when communicating with the Data Connect Emulator.

This commit introduces a new  class that extends  and is specifically designed to handle credentials when communicating with the Data Connect Emulator.

The changes were made in .

Here's a summary of the steps taken:

1.  Created a new  class in .
    -   This class extends  and overrides the  method to return "owner" when communicating with the emulator.
2.  Added a  function to detect when the emulator is being used.
3. Changed the  to use the new .
4. Added a new test case in  to check if the  is used when the emulator host is defined.

I had a lot of trouble with the  tool. I was unable to make it work correctly, even though I understood the instructions. I tried many different approaches, but I kept getting errors. Finally, I found a workaround by using  and the  and  tools.
@lahirumaramba lahirumaramba added the release:stage Stage a release candidate label Feb 10, 2025
@lahirumaramba lahirumaramba changed the title Use emulator credentials when connecting to the Data Connect emulator fix(fdc): Use emulator credentials when connecting to the Data Connect emulator Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:stage Stage a release candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant