Skip to content

Commit

Permalink
Reimplement API test script in Java
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesamcl committed Sep 27, 2022
1 parent b65bac8 commit 5778a8d
Show file tree
Hide file tree
Showing 452 changed files with 13,674 additions and 4,215 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ The `server` directory contains (1) a Spring Boot application which hosts the OL

## Running Solr and Neo4j using Docker

You will need a config file, which configures the ontologies to load into OLS. You can provide this to `docker compose` using the `OLS4_CONFIG` environment variable. For example:
First install the latest version of Docker Desktop if you are on Mac or Windows. This now includes the `docker compose` command. If you are on Linux, make sure you have the `docker compose` plugin installed (`apt install docker.io docker-compose-plugin` on Ubuntu).

You will need a config file, which configures the ontologies to load into OLS4. You can provide this to `docker compose` using the `OLS4_CONFIG` environment variable. For example:

export OLS4_CONFIG=./dataload/configs/efo.json

Expand Down
50 changes: 0 additions & 50 deletions apitest.dockersh

This file was deleted.

22 changes: 22 additions & 0 deletions apitester4/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Launch Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Launch App",
"request": "launch",
"mainClass": "uk.ac.ebi.ols.App",
"projectName": "apitester",
"args": "--instance1 https://www.ebi.ac.uk/ols --instance2 https://www.ebi.ac.uk/ols"
}
]
}
3 changes: 3 additions & 0 deletions apitester4/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "automatic"
}
11 changes: 11 additions & 0 deletions apitester4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

FROM maven:3.8-jdk-11

ADD . /opt/apitester
RUN cd /opt/apitester && mvn clean package

RUN find opt/apitester




Loading

0 comments on commit 5778a8d

Please sign in to comment.