Kunchala Vikram
d5f52b45ac
Merge pull request #1 from kunchalavikram1427/dev
...
Update readme.md
2022-09-02 09:43:28 +05:30
Kunchala Vikram
f72949036d
Update readme.md
2022-09-02 09:39:06 +05:30
Kunchala Vikram
5ae2531ef3
Update pom.xml
2022-08-31 17:35:29 +05:30
Kunchala Vikram
960d22c39f
Update pom.xml
2022-08-31 01:03:17 +05:30
vikram
4e01a63bb2
init
2022-08-31 00:56:58 +05:30
vikram
ce60e20ff8
init
2022-08-31 00:50:58 +05:30
Kunchala Vikram
55f405e9f8
Update pom.xml
2022-08-26 07:48:30 +05:30
Kunchala Vikram
4c7a14e1be
Update readme.md
2022-08-25 15:10:44 +05:30
Kunchala Vikram
e5f3eb4e94
Update pom.xml
2022-03-06 22:22:48 +05:30
Kunchala Vikram
ba553c923d
Update pom.xml
2022-03-03 22:29:26 +05:30
Kunchala Vikram
dfe12b57cb
Update pom.xml
2022-03-03 22:20:42 +05:30
Kunchala Vikram
13b1f11c30
Create Jenkinsfile
2022-02-13 00:45:29 +05:30
Kunchala Vikram
a3abfb567b
Update Dockerfile
2022-02-13 00:30:00 +05:30
Kunchala Vikram
0c76f5eb50
Update Dockerfile
2022-02-13 00:15:52 +05:30
Kunchala Vikram
3d23ac00cc
Create Dockerfile
2022-02-13 00:14:32 +05:30
Kunchala Vikram
d31bdfc705
Update pom.xml
2022-02-08 22:01:38 +05:30
Kunchala Vikram
0fc00fd56b
Update pom.xml
2022-02-08 21:22:08 +05:30
Dave Syer
9cb8dde9b8
Add section on building a container
2022-01-10 10:46:26 +00:00
Dave Syer
bdcaa85460
Alternative approach with eager fetch
2022-01-10 08:21:14 +00:00
Dave Syer
e765e3ffe1
Fix lazy loading issue in owner details
2022-01-10 08:08:43 +00:00
Dave Syer
8a28801d1a
Add actuators to Gradle build
2022-01-07 09:20:08 +00:00
Oliver Drotbohm
472575378c
Additional tweaks in aggregate model.
...
Introduced Owner.addVisit(…) to avoid that state transition to live in controller code.
Slightly polished some assertions in ClinicServiceTests.
2022-01-07 09:18:19 +00:00
Dave Syer
b559077f14
Remove manual id management in child entities
...
This is reverting a workaround for a Hibernate "feature". There's
no need for the child entities (Pet and Visit) to know about their
parent (foreign key). Hibernate can manage that just fine with a
@JoinColumn. But it needs a nullable foreign key column in the
DB schema. That's the downside. The upside is much less code in
Java.
2022-01-06 11:23:02 +00:00
Shaan Sapra
43beff91a3
Avoid dropping Postgres schema
...
The postgres user needs to be an owner of the public schema or a
superuser in order to execute the schema.sql for database
initialization.
To avoid that, two changes are required:
- use `CREATE TABLE IF NOT EXISTS` in order to idempotently create the
necessary tables
- handle conflicts when inserting duplicate data
This follows the pattern in use by the
src/main/resources/db/mysql/{data,schema.sql} files.
Authored-by: Shaan Sapra <shsapra@vmware.com>
2022-01-06 07:22:50 +00:00
Dave Syer
423a337543
Move Visit to owner package (it's aggregate root)
2022-01-05 09:39:26 +00:00
Dave Syer
58fe6298f8
Also remove VisitRepository
...
Rely on Hibernate to do lazy loading on visits.
2022-01-05 09:30:23 +00:00
Dave Syer
a5da14ae2f
No need for exclusion in recent versions
2022-01-05 08:25:30 +00:00
Dave Syer
c9534421c8
Remove PetRepository and use Owner as aggregate
...
Owner is really the aggregate root in DDD terms and there is no
need to directly access the Pet entity.
2022-01-05 08:24:58 +00:00
Thomas Risberg
778161f018
Update to Boot 2.6.2
2021-12-24 06:16:55 +00:00
Dave Syer
a7439c74ea
Mention Gradle build in readme
2021-12-16 11:46:05 +00:00
Dave Syer
094d3021e9
Upgrade to Spring Boot 2.6.1 and fix Maven build
2021-12-16 11:39:30 +00:00
Dave Syer
f0155739c3
Update for recent changes in mvn build
2021-12-16 11:33:35 +00:00
Dave Syer
4df621b41e
Make build work with Gradle
2021-12-16 11:25:09 +00:00
Fabian Muscariello
ce626da705
Add support for PostgreSQL
...
See #636
2021-12-07 16:55:01 +00:00
Fabian Muscariello
20adfb71be
Update docker-compose.yml to version 2.2
...
The current docker-compose.yml is still in version 1, which is
deprecated: https://docs.docker.com/compose/compose-file/compose-versioning/
So if you try to run `docker-compose up` with a recent version of
docker-compose, the following error occurs:
(root) Additional property mysql is not allowed
Version 2.2 was chosen because it's not deprecated, but it also has been
released some time ago: Compose version 2.2 requires docker engine
version 1.13.0, which was released on 2017-01-18. So, with this version,
hopefully no users will have any issues either with deprecation warnings
or with a version that is not yet supported by their docker-engine.
2021-12-07 09:08:38 +00:00
Dave Syer
eff7c9529f
Use "date" type for date inputs
...
In 2021 we really should be using the browser's own date picker.
2021-12-06 14:33:58 +00:00
Dave Syer
67c8bf6a1f
Fix ignores
2021-11-24 11:39:25 +00:00
Dave Syer
83e074940b
Tidy up properties in build config
2021-11-24 11:15:44 +00:00
Dave Syer
576c4eb58b
Remove unused css files
2021-11-24 09:27:15 +00:00
Dave Syer
4ecc4c34c4
Make buttons look normal again
2021-11-24 09:14:14 +00:00
Dave Syer
ff2febe09f
Put CSS generation in a Maven profile
2021-11-24 07:50:15 +00:00
Dave Syer
7ea283613d
Alternative approach with libsass-maven-plugin
2021-11-24 07:48:14 +00:00
Dave Syer
4d4727fce1
No need for jquery
2021-11-24 07:48:14 +00:00
Dave Syer
1095a15f0e
Convert to SCSS and Bootstrap 5
2021-11-24 07:48:14 +00:00
Dave Syer
4f2f8fab73
Remove redundant interface
2021-11-19 15:30:56 +00:00
Dave Syer
3eba970fff
Fix page links
2021-11-19 13:34:47 +00:00
Dave Syer
b45f5be820
Update to Spring Boot 2.5.6
2021-11-19 07:54:21 +00:00
Dave Syer
bc35c402a2
Remove travis config file
2021-10-29 13:14:59 +00:00
Antoine Rey
30d0e2a856
Use the provided maven wrapper
2021-10-29 13:50:55 +01:00
Antoine Rey
198f5e288c
Replace Travis badge by GitHub actions one
2021-10-29 13:50:55 +01:00