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

Request Logger JsonData Fix #3423

Merged
merged 1 commit into from Jul 22, 2021
Merged

Request Logger JsonData Fix #3423

merged 1 commit into from Jul 22, 2021

Conversation

ukclivecox
Copy link
Contributor

What this PR does / why we need it:

  • Ensures Seldon protocol jsonData, strData and binData are not interpreted but passed as is to elastic
  • Adds some units tests
  • Refactors Makefile
  • Adds envs to Dockerfile for GUNICORN_WORKERS AND GUNICORN_THREADS

Which issue(s) this PR fixes:

Fixes #3421

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

@SachinVarghese
Copy link
Contributor

Nice, changes look good to me. And returning the elastic response is really useful for debugging.

@@ -7,8 +7,8 @@ CLIENT_ID=sd-api
OIDC_USERNAME=admin@seldon.io
OIDC_PASSWORD=xxxxxx
OIDC_SCOPES=openid profile email groups
DEPLOY_API_HOST=http://xx.xx.xx.xx/seldon-deploy/api/v1alpha1
OIDC_PROVIDER=http://xx.xx.xx.xx/auth/realms/deploy-realm
#DEPLOY_API_HOST=http://xx.xx.xx.xx/seldon-deploy/api/v1alpha1
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems comment left out

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I commented out so as not to assume deploy exists when running locally but should really improve Makefile for the 2 options of running with and without deploy

@axsaucedo
Copy link
Contributor

Looks good added a comment for somethign to consider but we can merge as follow refactor
/approve

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: axsaucedo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@seldondev seldondev merged commit a7a29d4 into SeldonIO:master Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request Logger Update
4 participants