Sign inSign up

rtisma1/song-server

By rtisma1

•Updated over 7 years ago

Image
0

1.3K

rtisma1/song-server repository overview

⁠SONG

Quickly and reliably track genome metadata scattered across multiple Cloud storage systems.

General Availability

Build Status Codacy Badge CircleCI Documentation Status Slack

Project containing both the SONG microservice and CLI client. Both are written using JAVA 8 and Spring Boot.

⁠Build

$ mvn clean package

⁠Running

⁠Command-line

The source can be built and run using maven.

$ git clone [email protected]:icgc-dcc/SONG.git
$ cd SONG/song-server
$ mvn spring-boot:run -Dspring-boot.run.profiles=dev,test

Both the server and client when compiled and built produce uber jars which can be run easily from the command line.

$ java -jar song-server-0.1.1-SNAPSHOT.jar  --spring.profiles.active=dev,test

⁠API

The server provides swagger docs documenting the API.

When running locally they can be accessed here: http://localhost:8080/swagger-ui.html⁠

⁠Dockerhub Configuration

  1. Edit build configurations by selecting the Builds tab at the top, then click Build Configuration
  2. Create a new build rule by clicking the + sign beside the BUILD RULES text
  3. Edit the configuration as follows: Source Type: branch Source: develop Docker Tag: develop Dockerfile Location: Dockerfile Build Context: / Autobuild is set to the ON position Build Caching is set to the ON position
  4. Then save the configuration
⁠Notes

When running with the secure profile enabled, an oauth2 server is needed.

Test

Tag summary

Content type

Image

Digest

Size

131.1 MB

Last updated

over 7 years ago

docker pull rtisma1/song-server