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

Once more into the breech #120

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Once more into the breech #120

wants to merge 6 commits into from

Conversation

epugh
Copy link
Member

@epugh epugh commented Nov 15, 2024

This is an attempt to simplify the front end build stack and see if we can't get more reliability.

  1. Swap to port 3000. webpacker wants 3000, it insists on 3000, and no matter how much I try, if we aren't on 3000, we get weird websocket errors on port 3000 because it wants to do magic autoloading. So, gave up, accepted reality, and swapping the UI to port 3000 and let Quepid go live on 4000! This is the opposite of our other Chorus setups ;-).

  2. I DO now have hot reload all working just fine.

  3. Introduced reactivesearch which is based on the Chorus ES edition. The core functionality works great.

  4. I am working on pure JS, no TypeScript, classes for UBI. I have in ./src/ubi/ two classes: UbiEvent and UbiEventAttributes. I am taking the opportunity to go through them and align them with the UBI 1.2 spec. Even making sure the order of the properties matches whats in the spec ;-).

Right now I have Add to Cart working. It logs in the console the event. It does NOT publish that event anywhere. I figure I get the event's logging in the Console and then can add the sending of the events.

* OpenSearch runs at http://localhost:9200 | http://chorus-opensearch-edition.dev.o19s.com:9200
* OpenSearch Dashboards runs at http://localhost:5601/app/home | http://chorus-opensearch-edition.dev.o19s.com:5601/app/home
* OpenSearch Data Prepper runs at http://localhost:2021/ | http://chorus-opensearch-edition.dev.o19s.com:2021/
* Quepid runs at http://localhost:3000 | http://chorus-opensearch-edition.dev.o19s.com:3000
* Quepid runs at http://localhost:4000 | http://chorus-opensearch-edition.dev.o19s.com43000
Copy link
Collaborator

@jzonthemtn jzonthemtn Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong port number and missing :, i.e. :4000

1. We have removed the kata `001_optimize_a_query.md` until SMUI is back.
1. Waiting for OpenSearch 2.18 and UBI 2.18 with the fix for _msearch and pipelines.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR for this #121

Copy link
Collaborator

@jzonthemtn jzonthemtn Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that's Javascript. :)

this.session_id = session_id;
this.client_id = client_id;
this.user_id = '';
this.timestamp = Date.now();
Copy link
Collaborator

@jzonthemtn jzonthemtn Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this match the specification?

strict_date_time in OpenSearch mapping. "yyyy-MM-ddTHH:mm:ss.SSSZ"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants