- 01 Dec, 2019 2 commits
-
-
https://resprojects.ru/issues/165Alexander authored
1) Added new document for EDGE REST API 2) Some changes in document for NODE REST API 3) Up rise program version to 0.3.0
- 30 Nov, 2019 1 commit
-
-
https://resprojects.ru/issues/165Alexander authored
1) Added new document for NODE REST API 2) Some changes in document for GRAPH REST API 3) In index.html added button "Linkchecker REST API Guide v1" with link to REST API documentation
-
- 28 Nov, 2019 5 commits
-
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
https://resprojects.ru/issues/165Alexander authored
1) Some change in pom.xml. Was added all tests. 2) For GitLab CI was added new stage DEPLOY and changed stage package. Now artifact name is linkchecker-$CI_COMMIT_REF_NAME where $CI_COMMIT_REF_NAME - the current branch or tag name
-
- 27 Nov, 2019 1 commit
-
-
https://resprojects.ru/issues/165Alexander authored
1) In pom.xml 1.1) added new library Spring REST Docs 1.2) was changed maven building process 2) Added *.adoc files for REST API documentation 3) Added new special tests files for building REST API documentation. This tests files is ended on *Documentation.java 4) In GraphRestControllerTests.java added new test 5) For all controller tests was changed annotation from @WebAppConfiguration to the @AutoConfigureMockMvc 6) Entry point to the REST API documentation is /docs/api-guide-v1
-
- 20 Nov, 2019 1 commit
-
-
Alexander authored
Rm163 See merge request mrresident/linkchecker!2
-
- 19 Nov, 2019 3 commits
-
-
Alexander authored
-
https://resprojects.ru/issues/163Alexander authored
Some small changes in shell scripts and application.yml
-
https://resprojects.ru/issues/163Alexander authored
1) For scripts linkchecker_linux.sh and linkchecker_win.bat added new KEY - --help for display usage information. 2) Added new Error type - WRONG_REQUEST into ErrorType enum class 3) Added new class CustomErrorController. This class is replace default class BasicErrorController - controller for processing requests error. 4) In application.yml added new application setting - disabled caching for thymleaf in [test, debug] profiles 5) Added error.html page and some graphic resources. 6) Some changes in index.html
-
- 16 Nov, 2019 1 commit
-
-
https://resprojects.ru/issues/163Alexander authored
1) Some change in .gitlab-ci.yml. Changed application packing stage 2) Added two scripts (for linux and windows) for running application. 3) Switching off colorized output into console because does not display correctly into windows console.
-
- 13 Nov, 2019 2 commits
-
-
https://resprojects.ru/issues/163Alexander authored
Was fixed creating shell files for linux in packing application stage
-
https://resprojects.ru/issues/163Alexander authored
1) In .gitlab-ci.yml file was extended stage CI - packing application 2) In AppProperties class added comment for class 3) Some changes in Edge and Node classes. Was removed comments for getters and setters 4) In GraphServiceImpl class was removed all entries for debug log 5) In GraphUtil class in some methods was added entries for debug log 6) In ValidationUtil class was changed some messages strings 7) In GraphEdgeRestController class was added entries for info log and also changed default requests for creating edges 8) In GraphEdgeRestController class was added entries for info log and also changed default requests for creating nodes 9) In GraphEdgeRestController class was added entries for info log and also changed default requests for creating graph 10) In application.yml was changed: 10.1) Postgresql datasource settings was moved to external setting file 10.2) Was changed profiles, now three main profiles: 10.2.1) demo - application launching in demo mode (with initializing and populating embedded database H2) 10.2.2) production - application launching in production mode (used PostgreSQL DB). For launching in this mode user must create external settings file application-production.properties and add to this file datasource info (host, port, DB name, user and password). For more information see wiki [Описание данных](./../wikis/Описание%20данных) 10.2.3) test - for unit tests 10.3) Also for demo and production modes was added optional mode - debug mode. In this mode extended information for ligging. 10.4) Default profile - demo mode 11) Some changes in unit tests. 11.1) For some unit tests was changed profile settings 11.2) In controllers unit tests was changed creating requests for graph, nodes and edges. 11.3) Some change for data logging in unit tests.
-
- 09 Nov, 2019 1 commit
-
-
Alexander authored
-
- 08 Nov, 2019 2 commits
-
-
Alexander authored
V1 See merge request mrresident/linkchecker!1
-
https://resprojects.ru/issues/160Alexander authored
Final changes for this branch 1) In pom.xml changed program version 2) Some changes in README file 3) In GraphDTO.EdgeGraph class some changes. For validator annotation @NotBlank was added text message 4) In GraphEdgeServiceImpl class some changes. For get method was added data checking and thows exception if data incorrect 5) In enum type ErrorType was deleted unused error type 6) In ValidationUtil class some changes for validation messages 7) Was deleted unused tests 8) Some changes in GraphEdgeServiceH2DBTests. Was added new unit tests and renamed exists tests. 9) Some changes in GraphEdgeServiceMockTests 10) In TestUtils was removed unused method 11) Was added unit tests for GraphEdgeRestController
-
- 05 Nov, 2019 1 commit
-
-
Alexander authored
-
- 04 Nov, 2019 11 commits
-
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
Alexander authored
-
https://resprojects.ru/issues/160Alexander authored
1) Jackson library was changed to the gson library 2) In application settings was changed default json mapper from jackson to the gson 3) In TestUtils class was changed json mapper methods (now used gson instead jackson) 4) In JsonGraphDtoTests class was changed json tester from JacksonTest to the GsonTester 5) Was added unit tests for GraphNodeRestController class 6) In GraphNodeServiceImpl class was changed delete method (delete by object). Was added catching of exception.
-
- 03 Nov, 2019 1 commit
-
-
https://resprojects.ru/issues/160Alexander authored
1) Spring Boot was upgraded to 2.2.0.RELEASE 2) Was added libraries org.webjars.bootstrap and spring-boot-starter-thymeleaf 3) Some changes in application.yml - changed setting for logging 4) In class ErrorInfo was added default constructor for json serialization/deserialization and method toString() 5) Classes ExceptionInfoHandler, GraphRestController, GraphEdgeRestController and GraphNodeRestController was moved on to ru.resprojects.linkchecker.web.rest package 6) Was changed entry point from "/v1/graph" to "/rest/v1/graph" 7) For request /rest/v1/graph/checkroute was changed media type from application/json to text/html 8) Was added static web page and controller for it 9) Was added helper class TestUtil 10) Was added class JsonGraphDtoTests for testing json serialization/desrialization 11) Was added classes GraphRestControllerMockTests and GraphRestControllerTests for testing GraphRestController
-
- 31 Oct, 2019 1 commit
-
-
https://resprojects.ru/issues/160Alexander authored
1) Was removed of unnecessary exception IllegalRequestDataException 2) In GraphDto class was added validate annotation for collections of nodes and edges of data graph 3) In ApplicationException was changed type of message. The string message has been changed to an array of strings. 4) In ErrorInfo class was changed type of message and added getters and setters 5) In ErrorPlaceType was added new place of an error occure 6) Was refactoring ErrorType class 7) In ValidationUtil class was added new helper methods and changed size of graph data node name from 50 to 20 chars 8) Added exception handler for REST-controllers 9) In REST-controllers was added validate annotation
-
- 27 Oct, 2019 2 commits
-
-
-
https://resprojects.ru/issues/160Alexander authored
1) Was removed default method "isNew" from interface HasId 2) In GraphNodeServiceImpl class was added new method isPresent for additional checking while added new node to the graph 3) In the GraphService interface was added new method exportToGraphViz for export current graph to the graphviz format https://www.graphviz.org/about/ 4) Added new error message for graph node in the application.yml 5) Some change in unit tests: 5.1) added new tests for GraphNodeService class 5.2) Some test was renamed 6) Added package web with REST-controllers
-
- 20 Oct, 2019 1 commit
-
-
https://resprojects.ru/issues/160Alexander authored
All messages of exception was moved to application.yml file and making code refactoring.
-
- 14 Oct, 2019 1 commit
-
-
https://resprojects.ru/issues/160Alexander authored
1) Added new library PowerMock for tests of the static methods. 2) Added new profile for mock tests 3) Making some changes in checkRoute method in GraphServiceImpl class 4) Added unit tests for GraphUtil class 5) Added tests for GraphServiceImpl class
-
- 07 Oct, 2019 2 commits
-
-
https://resprojects.ru/issues/160Alexander authored
Global refactoring, was removed probability parameter from Node.
-
https://resprojects.ru/issues/160Alexander authored
1) Removed ChangedState interface 2) For equals and hashCode methods In EdgeGraph class added missed parameter - id 3) In GraphEdgeService interface added new method delete for batching delete edges from repository 4) Some change in GraphService inteface 4.1) Removed method delete 4.2) Added new methods for direct access to graph edges and nodes 4.3) For method changeRoute changed parameter 5) Implemented all methods for GraphService, but method checkRoute partially implemented 6) Some chenge in GraphUtil class 6.1) Code rafactoring for some methods 6.2) Added new methods 7) In Messages class some change 7.1) Refactoring some messages 7.2) Added new messages 8) Added new unit tests for GraphService and some change in other tests
-
- 29 Sep, 2019 1 commit
-
-
https://resprojects.ru/issues/160Alexander authored
1) Added new exception type and error type info for this exception 2) Some change associated with exception into GraphEdgeServiceImpl and GraphNodeServiceImpl classes 3) Some change associated with exception into ValidationUtil class
-