-
Notifications
You must be signed in to change notification settings - Fork 43
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
Cdotcv 30 #408
Cdotcv 30 #408
Conversation
It looks good. Thank you! I will test it in local to verify the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am able to setup vscode, use reopen remote container and launch/debug ODE. Then open browser with url: localhost:8080, the ODE demo console website is up. Then testing the binary file upload, the vscode output console shows that the messages are published to topic "DEBUG MessageProducer - Completed publish to topic: topic.Asn1DecoderInput, offset: 271, partition: 0".This is working. However, when I use the following command to subscribe the messages from kafka topic: "/opt/kafka/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic topic.Asn1DecoderInput --from-beginning --partition 0", I do not see any messages being published.
@dan-du-car I swapped the devcontainer.json to run on the host network rather than its own Docker container network. After adding in some Please note that you will need to have any locally running instance of Kafka and Zookeeper stopped prior to running this dev environment as it will be using the same ports your local instance would. |
Thank you! I will do a quick check. |
@payneBrandon How about the topic.Asn1DecoderOutput? How do we test the codec component capable of receiving this message and decode it and return back to ODE? I do not see any decoded output message: |
@dan-du-car |
PR Details
Description
This PR addresses the lack of a standard development environment for the ODE. It includes .devcontainer folder at root level which houses the tools necessary to generate a remote container used as a standard development environment. All tools needed to develop against the ODE are installed in the remote container. Documentation describing the development environment as well as how to run it can be found under docs/ODE_Development_SOP.docx
Related Issue
#407
Motivation and Context
#407
How Has This Been Tested?
This was tested locally on several machines following the associated instructions in the docs/ODE_Development_SOP.docx file. Because the changes will only affect development when using VS Code, the rest of the code base remains untouched.
Types of changes
Checklist:
ODE Contributing Guide