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: Move the named_pipe_helper.py under the folder adaptor_runtime_client #87

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

Honglichenn
Copy link
Contributor

@Honglichenn Honglichenn commented Mar 18, 2024

What was the problem/requirement? (What/Why)

Previously, we put the common named pipe code in the named_pipe_helper.py and this file exist in the adaptor_runtime folder. However, when developing 3rd party adaptor, developer may be only import the adaptor_runtime_client , for example, this one. It will complain that the named_pipe_helper.py cannot be found.

What was the solution? (How)

Put the named_pipe_helper.py under the adaptor_runtime_client folder instead of the adaptor_runtime. For now, the server side adaptor_runtime must have the access to any code under the adaptor_runtime_client, so we won't have any issues.

What is the impact of this change?

named_pipe_helper.py is moved to adaptor_runtime_client

How was this change tested?

Change the imports in the test code and all of them are passed.

Was this change documented?

N/A

Is this a breaking change?

Yes, but this won't affect any external code, because named_pipe_helper.py is only used internally.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Honglichenn Honglichenn force-pushed the honglich/move_namedpipe branch 2 times, most recently from 39f958a to b41d206 Compare March 18, 2024 20:36
@Honglichenn Honglichenn changed the title Fix: Move the named_pipe_helper to the adaptor_runtime_client fix: Move the named_pipe_helper.py under the folder adaptor_runtime_client Mar 18, 2024
@Honglichenn Honglichenn changed the title fix: Move the named_pipe_helper.py under the folder adaptor_runtime_client fix: Move the named_pipe_helper.py under the folder adaptor_runtime_client Mar 18, 2024
@Honglichenn Honglichenn marked this pull request as ready for review March 19, 2024 15:37
@Honglichenn Honglichenn requested a review from a team as a code owner March 19, 2024 15:37
@Honglichenn Honglichenn requested a review from epmog March 19, 2024 15:37
epmog
epmog previously approved these changes Mar 19, 2024
pyproject.toml Show resolved Hide resolved
src/openjd/adaptor_runtime/_background/backend_runner.py Outdated Show resolved Hide resolved
…e_client`

Signed-off-by: Hongli Chen <honglich@amazon.com>
…e_client`

Signed-off-by: Hongli Chen <honglich@amazon.com>
@ddneilson ddneilson changed the title fix: Move the named_pipe_helper.py under the folder adaptor_runtime_client fix!: Move the named_pipe_helper.py under the folder adaptor_runtime_client Mar 20, 2024
@ddneilson ddneilson changed the title fix!: Move the named_pipe_helper.py under the folder adaptor_runtime_client fix: Move the named_pipe_helper.py under the folder adaptor_runtime_client Mar 20, 2024
@ddneilson ddneilson merged commit 1398c56 into mainline Mar 20, 2024
12 checks passed
@ddneilson ddneilson deleted the honglich/move_namedpipe branch March 20, 2024 17:17
This was referenced Mar 22, 2024
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.

4 participants