GithubHelp home page GithubHelp logo

brecht-d-m / slims-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from genohm/slims-api

0.0 0.0 0.0 121 KB

Examples, template projects and documentation for the plugin API of SLIMS

Java 100.00%

slims-api's Introduction

SLIMS-API

build_test workflow

The SLIMS API allows you to write SLIMSGATE plugins and SLIMS Vaadin plugins.

Prerequisites.

  • Java 11

  • You will need to have an account on AGILENT's build infrastructure. Please contact your SLIMS project lead to get access. They will send you a gradle.properties file looking like this:

    slimsApiArtifactoryUser=<your user on SLIMS API artifactory>
    slimsApiArtifactoryPassword=<your password on SLIMS API artifactory>
    slimsApiArtifactoryRepository=<Artifcatory URL>
    
    
    slimsRestApiUser=<a user on your installed slims>
    slimsRestApiPassword=<the password for that user>
    slimsRestApiEndpoint=<the url to the installed slimsrest>
    

    You will need to place this file in

    ~/.gradle/gradle.properties
    

Using gradle

Setup

Once your account is setup, download this repository and navigate to the base folder of the repository with the command line interface you use. We suggest using GIT Bash for Windows. Make sure your JAVA_HOME is set to java 11. Build the projects for your favorite IDE (Eclipse or IntelliJ) with:

# Eclipse
./gradlew eclipse
# IntelliJ
./gradlew idea

Now the plugin projects can be imported in your IDE. Repeat this command for every new plugin project or dependency change. Newly defined plugin projects should also be included in settings.gradle.

Usage

Next try to create a dummy project. We suggest starting with slimsgate-template. You can test out if you can build your individual plugin with:

./gradlew templates:slimsgate-template:fatjar

Alternatively you can also build all your plugins at once with:

./gradlew fatjar

You can upload and deploy your plugin with:

./gradlew templates:slimsgate-template:uploadToSlims

Example templates

Visit templates to look for empty example plugins.

slims-api's People

Contributors

jenodk avatar p00by avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.