-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improvements #4
base: master
Are you sure you want to change the base?
Improvements #4
Conversation
Congratulations 🍻. DeepCode analyzed your code in 0.103 seconds and we found no issues. Enjoy a moment of no bugs ☀️. 💬 This comment has been generated by the DeepCode bot, installed by the owner of the repository. The DeepCode bot protects your repository by detecting and commenting on security vulnerabilities or other critical issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
codeCoverageReport
was not added to gradle.build
|
@AlexOreshkevich codeCoverageReport - already exists |
Can you give me more info? |
Codecov Report
@@ Coverage Diff @@
## master #4 +/- ##
=========================================
Coverage 15.94% 15.94%
Complexity 22 22
=========================================
Files 29 29
Lines 207 207
=========================================
Hits 33 33
Misses 174 174 |
# Conflicts: # README.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Here is an overview of what got changed by this pull request: Issues
======
+ Solved 21
- Added 26
Complexity increasing per file
==============================
- core/src/test/java/com/rednavis/core/CoreModuleTest.java 1
- organization-client/src/test/java/com/rednavis/organization/OrganizationApplicationTest.java 1
- department-client/src/test/java/com/rednavis/department/DepartmentApplicationTest.java 1
- employee-client/src/test/java/com/rednavis/employee/MongoDbContainer.java 1
- discovery-service/src/test/java/com/rednavis/discovery/DiscoveryApplicationTest.java 1
- zuul-service/src/test/java/com/rednavis/zuul/ZuulApplicationTest.java 1
See the complete overview on Codacy |
* http://localhost:8090/department/info | ||
* http://localhost:8090/organization/info | ||
### Swagger | ||
- http://localhost:8090/swagger-ui.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
$ heroku addons:create mongolab:sandbox | ||
``` | ||
- Deploy code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/department/info | ||
* http://localhost:8090/organization/info | ||
### Swagger | ||
- http://localhost:8090/swagger-ui.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Test microservice status | ||
- http://localhost:8090/employeeEntity/info | ||
- http://localhost:8090/department/info | ||
- http://localhost:8090/organization/info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/swagger-ui.html | ||
## REST API exposed | ||
### Eureka | ||
- http://localhost:8761/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/department/graphiql | ||
|
||
Test query: | ||
- http://localhost:8090/department/graphiql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/department/graphiql | ||
|
||
Test query: | ||
- http://localhost:8090/department/graphiql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
$ heroku apps:create | ||
``` | ||
- Add a MongoDB database to your Heroku application with MongoLab. Note that your Heroku account must have a credit card attached in order to use free add-ons other than the PostgreSQL and MySQL add-ons. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
$ heroku login | ||
``` | ||
- Create a new application on Heroku |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
$ git push heroku master | ||
``` | ||
- Look at your application logs to see what is happening behind the scenes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/mock | ||
### Test microservice status | ||
- http://localhost:8090/employeeEntity/info | ||
- http://localhost:8090/department/info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## GraphiQL | ||
* http://localhost:8090/employee/graphiql | ||
### Generate mock data | ||
- http://localhost:8090/mock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. `./gradlew clean bootJar jibDockerBuild` | ||
2. `docker-compose up` | ||
## Prerequisites | ||
- OpenJDK 12.0.2 or higher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
Test query: | ||
### GraphiQL | ||
- http://localhost:8090/employee/graphiql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/swagger-ui.html | ||
## REST API exposed | ||
### Eureka | ||
- http://localhost:8761/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## GraphiQL | ||
* http://localhost:8090/employee/graphiql | ||
### Generate mock data | ||
- http://localhost:8090/mock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/organization/graphiql | ||
|
||
Test query: | ||
- http://localhost:8090/organization/graphiql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
$ heroku logs | ||
``` | ||
- If your application deploys without timing out then open it as follows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Generate mock data | ||
* http://localhost:8090/mock | ||
### Test microservice status | ||
- http://localhost:8090/employeeEntity/info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/organization/graphiql | ||
|
||
Test query: | ||
- http://localhost:8090/organization/graphiql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* http://localhost:8090/mock | ||
### Test microservice status | ||
- http://localhost:8090/employeeEntity/info | ||
- http://localhost:8090/department/info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Test microservice status | ||
- http://localhost:8090/employeeEntity/info | ||
- http://localhost:8090/department/info | ||
- http://localhost:8090/organization/info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``` | ||
|
||
## Heroku setup | ||
- Login to your heroku account from CLI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
Test query: | ||
### GraphiQL | ||
- http://localhost:8090/employee/graphiql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Generate mock data | ||
* http://localhost:8090/mock | ||
### Test microservice status | ||
- http://localhost:8090/employeeEntity/info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.