Feature/issues/2334/create elastic spring app#80
Feature/issues/2334/create elastic spring app#80Yordaniss wants to merge 6 commits intokeploy:mainfrom
Conversation
e7331a1 to
1482c87
Compare
cd0e40b to
2ec8fbd
Compare
|
@Yordaniss, Hey seems there is no mocks in this PR can you check if they were recorded or not locally ? Since ElasticSearch internally use HTTP, there should be outgoing http mocks. |
|
You mean this mocks.yaml with thousands lines? |
a3b08f4 to
860025e
Compare
|
Hey @Sarthak160 Thanks for advice. I also added mocks.yaml and have run all test cases. Everything looks fine now |
|
Hey @Yordaniss Seems your application is making some external calls to fetch some spring assets - You can use passthrough via keploy config and add these particular enpoints to avoid getting recorded as mocks. |
* init new app * added controller, service, model and client * added dependencies Signed-off-by: Snoopy009 <wernerdmytro@gmail.com>
* clean up * improvements Signed-off-by: Snoopy009 <wernerdmytro@gmail.com>
* added readme file Signed-off-by: Snoopy009 <wernerdmytro@gmail.com>
* added test cases Signed-off-by: Snoopy009 <wernerdmytro@gmail.com>
* run the tests * added mocks file Signed-off-by: Snoopy009 <wernerdmytro@gmail.com>
* rerun tests with keploy passthrough Signed-off-by: Snoopy009 <wernerdmytro@gmail.com>
a0b3480 to
c61ef04
Compare
@Sarthak160 Thanks for advice. I recorded test with keploy passthrough and run test cases. Everything looks fine now. I hope ^^ |
|
Hey @Yordaniss I was trying to run your application with java 1.8 on my system it gave me error - Could you also make it compatible for this java version as well. |
|
Closing this PR as it has been inactive for a long time. Feel free to reopen if needed. |
Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes (Create a Springboot-Elastic sample app)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Additional Context (Please include any Screenshots/gifs if relevant)
...
Checklist: