diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 000000000..55d0e0f8e Binary files /dev/null and b/.DS_Store differ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..5d5ef12a4 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build and Test + +on: + push: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + java-version: '17' + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Run tests with Maven + run: mvn -B test --file pom.xml \ No newline at end of file diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 000000000..cb6ff332c Binary files /dev/null and b/src/.DS_Store differ diff --git a/src/main/.DS_Store b/src/main/.DS_Store new file mode 100644 index 000000000..ee789de0b Binary files /dev/null and b/src/main/.DS_Store differ diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index d1a8d5daf..506ad8d01 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -25,3 +25,4 @@ logging.level.org.springframework=INFO spring.web.resources.cache.cachecontrol.max-age=12h server.port=8081 + diff --git a/src/main/resources/static/resources/images/error.jpg b/src/main/resources/static/resources/images/error.jpg new file mode 100644 index 000000000..b3dae54fc Binary files /dev/null and b/src/main/resources/static/resources/images/error.jpg differ diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html index b9026690e..882a5fbd9 100644 --- a/src/main/resources/templates/error.html +++ b/src/main/resources/templates/error.html @@ -3,7 +3,7 @@
-Exception message
diff --git a/src/main/resources/templates/vets/vetList.html b/src/main/resources/templates/vets/vetList.html index e0b8e7050..3005ee042 100644 --- a/src/main/resources/templates/vets/vetList.html +++ b/src/main/resources/templates/vets/vetList.html @@ -6,6 +6,7 @@