Skip to content

Commit

Permalink
Merge branch 'release/v1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
rufer7 committed Oct 25, 2022
2 parents 91572ac + a01e67c commit 37af02d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 13 deletions.
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

27 changes: 23 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,41 @@
# swissunihockey-game-schedule-pdf-creator

[![Build Status](https://travis-ci.com/rufer7/swissunihockey-game-schedule-pdf-creator.svg?branch=master)](https://travis-ci.com/rufer7/swissunihockey-game-schedule-pdf-creator)
[![Coverage Status](https://coveralls.io/repos/rufer7/swissunihockey-game-schedule-pdf-creator/badge.svg?branch=master)](https://coveralls.io/r/rufer7/swissunihockey-game-schedule-pdf-creator?branch=master)
[![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/rufer7/swissunihockey-game-schedule-pdf-creator/blob/master/LICENSE)


A web application that generates and serves swiss unihockey game schedules as PDF documents

## Swiss unihockey API

This application consumes the [swiss unihockey API v2](https://api-v2.swissunihockey.ch/api/doc)

## App information

To get information about the application, call the following endpoint.

`.../info`

## Deployment to Heroku
## Deployment to Azure

### Prerequisites

- Azure tenant
- Azure subscription

### Step by Step Manual

1. Create a new resource group (i.e. `swuh-p1-rg-pdfcreator`)
1. Create a new app service plan in the before created resource group (i.e. `swuh-p1-appplan-pdfcreator`)

- Operating system: `Linux`
- Pricing tier: `B1`

Application will be deployed autmatically on every commit to master (i.e. release)
1. Create a new web app (i.e. `swuh-p1-appsrv-pdfcreator`)

For information about the deployment to heroku have a look at [Getting Started with Java on Heroku](https://devcenter.heroku.com/articles/getting-started-with-java#set-up)
- Publish: `Code`
- Runtime stack: `Java 8`
- Java web server stack: `Java SE (Embedded Web Server)`
- Operating system: `Linux`
- Linux Plan: select before created app service plan
- Enable and configure continuous deployment under `Deployment` tab
16 changes: 8 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.2.5.RELEASE</version>
<version>1.5.22.RELEASE</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>

<groupId>be.rufer.swissunihockey</groupId>
<artifactId>game-schedule-pdf-generator</artifactId>
<version>1.0.20</version>
<version>1.1.0</version>
<packaging>jar</packaging>

<name>swissunihockey-game-schedule-pdf-creator</name>
Expand Down Expand Up @@ -50,12 +50,12 @@
<java.version>1.8</java.version>

<webjars.bootstrap.version>3.3.7-1</webjars.bootstrap.version>
<webjars.jquery.version>2.1.4</webjars.jquery.version>
<webjars.angularjs.version>1.3.17-1</webjars.angularjs.version>
<spring.cloud.starter.zuul.version>1.0.6.RELEASE</spring.cloud.starter.zuul.version>
<ical4j.version>1.0.7</ical4j.version>
<apache.pdf.box.version>2.0.24</apache.pdf.box.version>
<lombok.version>1.18.12</lombok.version>
<webjars.jquery.version>2.2.4</webjars.jquery.version>
<webjars.angularjs.version>1.8.2</webjars.angularjs.version>
<spring.cloud.starter.zuul.version>1.4.7.RELEASE</spring.cloud.starter.zuul.version>
<ical4j.version>1.0.8</ical4j.version>
<apache.pdf.box.version>2.0.27</apache.pdf.box.version>
<lombok.version>1.18.24</lombok.version>
</properties>

<dependencies>
Expand Down

0 comments on commit 37af02d

Please sign in to comment.