io.openshift:booster-catalog-service

Parent POM for JBoss projects. Provides default project build configuration.

License

License

Categories

Categories

OpenShift Container PaaS Providers
GroupId

GroupId

io.openshift
ArtifactId

ArtifactId

booster-catalog-service
Last Version

Last Version

19
Release Date

Release Date

Type

Type

jar
Description

Description

Parent POM for JBoss projects. Provides default project build configuration.
Project Organization

Project Organization

JBoss by Red Hat
Source Code Management

Source Code Management

http://github.com/fabric8-launcher/launcher-booster-catalog-service

Download booster-catalog-service

How to add to project

<!-- https://jarcasting.com/artifacts/io.openshift/booster-catalog-service/ -->
<dependency>
    <groupId>io.openshift</groupId>
    <artifactId>booster-catalog-service</artifactId>
    <version>19</version>
</dependency>
// https://jarcasting.com/artifacts/io.openshift/booster-catalog-service/
implementation 'io.openshift:booster-catalog-service:19'
// https://jarcasting.com/artifacts/io.openshift/booster-catalog-service/
implementation ("io.openshift:booster-catalog-service:19")
'io.openshift:booster-catalog-service:jar:19'
<dependency org="io.openshift" name="booster-catalog-service" rev="19">
  <artifact name="booster-catalog-service" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.openshift', module='booster-catalog-service', version='19')
)
libraryDependencies += "io.openshift" % "booster-catalog-service" % "19"
[io.openshift/booster-catalog-service "19"]

Dependencies

compile (2)

Group / Artifact Type Version
org.yaml : snakeyaml jar 1.19
org.glassfish : javax.json jar 1.0.4

test (4)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 3.8.0
org.arquillian.smart.testing : git-rules jar 0.0.6
com.github.stefanbirkner : system-rules jar 1.17.0

Project Modules

There are no modules declared in this project.

Booster Catalog Service

CircleCI License Maven Central

This project contains the service classes for the booster-catalog repository

Build and Run the Unit Tests

  • As we are using `git bundle`s to test Git operations using in-memory Git server we switched to [Git LFS](https://git-lfs.github.com/). Follow the instruction there to install on your machine. Once you have that set up, enable it for the repository:

$ git lfs install
$ git lfs pull
  • Execute:

    $ mvn clean install

IDE Setup

  • Nullability (IntelliJ) - To set up IntelliJ to properly handle @Nonnull and @Nullable annotations you should go to the "Editor → Inspections" in the "Settings" dialog and make the following changes (leave the rest at their default values):

    • Mark "Suggest @Nullable annotation for methods…​"

    • In "Configure annotations" make sure to select both "javax.annotation." types and click "OK"

    • Unmark "Don’t report assertions with conditions…​"

    • You can set the "Severity" to "Error" to better see what code is violating the nullability contracts, but unfortunately that also flags some otherwise harmless code. Decide for yourself what you prefer.

Contributing Code

  • Nullability - Make sure that for each package you create you also add a package-info.java file with at least the following contents:

    @javax.annotation.ParametersAreNonnullByDefault
    @io.fabric8.launcher.booster.util.FieldsAreNonnullByDefault
    @io.fabric8.launcher.booster.util.ReturnTypesAreNonnullByDefault
    package name.of.your.package;

    You can use IntelliJ’s "Analyze → Infer Nullity" feature to check your code for places where you might need a @Nullable or @Nonull annotation.

    Try to use @Nullable only in those cases where you know you really need to use null values.

io.openshift

Fabric8 Launcher

Versions

Version
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1