Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

gravitee-io/gravitee-management-rest-api

Repository files navigation

Gravitee Management REST API

⚠️ DEPRECATED This repository is no longer active, all the sources have been moved to a new monorepo: Gravitee.io API Management

The new repository will be become the single GitHub repository for everything related to Gravitee.io API Management.

Overview

A restful API providing a bunch of services to manage and configure the global platform. All exposed services are constraint by authentication and authorization rules.

Documentation

You can find Gravitee.io API Management documentation from Gravitee.io website.

Building

$ git clone https://github.com/gravitee-io/gravitee-management-rest-api
$ cd gravitee-management-rest-api
$ mvn clean compile exec:java -Pdev -pl gravitee-rest-api-standalone/gravitee-rest-api-standalone-container
...
<app starts and listens on port 8083>

Makefile support

You can use Makefile to set up an environment locally and run Postman tests against it.

Run make or make --help to see the list of available commands.

Build and start your environment

make gravitee

The version will be based on your current branch’s pom.xml

If containers exists, they will be stopped and deleted.

You can skip tests running make gravitee OPTIONS=-DskipTests

Start or stop the environment

make start

make stop

Reset the environment

make reset

Stop the containers, delete data on databases and start the containers

Run Postman tests

Your environment need to be up. A message will be prompted if it is not the case.

make postman will run postman collections on localhost.

You can specify nightly or demo parameters to choose where to run collections.

make postman env=nightly

make postman env=demo

Insert bulk of data

Your environment need to be up. A message will be prompted if it is not the case.

make bulk will insert 100 Applications and 100 Apis on localhost.