1. 01 Dec, 2019 2 commits
  2. 30 Nov, 2019 1 commit
    • Alexander's avatar
      upd 3. issue https://resprojects.ru/issues/165 · adca1ac4
      Alexander 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
      adca1ac4
  3. 28 Nov, 2019 5 commits
  4. 27 Nov, 2019 1 commit
    • Alexander's avatar
      upd 1. issue https://resprojects.ru/issues/165 · 7726e6e6
      Alexander 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
      7726e6e6
  5. 20 Nov, 2019 1 commit
  6. 19 Nov, 2019 3 commits
    • Alexander's avatar
      Update README.md · d6616eb7
      Alexander authored
      d6616eb7
    • Alexander's avatar
      upd 5. issue https://resprojects.ru/issues/163 · b63462c6
      Alexander authored
      Some small changes in shell scripts and application.yml
      b63462c6
    • Alexander's avatar
      upd 4. issue https://resprojects.ru/issues/163 · 79f4a87a
      Alexander 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
      79f4a87a
  7. 16 Nov, 2019 1 commit
    • Alexander's avatar
      upd 3. issue https://resprojects.ru/issues/163 · c7d7da53
      Alexander 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. 
      c7d7da53
  8. 13 Nov, 2019 2 commits
    • Alexander's avatar
      upd 2. issue https://resprojects.ru/issues/163 · bd79c712
      Alexander authored
      Was fixed creating shell files for linux in packing application stage 
      bd79c712
    • Alexander's avatar
      upd 1. issue https://resprojects.ru/issues/163 · 28d0a894
      Alexander 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.
      28d0a894
  9. 09 Nov, 2019 1 commit
  10. 08 Nov, 2019 2 commits
    • Alexander's avatar
      Merge branch 'v1' into 'master' · 522cf3e0
      Alexander authored
      V1
      
      See merge request mrresident/linkchecker!1
      522cf3e0
    • Alexander's avatar
      Upd 17 FINAL. issue https://resprojects.ru/issues/160 · 88a9d76f
      Alexander 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
      88a9d76f
  11. 05 Nov, 2019 1 commit
  12. 04 Nov, 2019 11 commits
  13. 03 Nov, 2019 1 commit
    • Alexander's avatar
      Upd 15. issue https://resprojects.ru/issues/160 · 0bdb33fa
      Alexander 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
      0bdb33fa
  14. 31 Oct, 2019 1 commit
    • Alexander's avatar
      Upd 14. issue https://resprojects.ru/issues/160 · d40e2f8e
      Alexander 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
      d40e2f8e
  15. 27 Oct, 2019 2 commits
    • Alexander's avatar
      Upd 13. issue https://resprojects.ru/issues/160 · 38893aa0
      Alexander authored
      Added packaging stage for CI jobs
      38893aa0
    • Alexander's avatar
      Upd 12. issue https://resprojects.ru/issues/160 · 53aa7e30
      Alexander 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
      53aa7e30
  16. 20 Oct, 2019 1 commit
  17. 14 Oct, 2019 1 commit
    • Alexander's avatar
      Upd 10. issue https://resprojects.ru/issues/160 · 069b5288
      Alexander 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
      069b5288
  18. 07 Oct, 2019 2 commits
    • Alexander's avatar
      Upd 9. issue https://resprojects.ru/issues/160 · eee5d5b9
      Alexander authored
      Global refactoring, was removed probability parameter from Node.
      eee5d5b9
    • Alexander's avatar
      Upd 8. issue https://resprojects.ru/issues/160 · 7597ab58
      Alexander 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
      7597ab58
  19. 29 Sep, 2019 1 commit
    • Alexander's avatar
      Upd 7. issue https://resprojects.ru/issues/160 · a37e8ea3
      Alexander 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
      a37e8ea3