Skip to content

Forest client API allows systems to consume forest client data without having to connect to a database

License

Notifications You must be signed in to change notification settings

bcgov/nr-forest-client-api

Contributors Forks Stargazers Issues MIT License Lifecycle

The nr-forest-client-api application provides the API that allows systems to consume forest client data without having to connect to a database. We are working the process to publish our API

The nr-forest-client-api is a Java application, integrated with the greenfield-template to automate the process for testing, security scanning, code quality checking, image building and deploying. It is hosted in openshift, protected and published through API Services Portal

Configuring IntelliJ Code Style

You will find a copy of the google code style inside our docs folder.

On the settings screen, add the checks as the following image:

intellij code style

Configuring IntelliJ Run Configuration

To set your profile on IntelliJ, just run the application main class and edit the configuration as the following image.

intellij run configuration

Configuring Eclipse Code Style

You will find a copy of the google code style inside our docs folder.

On the window > preferences screen, go to Java > Code Style > Formatter, import the xml file and keep GoogleStyle selected as the following image:

eclipse code style

Configuring Eclipse Run Configuration

To set your profile on Eclipse, just run the application main class and edit the configuration as the following images.

eclipse run configuration main

eclipse run configuration params

Setting up Lombok on Eclipse

If you're running eclipse, you will need to manually install lombok in order for it to work. The easiest way of doing that is by running any mavem command that would trigger the download of the lib, such as mvn clean compile.

Once it's done, navigate to your repository folder (its usually inside your user folder, called .m2/repository) and look the latest version of lombok (inside org/projectlombok/lombok/) and run the lombok jar, like java -jar lombok-X.Y.Z.jar.

eclipse lombok install

A screen will pop up, listing all the possible IDEs, select yours and install/update it. Once it's done, restart eclipse.

About

Forest client API allows systems to consume forest client data without having to connect to a database

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages