FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Keploy Integration - Added sample Java application using JWT Token by jaiakash · Pull Request #76 · keploy/samples-java · GitHub

Keploy Integration - Added sample Java application using JWT Token - #76

Open
jaiakash wants to merge 9 commits into
keploy:mainfrom
jaiakash:sample-jwt
Open

Keploy Integration - Added sample Java application using JWT Token#76
jaiakash wants to merge 9 commits into
keploy:mainfrom
jaiakash:sample-jwt

Conversation

Copy link
Copy Markdown

Pull Request Template

Description

Hi me (@jaiakash) and @amitpanwar789 have worked on the sample Java application with JWT token creation and verification. This sample helps to use the Keploy to test in JAVA.

Fixes keploy/keploy#2016

Type of change

Please delete options that are not relevant.

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

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
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings
  • I have tagged the reviewers in a comment below incase my pull request is ready for a review
  • I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

Copy link
Copy Markdown
Author

Please review @Swpn0neel @charankamarapu

Copy link
Copy Markdown
Contributor

I have tried running the application without keploy. On the second request which is mentioned in the README is giving me this error

It is better to keep the token in header than request body (a standard practice).

Copy link
Copy Markdown
Author

Hi @charankamarapu Thanks for your suggestion. Have updated the PR to have token in header instead of body.
Also as I can see from screenshots, end point is users/tokenVerification not users/verify

charankamarapu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please address the comments

Comment thread spring-boot-jwt/README.md Outdated
Comment thread spring-boot-jwt/README.md Outdated
Comment thread spring-boot-jwt/README.md
Comment thread spring-boot-jwt/README.md Outdated
Comment thread spring-boot-jwt/README.md
jaiakash requested a review from charankamarapu July 26, 2024 12:23

charankamarapu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please address the comments and before requesting for a review please follow the read me and add the record and test screenshots for native and docker case.

Comment thread spring-boot-jwt/README.md Outdated
Comment thread spring-boot-jwt/README.md
- Login

```bash
curl --location --request POST 'http://localhost:8080/users/login' \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

why is the native case removed ..?

These should be the headings

Prerequisites
Getting Started
Native Usage
Docker Usage

  • here only you can write the command to build application image etc.

we dont need API Endpoints/ Running with Docker section

Comment thread spring-boot-jwt/README.md Outdated

jaiakash commented Aug 5, 2024

Copy link
Copy Markdown
Author

Hi @yaten2302, did you check it?

Copy link
Copy Markdown

Apologies for the delay, @jaiakash. I've DM you on Slack.

jaiakash and others added 8 commits September 10, 2024 03:15
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
* feat:Add spring-mysql-redis to samples java

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* remove .idea and target folder

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* add .idea and target to gitignore

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* add .idea and target to gitignore

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

* remove reports from .gitignore

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>

---------

Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>

jaiakash commented Sep 9, 2024

Copy link
Copy Markdown
Author

Hi @PranshuSrivastava @Sonichigo @charankamarapu, I am incredibly sorry for the delay.

Have updated the PR. Can you please suggest what changes are required in this readme file or maybe the overall project?

Thanks

cc @yaten2302

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

6 similar comments

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

1 similar comment

Copy link
Copy Markdown

⚠️ Oops! We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link
Copy Markdown

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

3 similar comments

keploy-staging Bot commented Apr 14, 2025
edited
Loading

Copy link
Copy Markdown

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

Copy link
Copy Markdown

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

keploy Bot commented Apr 15, 2025
edited
Loading

Copy link
Copy Markdown

Nice Pr 😄. We currently support Unit Test Generation only for Go projects.
Stay tuned – support for more languages is coming soon! 🚀

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

[feature]: Creating Sample Java Application using JWT Token

5 participants


Back | FazBrowse Home | New Git URL