Improvements#4
Conversation
|
💬 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. |
AlexOreshkevich
left a comment
There was a problem hiding this comment.
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
|
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.
| ``` | ||
| $ heroku addons:create mongolab:sandbox | ||
| ``` | ||
| - Deploy code |
There was a problem hiding this comment.
| * http://localhost:8090/department/info | ||
| * http://localhost:8090/organization/info | ||
| ### Swagger | ||
| - http://localhost:8090/swagger-ui.html |
There was a problem hiding this comment.
| ### 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.
| * http://localhost:8090/swagger-ui.html | ||
| ## REST API exposed | ||
| ### Eureka | ||
| - http://localhost:8761/ |
There was a problem hiding this comment.
| * http://localhost:8090/department/graphiql | ||
|
|
||
| Test query: | ||
| - http://localhost:8090/department/graphiql |
There was a problem hiding this comment.
| * http://localhost:8090/department/graphiql | ||
|
|
||
| Test query: | ||
| - http://localhost:8090/department/graphiql |
There was a problem hiding this comment.
| ``` | ||
| $ 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.
| ``` | ||
| $ heroku login | ||
| ``` | ||
| - Create a new application on Heroku |
There was a problem hiding this comment.
| ``` | ||
| $ git push heroku master | ||
| ``` | ||
| - Look at your application logs to see what is happening behind the scenes. |
There was a problem hiding this comment.
| * http://localhost:8090/mock | ||
| ### Test microservice status | ||
| - http://localhost:8090/employeeEntity/info | ||
| - http://localhost:8090/department/info |
There was a problem hiding this comment.
| ## GraphiQL | ||
| * http://localhost:8090/employee/graphiql | ||
| ### Generate mock data | ||
| - http://localhost:8090/mock |
There was a problem hiding this comment.
| 1. `./gradlew clean bootJar jibDockerBuild` | ||
| 2. `docker-compose up` | ||
| ## Prerequisites | ||
| - OpenJDK 12.0.2 or higher |
There was a problem hiding this comment.
|
|
||
| Test query: | ||
| ### GraphiQL | ||
| - http://localhost:8090/employee/graphiql |
There was a problem hiding this comment.
| * http://localhost:8090/swagger-ui.html | ||
| ## REST API exposed | ||
| ### Eureka | ||
| - http://localhost:8761/ |
There was a problem hiding this comment.
| ## GraphiQL | ||
| * http://localhost:8090/employee/graphiql | ||
| ### Generate mock data | ||
| - http://localhost:8090/mock |
There was a problem hiding this comment.
| * http://localhost:8090/organization/graphiql | ||
|
|
||
| Test query: | ||
| - http://localhost:8090/organization/graphiql |
There was a problem hiding this comment.
| ``` | ||
| $ heroku logs | ||
| ``` | ||
| - If your application deploys without timing out then open it as follows. |
There was a problem hiding this comment.
| ## Generate mock data | ||
| * http://localhost:8090/mock | ||
| ### Test microservice status | ||
| - http://localhost:8090/employeeEntity/info |
There was a problem hiding this comment.
| * http://localhost:8090/organization/graphiql | ||
|
|
||
| Test query: | ||
| - http://localhost:8090/organization/graphiql |
There was a problem hiding this comment.
| * http://localhost:8090/mock | ||
| ### Test microservice status | ||
| - http://localhost:8090/employeeEntity/info | ||
| - http://localhost:8090/department/info |
There was a problem hiding this comment.
| ### 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.
| ``` | ||
|
|
||
| ## Heroku setup | ||
| - Login to your heroku account from CLI |
There was a problem hiding this comment.
|
|
||
| Test query: | ||
| ### GraphiQL | ||
| - http://localhost:8090/employee/graphiql |
There was a problem hiding this comment.
| ## Generate mock data | ||
| * http://localhost:8090/mock | ||
| ### Test microservice status | ||
| - http://localhost:8090/employeeEntity/info |
There was a problem hiding this comment.
No description provided.