Skip to content

Commit e98b31e

Browse files
lindskogenEdholmrenovate[bot]Dr-Horv
authored
Release v1.4.0 (#319)
Release v1.4.0 Co-authored-by: Emil Edholm <[email protected]> Co-authored-by: null <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Johan Horvius <[email protected]>
2 parents 0a06666 + 5b7f0fc commit e98b31e

File tree

277 files changed

+30914
-10622
lines changed

Some content is hidden

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

277 files changed

+30914
-10622
lines changed

.circleci/config.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
version: 2
1+
version: 2.1
2+
3+
orbs:
4+
packtracker: packtracker/[email protected]
25

36
defaults: &defaults
47
working_directory: ~/itbio
@@ -36,15 +39,9 @@ jobs:
3639
key: v1-node_modules-{{ checksum "frontend/yarn.lock" }}
3740
paths:
3841
- frontend/node_modules
39-
- run: |
40-
cd frontend
41-
yarn lint
4242
- run: |
4343
cd frontend
4444
yarn test
45-
- run: |
46-
cd frontend
47-
yarn packtracker
4845
build-docker:
4946
<<: *defaults
5047
machine: true
@@ -72,6 +69,10 @@ jobs:
7269
7370
workflows:
7471
version: 2
72+
packtracker:
73+
jobs:
74+
- packtracker/report:
75+
project_root: "./frontend"
7576
build:
7677
jobs:
7778
- test-backend

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ TAG := $$(git rev-parse --short=8 HEAD)
44
FRONTEND_IMG := ${NAME}-frontend:${TAG}
55
BACKEND_IMG := ${NAME}-backend:${TAG}
66
DIRECTORY := $$(pwd)
7-
7+
88
frontend:
9-
cd ${DIRECTORY}/frontend; docker build -t ${FRONTEND_IMG} .
9+
cd ${DIRECTORY}/frontend; docker build -t ${FRONTEND_IMG} --build-arg TAG=$$(git rev-parse HEAD) .
1010
docker tag ${FRONTEND_IMG} ${NAME}-frontend:latest
1111

1212
backend:
@@ -18,7 +18,7 @@ docker: frontend backend
1818
push:
1919
docker push ${NAME}-frontend
2020
docker push ${NAME}-backend
21-
21+
2222
login:
2323
@docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
2424

backend/build.gradle

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import java.time.ZonedDateTime
22

33
buildscript {
44
ext {
5-
kotlinVersion = '1.2.71'
6-
springBootVersion = '2.0.5.RELEASE'
7-
junitJupiterVersion = '5.3.1'
5+
kotlinVersion = '1.3.40'
6+
springBootVersion = '2.1.7.RELEASE'
7+
junitJupiterVersion = '5.5.1'
88
}
99

1010
repositories {
@@ -19,10 +19,10 @@ buildscript {
1919
}
2020

2121
plugins {
22-
id("org.ajoberstar.grgit") version '3.0.0-rc.2'
23-
id("net.researchgate.release") version '2.7.0'
24-
id('com.google.cloud.tools.jib') version '0.9.11'
25-
id "com.github.ben-manes.versions" version '0.20.0'
22+
id("org.ajoberstar.grgit") version '3.1.1'
23+
id("net.researchgate.release") version '2.8.1'
24+
id('com.google.cloud.tools.jib') version '1.5.0'
25+
id "com.github.ben-manes.versions" version '0.22.0'
2626
}
2727

2828
apply plugin: "kotlin"
@@ -45,6 +45,8 @@ repositories {
4545

4646
dependencies {
4747
compile("com.graphql-java:graphql-spring-boot-starter:5.0.2")
48+
// UI for GraphQL queries available at /graphiql
49+
// compile("com.graphql-java:graphiql-spring-boot-starter:5.0.2")
4850
compile("com.graphql-java:graphql-java-tools:5.2.4")
4951
compile("com.graphql-java:graphql-java:9.4")
5052
compile("org.springframework.boot:spring-boot-starter-web-services:$springBootVersion")
@@ -53,8 +55,8 @@ dependencies {
5355
compile("org.springframework.boot:spring-boot-starter-cache:$springBootVersion")
5456
compile("org.springframework.boot:spring-boot-starter-security:$springBootVersion")
5557
compile("org.springframework.boot:spring-boot-starter-mustache:$springBootVersion")
56-
compile("org.springframework.security:spring-security-jwt:1.0.9.RELEASE")
57-
compile("org.springframework.security.oauth:spring-security-oauth2:2.3.3.RELEASE")
58+
compile("org.springframework.security:spring-security-jwt:1.0.10.RELEASE")
59+
compile("org.springframework.security.oauth:spring-security-oauth2:2.3.6.RELEASE")
5860
compile("org.springframework.boot:spring-boot-devtools:$springBootVersion")
5961

6062

@@ -63,19 +65,19 @@ dependencies {
6365
compile("org.springframework.data:spring-data-commons")
6466

6567
compile("com.github.ben-manes.caffeine:caffeine:2.+")
66-
compile("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.7")
67-
compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.7")
68-
compile("com.googlecode.libphonenumber:libphonenumber:8.9.15")
69-
compile("com.google.guava:guava:26.0-jre")
70-
compile("net.sf.biweekly:biweekly:0.6.2")
68+
compile("com.fasterxml.jackson.module:jackson-module-kotlin:2.9.9")
69+
compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.9")
70+
compile("com.googlecode.libphonenumber:libphonenumber:8.10.17")
71+
compile("com.google.guava:guava:28.0-jre")
72+
compile("net.sf.biweekly:biweekly:0.6.3")
7173

7274
/* The following are needed under java 11 */
73-
runtime("org.apache.commons:commons-lang3:3.8.1")
75+
runtime("org.apache.commons:commons-lang3:3.9")
7476
runtime("javax.xml.bind:jaxb-api:2.3.0")
7577
runtime("com.sun.xml.bind:jaxb-impl:2.3.0")
7678
runtime("com.sun.xml.bind:jaxb-core:2.3.0")
77-
runtime("javax.activation:activation:1.1.1")
78-
compile("org.apache.httpcomponents:httpclient:4.5.4")
79+
runtime("javax.activation:activation:1.1")
80+
compile("org.apache.httpcomponents:httpclient:4.5.9")
7981

8082
compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}")
8183
compile("org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}")
@@ -84,7 +86,7 @@ dependencies {
8486
testCompile("org.springframework.boot:spring-boot-starter-test:$springBootVersion")
8587
testCompile("org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}")
8688
testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
87-
testCompile("org.mockito:mockito-core:2.23.0")
89+
testCompile("org.mockito:mockito-core:2.28.2")
8890
}
8991

9092

777 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

backend/gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ APP_NAME="Gradle"
2828
APP_BASE_NAME=`basename "$0"`
2929

3030
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31-
DEFAULT_JVM_OPTS=""
31+
DEFAULT_JVM_OPTS='"-Xmx64m"'
3232

3333
# Use the maximum available, or set MAX_FD != -1 to use that value.
3434
MAX_FD="maximum"

backend/gradlew.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
1414
set APP_HOME=%DIRNAME%
1515

1616
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17-
set DEFAULT_JVM_OPTS=
17+
set DEFAULT_JVM_OPTS="-Xmx64m"
1818

1919
@rem Find java.exe
2020
if defined JAVA_HOME goto findJavaFromJavaHome

backend/mongo-migrations

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
### Pending migrations ###
22
N/A
33

4+
### Migrations already done in deployed application ###
5+
db.movie.update({}, {$rename:{"sfId":"filmstadenId"}}, false, true);
6+
db.movie.update({}, {$rename:{"sfSlug":"filmstadenSlug"}}, false, true);
7+
db.user.update({}, {$rename:{"sfMembershipId":"filmstadenMembershipId"}}, false, true);
8+
49
### Migrations already done in deployed application ###
510
# Change fields to @DBRef on all showings
611
db.showing.find({}).forEach(s => {

0 commit comments

Comments
 (0)