91 Commits
Author SHA1 Message Date
KKlochko 474bb9daaf Update the controllers to return messages or errors as JSONs.
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-12-03 11:53:00 +02:00
KKlochko 84e6cd84db Add the REST model to return an error or an message as a JSON. 2023-12-03 11:47:30 +02:00
KKlochko 66b713fae5 Update the README. 2023-12-03 11:46:17 +02:00
KKlochko 6f3f0c5f2d Update the CI/CD config to upload the war file. 2023-12-03 11:40:38 +02:00
KKlochko fb307cfba8 Update the AuthorizedInterceptor to return a JSON error instead of HTML.
continuous-integration/drone/push Build is passing
2023-12-02 22:32:38 +02:00
KKlochko ccd1edea7e Add the routes to the AuthorizedInterceptor's configuration.
continuous-integration/drone/push Build is passing
2023-12-01 21:07:51 +02:00
KKlochko 81971295c0 Update the maven configuration. 2023-12-01 21:07:29 +02:00
KKlochko 06ce1ff07f Add AuthorizedInterceptor to control the access for a role. 2023-12-01 21:00:58 +02:00
KKlochko 2b1fef5b0e Add the access module to validate the access for a role. 2023-12-01 20:59:20 +02:00
KKlochko b3a52913a0 Remove the unused dependencies from IndicatorController. 2023-12-01 20:54:39 +02:00
KKlochko adfcf34176 Add the Auth controller to login and get the user token.
continuous-integration/drone/push Build is passing
2023-12-01 18:51:39 +02:00
KKlochko c6ff965796 Update the web configuration to add the TokenFactory. 2023-12-01 18:49:49 +02:00
KKlochko f7d81a2fb8 Add the User model and its repository.
continuous-integration/drone/push Build is passing
2023-12-01 18:47:25 +02:00
KKlochko a872e66d63 Refactor the SimpleToken factory to move hash function to Sha256Hash. 2023-12-01 18:43:44 +02:00
KKlochko 92c2d33e70 Update the project description. 2023-12-01 15:03:36 +02:00
KKlochko 356013b149 Add the Token repository.
continuous-integration/drone/push Build is passing
2023-12-01 14:59:58 +02:00
KKlochko 91c95de67e Add the factory for Token model.
continuous-integration/drone/push Build is passing
2023-12-01 14:08:13 +02:00
KKlochko e99a0bc771 Add factories to create a token as a string.
continuous-integration/drone/push Build is passing
2023-12-01 14:04:47 +02:00
KKlochko 23bdfd10cf Add Token model.
continuous-integration/drone/push Build is passing
2023-12-01 14:02:18 +02:00
KKlochko a7fc4876bf Update the route to return 404 if an model does not exist. 2023-11-29 11:57:21 +02:00
KKlochko 22207235d9 Add the REST API controllers for Department and Patient. 2023-11-29 11:46:14 +02:00
KKlochko 5aacd66fda Update the docker-compose to run also run the tomcat. 2023-11-28 20:19:58 +02:00
KKlochko 0ad4e95079 Update the indicator controller to have CRUD operations. 2023-11-28 20:18:42 +02:00
KKlochko b202457f10 Update the web configuration to add the db manager and a repository. 2023-11-28 19:41:06 +02:00
KKlochko 05528396ac Update the persistence configuration. 2023-11-28 19:38:12 +02:00
KKlochko 22e1506024 Add the Dockerfile and Makefile to run the server. 2023-11-26 14:09:51 +02:00
KKlochko 4dc120bce8 Add the web configuration and a simple rest controller. 2023-11-26 14:01:30 +02:00
KKlochko f2f306eba7 Update the maven configuration. 2023-11-26 13:45:42 +02:00
KKlochko 8cf2fb1e85 Remove the Main. 2023-11-26 13:42:45 +02:00
KKlochko 33a7bc57d6 Update the README. 2023-11-26 13:42:15 +02:00
KKlochko acbcee46f1 Rename the project and the package name in tests. 2023-11-26 13:40:12 +02:00
KKlochko 4feca1319e Remove the CLI. 2023-11-26 13:38:59 +02:00
KKlochko af59bccc31 Rename the project and the package name in config, db, models modules. 2023-11-26 13:36:25 +02:00
KKlochko 5b92a4a6ab Remove the gradle configuration. 2023-11-26 13:34:03 +02:00
KKlochko 556e928e42 Update the version. 2023-11-14 18:53:45 +02:00
KKlochko f4c1632ad4 Update the README and the configuration. 2023-11-14 18:45:57 +02:00
KKlochko 2f951e2d1c Update the version. 2023-11-14 16:24:27 +02:00
KKlochko 05b992f007 Update the hibernate config to create the tables if not exist. 2023-11-14 15:26:56 +02:00
KKlochko aac696ded4 Update the README to remove unneeded config/db. 2023-11-07 17:26:14 +02:00
KKlochko d9d595de8b Update the repositories to solve the N+1 problem. 2023-11-07 17:25:18 +02:00
KKlochko 8bd127ac4d Add the relationship between the models. 2023-11-07 12:24:12 +02:00
KKlochko a0f4aa728e Fix the test. 2023-11-06 21:58:18 +02:00
KKlochko 10c8e48ac5 Migrate the Main class. 2023-11-06 21:58:03 +02:00
KKlochko a102717338 Migrate the tests. 2023-11-06 21:48:00 +02:00
KKlochko bb6f0cb201 Add the EntityManagerConnection factory. 2023-11-06 21:44:01 +02:00
KKlochko 3f4896349a Migrate the model repositories. 2023-11-06 21:41:04 +02:00
KKlochko 736aa2c530 Add the Hibernate configuration. 2023-11-06 21:38:52 +02:00
KKlochko c947dc3460 Migrate the models to the JPA/Hibernate. 2023-11-06 21:35:37 +02:00
KKlochko 5335635d7d Migrate the CLI and DB configuration modules. 2023-11-06 21:34:11 +02:00
KKlochko 3be3f138c4 Update the README. 2023-11-06 21:30:38 +02:00
KKlochko 034a2a5e3c Update the gradle and maven configuration. 2023-11-06 21:30:10 +02:00
KKlochko 0a36bb1ece Update the version. 2023-10-29 16:10:34 +02:00
KKlochko 97b1ddca1a Add the README. 2023-10-29 16:10:16 +02:00
KKlochko 4697c16d14 Add the example of a docker-compose for the database. 2023-10-29 15:56:26 +02:00
KKlochko 57d5f341fd Add the example of a db configuration. 2023-10-29 15:55:55 +02:00
KKlochko 1229e8dac2 Update the project configurations. 2023-10-29 15:22:13 +02:00
KKlochko cb2f0fdd18 Update the CI/CD config to build when the release. 2023-10-29 15:08:46 +02:00
KKlochko 8a88ee24fd Remove unused imports. 2023-10-29 15:05:36 +02:00
KKlochko 8fc2212bef Add the lombok to the pom.xml. 2023-10-29 15:05:11 +02:00
KKlochko 9d51c1b04f Update the Main. 2023-10-29 14:52:07 +02:00
KKlochko 1c37455c8f Update the tests that integrated with the database. 2023-10-29 14:49:35 +02:00
KKlochko 31f210e489 Add block to turn on UUID plugin. 2023-10-29 14:49:07 +02:00
KKlochko 86b9c11104 Add a block to create tables. 2023-10-29 14:48:43 +02:00
KKlochko 0f4cb4a20e Add the command validator to CLI. 2023-10-29 14:13:38 +02:00
KKlochko c4f5cc9582 Add a commmand validator. 2023-10-29 14:13:12 +02:00
KKlochko bc694a6e81 Refactor the validator. 2023-10-29 14:09:12 +02:00
KKlochko 3d0e18b22d Update the format validator test. 2023-10-29 13:30:14 +02:00
KKlochko 8f546f426f Add the CLI and entry point. 2023-10-29 12:57:24 +02:00
KKlochko 7f9af282a3 Add tests for CommandEntity. 2023-10-29 12:39:50 +02:00
KKlochko fb9ee07cbe Add a validator for the input string format. 2023-10-29 12:37:58 +02:00
KKlochko 5159beee68 Fix the remove's command factory. 2023-10-29 12:10:53 +02:00
KKlochko d03eb7e824 Add command factories. 2023-10-28 22:04:48 +03:00
KKlochko 8b2f31ad32 Add command data and wrappers. 2023-10-28 22:04:01 +03:00
KKlochko 1b7718d420 Add cli parsers. 2023-10-28 22:03:30 +03:00
KKlochko d5d232fc42 Update the .gitignore. 2023-10-28 22:00:39 +03:00
KKlochko dbd92b41bc Update the model repositories. 2023-10-28 21:59:31 +03:00
KKlochko fead10291c Add the repository for Deparment. 2023-10-22 20:42:42 +03:00
KKlochko e528454576 Update the Department. 2023-10-22 20:42:07 +03:00
KKlochko 519e48ba2c Add a repository for Patients. 2023-10-22 20:01:03 +03:00
KKlochko f84b25b0f4 Add the test configuration. 2023-10-22 19:58:00 +03:00
KKlochko 9aa447dd06 Add the CI/CD configuration. 2023-10-22 19:54:51 +03:00
KKlochko f4deeece8d Update the repository for the Indicator. 2023-10-22 19:53:03 +03:00
KKlochko 39cb562cd2 Update the Patient. 2023-10-22 19:52:38 +03:00
KKlochko a8d7dcc69b Update the environment configuration. 2023-10-22 19:51:55 +03:00
KKlochko 5170f528cd Add tests for the indicator repository. 2023-10-21 21:40:38 +03:00
KKlochko d96c9bff9b Add a repository for indicators. 2023-10-21 21:39:27 +03:00
KKlochko fc8a227df8 Add the blocks for a repository. 2023-10-21 21:38:52 +03:00
KKlochko 74e5c8fe8d Add the database connection. 2023-10-21 21:35:04 +03:00
KKlochko 349337ddf6 Add the environment configuration. 2023-10-21 21:32:14 +03:00
KKlochko f40ada0389 Add models. 2023-10-21 21:29:09 +03:00
KKlochko e2c6f84d8d Project initialization. 2023-10-21 21:26:49 +03:00