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

Mysql v2 parser #733

Closed
wants to merge 22 commits into from
Closed

Conversation

Hermione2408
Copy link
Member

Related Issue

  • MySQL parser with Record and Test mode

Closes: #[issue number that will be closed through this PR]

Describe the changes you've made

The MySQL parser package encompasses the parser and mapping logic required
to read MySql binary messages and capture and test the outputs.

Type of change

Feature

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Please let us know if any test cases are added

NA
Please describe the tests(if any). Provide instructions how its affecting the coverage.
NA

Describe if there is any unusual behaviour of your code(Write NA if there isn't)

NA

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

Hermione2408 and others added 22 commits August 20, 2023 15:11
After keploy#688, we no longer need to provide the `network` to keploy explicitly. Keploy would extract it from the docker spec.
Signed-off-by: shivamsouravjha <2019145@iiitdmj.ac.in>
* fix(http-responses): fixed chunked responses

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix(http-parser): chunked responses working

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix(http-parser): handled chunked responses in the http parser

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix(http-parser): fixed testing of chunked responses

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix(http-parser): modified the algorithm used to handle chunked responses

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix(http-parser): compressed the body of the response in test mode

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* style: removed unnecessary binary files

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix(http-parser): handled chunked responses in the record mode and gzip compression in test mode

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* style(http-parser): added functions to make the code more readable

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* feat(http-parser): added check to see if the response is actually gzipped

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* style: removed unncessary files

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

* fix: fixed the error with go mod tidy

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>

---------

Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
* feat: adds encode to record the external calls as generic form

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>

* feat: add fuzz matching for the gemeric deps in test

* refactor: make fuzz matching compatible for streaming

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>

* feat: add set read deadline for test mode

* feat: implement postgres wire protocol parser

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>

* refactor: remove debug level log

Signed-off-by: sarthak160 <rocksarthak45@gmail.com>

* refactor: remove unwanted files

Signed-off-by: sarthak160 <rocksarthak45@gmail.com>

* refactor: improve debuf logs

Signed-off-by: sarthak160 <rocksarthak45@gmail.com>

---------

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>
Signed-off-by: sarthak160 <rocksarthak45@gmail.com>
Co-authored-by: re-Tick <jain.ritik.1001@gmail.com>
Co-authored-by: Gourav kumar <44055698+gouravkrosx@users.noreply.github.com>
Signed-off-by: Neha Gupta <gneha21@yahoo.in>
Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>
Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants