Skip to content

Commit d43a295

Browse files
committed
refactor(conference-scheduling): convert to Models Service SDK structure
- Move solver justifications to domain/justification with shared ConferenceSchedulingJustification interface - Add DTO layer (input/output/metrics/config overrides/validation) - Add DemoDataBuilder/DemoDataGenerator for demo data - Update pom.xml for platform model conventions
1 parent a433b9a commit d43a295

66 files changed

Lines changed: 4781 additions & 1341 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

use-cases/conference-scheduling/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,34 +55,34 @@ Assign conference talks to timeslots and rooms to produce a better schedule for
5555
1. Install Java and Maven, for example with [Sdkman](https://sdkman.io):
5656

5757
```sh
58-
$ sdk install java
59-
$ sdk install maven
58+
sdk install java
59+
sdk install maven
6060
```
6161

6262
## Run the application
6363

6464
1. Git clone the timefold-quickstarts repo and navigate to this directory:
6565

6666
```sh
67-
$ git clone https://github.com/TimefoldAI/timefold-quickstarts.git
67+
git clone https://github.com/TimefoldAI/timefold-quickstarts.git
6868
...
69-
$ cd timefold-quickstarts/quickstarts/conference-scheduling
69+
cd timefold-quickstarts/java/conference-scheduling
7070
```
7171

7272
2. (Optional) If you want to run a licensed edition (Plus / Enterprise), set up your license key first. See the [Timefold license tool](https://licenses.timefold.ai/) for instructions.
7373

7474
3. Start the application with Maven:
7575

7676
1. Community Edition
77-
77+
7878
```sh
79-
$ mvn quarkus:dev
79+
mvn quarkus:dev
8080
```
81-
81+
8282
2. Plus / Enterprise Edition: The profile sets up the correct Maven artifacts to run the licensed version. See the `pom.xml` for the implementation details.
8383

8484
```sh
85-
$ mvn quarkus:dev -Denterprise
85+
mvn quarkus:dev -Denterprise
8686
```
8787

8888
4. Visit [http://localhost:8080](http://localhost:8080) in your browser.
@@ -103,13 +103,13 @@ When you're done iterating in `quarkus:dev` mode, package the application to run
103103
1. Build it with Maven:
104104
105105
```sh
106-
$ mvn package
106+
mvn package
107107
```
108108
109109
2. Run the Maven output:
110110
111111
```sh
112-
$ java -jar ./target/quarkus-app/quarkus-run.jar
112+
java -jar ./target/quarkus-app/quarkus-run.jar
113113
```
114114
115115
> **Note**
@@ -124,13 +124,13 @@ When you're done iterating in `quarkus:dev` mode, package the application to run
124124
1. Build a container image:
125125
126126
```sh
127-
$ mvn package -Dcontainer
127+
mvn package -Dcontainer
128128
```
129129
130130
2. Run a container:
131131
132132
```sh
133-
$ docker run -p 8080:8080 --rm $USER/conference-scheduling:1.0-SNAPSHOT
133+
docker run -p 8080:8080 --rm $USER/conference-scheduling:1.0-SNAPSHOT
134134
```
135135
136136
## Run it native
@@ -142,13 +142,13 @@ To increase startup performance for serverless deployments, build the applicatio
142142
2. Compile it natively. This takes a few minutes:
143143
144144
```sh
145-
$ mvn package -Dnative
145+
mvn package -Dnative
146146
```
147147
148148
3. Run the native executable:
149149
150150
```sh
151-
$ ./target/*-runner
151+
./target/*-runner
152152
```
153153
154154
4. Visit [http://localhost:8080](http://localhost:8080) in your browser.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
npx --yes markdownlint-cli2 "$@"

0 commit comments

Comments
 (0)