SkillAgentSearch skills...

Brapi

A java project with modules to interact with BrAPI data.

Install / Use

/learn @Breeding-Insight/Brapi
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

brapi

FOSSA Status

Java libraries for modeling BrAPI objects (brapi-java-model) and interacting with external BrAPI services (brapi-java-client) in the JVM

See https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Core/2.1
See https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Phenotyping/2.1
See https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Genotyping/2.1
See https://app.swaggerhub.com/apis/PlantBreedingAPI/BrAPI-Germplasm/2.1

Integration

Maven:

<dependency>
    <groupId>org.brapi</groupId>
    <artifactId>brapi-java-client</artifactId>
    <version>${brapi-java-client.version}</version>
</dependency>
...
<dependency>
    <groupId>org.brapi</groupId>
    <artifactId>brapi-java-model</artifactId>
    <version>${brapi-java-model.version}</version>
</dependency>

Referencing Snapshots: Add the Nexus Sonatype Snapshots repository to your pom:

<repository>
    <id>ossrh</id>
    <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
    <releases>
        <enabled>false</enabled>
    </releases>
</repository>

Development Environment Setup

This project uses lombok so your development environment has to be configured to handle the lombok annotations. Instructions for popular editors are available here.

Building the project

If using IntelliJ, create a new configuration for Maven to build your project.

Working Directory: <your_path>/brapi
Command: clean install

If not using IntelliJ, running the command

mvn clean install

when in your brapi directory will build the project.

Running the tests

You can run all the tests running mvn test.

License

FOSSA Status

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated1y ago
Forks1

Languages

Java

Security Score

70/100

Audited on Feb 25, 2025

No findings