-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f03890
commit 04c1b16
Showing
37 changed files
with
178 additions
and
226 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 0 additions & 86 deletions
86
acme-data/acme-data-sql/src/main/resources/db/migrations/web-server/changelog.000001.sql
This file was deleted.
Oops, something went wrong.
86 changes: 86 additions & 0 deletions
86
acme-data/acme-data-sql/src/main/resources/db/migrations/web/changelog.000001.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
--liquibase formatted sql | ||
--changeset author:mwright | ||
|
||
create schema web; | ||
|
||
create table web.practices | ||
( | ||
id text primary key, | ||
name text not null | ||
); | ||
|
||
create table web.practice_contact_points | ||
( | ||
practice_id text references web.practices(id), | ||
system text not null, | ||
value text not null, | ||
verified_at timestamp | ||
); | ||
|
||
create table web.practitioners | ||
( | ||
id text primary key, | ||
gender text not null | ||
); | ||
|
||
create table web.practitioner_names | ||
( | ||
practitioner_id text references web.practitioners(id), | ||
given text not null, | ||
family text not null, | ||
prefix text not null, | ||
suffix text not null, | ||
period_start timestamp, | ||
period_end timestamp | ||
); | ||
|
||
create table web.practitioner_contact_points | ||
( | ||
practitioner_id text references web.practitioners(id), | ||
system text not null, | ||
value text not null, | ||
verified_at timestamp | ||
); | ||
|
||
create table web.practice_memberships | ||
( | ||
practice_id text references web.practices(id), | ||
practitioner_id text references web.practitioners(id), | ||
role text not null | ||
); | ||
|
||
create table web.clients | ||
( | ||
id text primary key, | ||
gender text not null | ||
); | ||
|
||
create table web.client_names | ||
( | ||
client_id text references web.clients(id), | ||
given text not null, | ||
family text not null, | ||
prefix text not null, | ||
suffix text not null, | ||
period_start timestamp, | ||
period_end timestamp | ||
); | ||
|
||
create table web.client_contact_points | ||
( | ||
client_id text references web.clients(id), | ||
system text not null, | ||
value text not null, | ||
verified_at timestamp | ||
); | ||
|
||
create table web.appointments | ||
( | ||
id text primary key, | ||
practitioner_id text references web.practitioners(id), | ||
client_id text references web.clients(id), | ||
practice_id text references web.practices(id), | ||
state varchar not null, | ||
period_start timestamp not null, | ||
period_end timestamp | ||
); |
12 changes: 6 additions & 6 deletions
12
...me-web-api-test/src/test/kotlin/com/acme/web/api/test/StandaloneAcmeWebServerExtension.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../core/ktor/AuthenticationConfiguration.kt → ...me/web/api/AuthenticationConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../api/core/ktor/DataSourceConfiguration.kt → ...m/acme/web/api/DataSourceConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.acme.web.api.core.ktor | ||
package com.acme.web.api | ||
|
||
import io.ktor.server.config.ApplicationConfig | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...me/web/api/core/ktor/KetoConfiguration.kt → ...lin/com/acme/web/api/KetoConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.acme.web.api.core.ktor | ||
package com.acme.web.api | ||
|
||
import io.ktor.server.config.ApplicationConfig | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...me/web/api/core/ktor/MainConfiguration.kt → ...lin/com/acme/web/api/MainConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.acme.web.api.core.ktor | ||
package com.acme.web.api | ||
|
||
import io.ktor.server.config.ApplicationConfig | ||
|
||
|
9 changes: 0 additions & 9 deletions
9
acme-web/acme-web-api/src/main/kotlin/com/acme/web/api/core/ktor/auth.kt
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...m/acme/web/api/core/ktor/errorhandlers.kt → .../kotlin/com/acme/web/api/errorhandlers.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
.../main/kotlin/com/acme/web/api/core/etc.kt → ...i/src/main/kotlin/com/acme/web/api/etc.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...lin/com/acme/web/api/core/ktor/factory.kt → ...c/main/kotlin/com/acme/web/api/factory.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...kotlin/com/acme/web/api/core/ktor/json.kt → .../src/main/kotlin/com/acme/web/api/json.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lin/com/acme/web/api/core/ktor/plugins.kt → ...c/main/kotlin/com/acme/web/api/plugins.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.