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

WI 3565801: Update OMF jupyter example to not have OMF validation in documentation #8

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

Conversation

evan-aveva
Copy link

The CDS OMF endpoint no longer indicates that the OMF message was invalid. Removed mentions of the /omf endpoint validating OMF messages, but also mentioned the designated OMF validation endpoint: /omf/validation

OmfIngress support explanation:

We do not validate JSON with the /omf endpoint for performance reasons, but we do ensure that the message is small/big enough for us to process. We recommend that customers use the OMF Validation endpoint (/api/v1/omf/validation) to validate their JSON before sending it via the /omf endpoint. The 400 "invalid message" error that you are seeing is actually referring to the message body being too small for us to recognize as a valid request, which we have set up to be 12 bytes.

@evan-aveva evan-aveva requested a review from a team as a code owner November 6, 2024 21:15
@afink-aveva afink-aveva self-requested a review November 20, 2024 15:15
"\n",
"The following diagram illustrates the basic flow of an OMF message request\n",
"![OMFMessage](images/omfmessage.png)\n"

Choose a reason for hiding this comment

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

This is the only reference to images/omfmessage.png, so we can remove it from the project as well

"\n",
"If there are any issues with the data flow, contact AVEVA Technical Support with this operation-id. \n",
"To determine if an OMF message is truly valid, send the message to the CONNECT Data Services OMF Validation endpoint (../api/v1/omf/validation). A successful response indicates that the OMF message is valid.",

Choose a reason for hiding this comment

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

Would it be better to hyperlink to the Omf/Validation endpoint docs?

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.

2 participants