-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from EBISPOT/dev
update stable with plenty of changes from dev
- Loading branch information
Showing
90 changed files
with
3,599 additions
and
42,960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build & publish zooma images | ||
|
||
on: | ||
push: | ||
branches: [ "dev", "stable" ] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
build-and-push-image: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push zooma Docker image | ||
run: | | ||
docker build -t ghcr.io/ebispot/zooma:${{ github.sha }} . | ||
docker tag ghcr.io/ebispot/zooma:${{ github.sha }} ghcr.io/ebispot/zooma:${{ github.ref_name }} | ||
docker push --all-tags ghcr.io/ebispot/zooma |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<parent> | ||
<artifactId>zooma2</artifactId> | ||
<groupId>uk.ac.ebi.fgpt</groupId> | ||
<version>2.1.11-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>ols-client</artifactId> | ||
<groupId>uk.ac.ebi.pride.utilities</groupId> | ||
<version>2.9</version> | ||
|
||
<properties> | ||
<maven.compiler.source>1.7</maven.compiler.source> | ||
<maven.compiler.target>1.7</maven.compiler.target> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>${org.slf4j.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>jcl-over-slf4j</artifactId> | ||
<version>${org.slf4j.version}</version> | ||
</dependency> | ||
<!-- TODO - Review Spring Framework dependencies after issue PLIBT-138 is closed --> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-web</artifactId> | ||
<!-- <version>4.2.5.RELEASE</version>--> | ||
<version>${org.springframework.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework</groupId> | ||
<artifactId>spring-test</artifactId> | ||
<!-- <version>4.2.5.RELEASE</version>--> | ||
<version>${org.springframework.version}</version> | ||
</dependency> | ||
<!-- <dependency>--> | ||
<!-- <groupId>org.springframework</groupId>--> | ||
<!-- <artifactId>spring-context-support</artifactId>--> | ||
<!-- <!– <version>4.2.5.RELEASE</version>–>--> | ||
<!-- <version>${org.springframework.version}</version>--> | ||
<!-- </dependency>--> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>2.7.3</version> | ||
</dependency> | ||
<!-- <dependency>--> | ||
<!-- <groupId>org.apache.commons</groupId>--> | ||
<!-- <artifactId>commons-lang3</artifactId>--> | ||
<!-- <version>3.4</version>--> | ||
<!-- </dependency>--> | ||
</dependencies> | ||
|
||
</project> |
41 changes: 41 additions & 0 deletions
41
ols-client/src/main/java/uk/ac/ebi/pride/utilities/ols/web/service/client/Client.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package uk.ac.ebi.pride.utilities.ols.web.service.client; | ||
|
||
import org.springframework.web.client.RestClientException; | ||
import uk.ac.ebi.pride.utilities.ols.web.service.model.Ontology; | ||
import uk.ac.ebi.pride.utilities.ols.web.service.model.Term; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author Yasset Perez-Riverol ([email protected]) | ||
* Cration date 01/03/2016 | ||
*/ | ||
public interface Client { | ||
/** | ||
* This function retrieve the list of Ontologies in the OLS. Each ontology contain the summary description | ||
* about the ontology including name, IDs, etc. | ||
* @return List of ontologies. | ||
*/ | ||
// Zooma | ||
List<Ontology> getOntologies() throws RestClientException; | ||
|
||
|
||
/** | ||
* This function retrieve all the terms that contains in the name the partialName. | ||
* @param partialName Substring to lookup in the name term | ||
* @param ontologyId Ontology term | ||
* @param reverseKeyOrder sort the hash in a reverse order | ||
* @return list of terms. | ||
*/ | ||
// Zooma | ||
List<Term> getTermsByName(String partialName, String ontologyId, boolean reverseKeyOrder) throws RestClientException; | ||
|
||
/** | ||
* Retrieve an specific ontology information for an ID | ||
* @param ontologyId ontology Identifier | ||
* @return Ontology result. | ||
* @throws RestClientException if there are problems connecting to the REST service. | ||
*/ | ||
// Zooma | ||
Ontology getOntology(String ontologyId) throws RestClientException; | ||
} |
Oops, something went wrong.