Skip to content

Commit e6b99ee

Browse files
authored
Merge branch 'main' into purge-old-queuedworkflows
2 parents b661188 + ffa0d67 commit e6b99ee

File tree

4 files changed

+73
-12
lines changed

4 files changed

+73
-12
lines changed

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: maven
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10
8+
ignore:
9+
- dependency-name: org.springframework.boot:spring-boot-starter-parent
10+
versions:
11+
- "> 1.5.22.RELEASE"
12+
- dependency-name: com.fasterxml.jackson.core:jackson-core
13+
versions:
14+
- 2.12.1
15+
- 2.12.2
16+
- dependency-name: org.eclipse.jgit:org.eclipse.jgit
17+
versions:
18+
- 5.10.0.202012080955-r
19+
- dependency-name: org.apache.jena:jena-osgi
20+
versions:
21+
- 3.17.0

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: "Code scanning - action"
22

33
on:
44
push:
5+
branches: [main]
56
pull_request:
7+
branches: [main]
68
schedule:
79
- cron: '0 9 * * 0'
810

README.md

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ This application can be started with [Docker](https://www.docker.com/) and [Dock
3838

3939
Then run the following commands to clone the project in your local system.
4040

41-
```
41+
```
4242
git clone https://github.com/common-workflow-language/cwlviewer.git
43-
cd cwlviewer
43+
cd cwlviewer
4444
```
4545

4646
In the project directory, to start CWLViewer exposed on port `8080`, run:
4747

4848
docker-compose up
49-
50-
The web server will connect to a local host, you'll see the message saying "Tomacat started on port(s):8080".
5149

52-
To see the locally running CWL Viewer app, visit http://localhost:8080/ in your web browser.
53-
50+
The web server will connect to a local host, you'll see the message saying "Tomacat started on port(s):8080".
51+
52+
To see the locally running CWL Viewer app, visit http://localhost:8080/ in your web browser.
53+
5454
To stop and remove:
5555

5656
docker-compose down
@@ -72,6 +72,44 @@ If you have modified the source code, then you may want to build the docker imag
7272
7373
docker build -t commonworkflowlanguage/cwlviewer .
7474
75+
## Running Spring Boot locally for development, with MongoDB and Jena Fuseki in Docker
76+
77+
Create `docker-compose.override.yml`:
78+
79+
```
80+
version: '3.2'
81+
services:
82+
mongo:
83+
ports:
84+
- "27017:27017"
85+
sparql:
86+
ports:
87+
- "3030:3030"
88+
```
89+
90+
Then start the containers:
91+
92+
```
93+
docker-compose up
94+
```
95+
96+
Then start Spring Boot locally:
97+
98+
```
99+
mvn spring-boot:run -Dserver.port=7999
100+
```
101+
102+
Now you can connect to http://localhost:7999 in your browser.
103+
104+
## Deleting the data volumes to reset state
105+
106+
To completely reset the state, you must delete the data volumes:
107+
108+
```
109+
docker-compose down
110+
docker volume rm cwlviewer_bundle cwlviewer_git cwlviewer_graphviz cwlviewer_mongo cwlviewer_sparql
111+
```
112+
75113
## Running without Docker
76114
77115
### Requirements

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2525
<java.version>1.8</java.version>
26-
<jena.version>3.15.0</jena.version>
26+
<jena.version>4.0.0</jena.version>
2727
<!-- BEGIN should correspond to https://repo1.maven.org/maven2/org/apache/jena/jena/3.9.0/jena-3.9.0.pom -->
28-
<ver.jsonldjava>0.13.0</ver.jsonldjava>
29-
<ver.jackson>2.11.1</ver.jackson>
28+
<ver.jsonldjava>0.13.3</ver.jsonldjava>
29+
<ver.jackson>2.12.3</ver.jackson>
3030
<!-- END -->
3131
</properties>
3232

@@ -70,7 +70,7 @@
7070
<dependency>
7171
<groupId>org.yaml</groupId>
7272
<artifactId>snakeyaml</artifactId>
73-
<version>1.26</version>
73+
<version>1.28</version>
7474
</dependency>
7575
<dependency>
7676
<groupId>com.github.jabbalaci</groupId>
@@ -106,7 +106,7 @@
106106
<dependency>
107107
<groupId>org.eclipse.jgit</groupId>
108108
<artifactId>org.eclipse.jgit</artifactId>
109-
<version>5.8.0.202006091008-r</version>
109+
<version>5.11.1.202105131744-r</version>
110110
</dependency>
111111
<dependency>
112112
<groupId>org.mockito</groupId>
@@ -117,7 +117,7 @@
117117
<dependency>
118118
<groupId>org.apache.commons</groupId>
119119
<artifactId>commons-compress</artifactId>
120-
<version>1.19</version>
120+
<version>1.20</version>
121121
</dependency>
122122
</dependencies>
123123

0 commit comments

Comments
 (0)