Skip to content

Informasjonsforvaltning/catalog-view-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalog View API

This application provides an API for viewing your company catalog in the registration solution. Through this endpoint you will be able to retrieve all information about resources that are registered in the registration solution of your company. Currently, it is only possible to use this endpoint against the term catalog.

The API is protected with Maskinporten.

For a broader understanding of the system’s context, refer to the architecture documentation wiki. For more specific context on this application, see the Registration subsystem section.

Getting Started

These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Ensure you have the following installed:

  • Java 21
  • Maven
  • Docker

Running locally

Clone the repository

git clone https://github.com/Informasjonsforvaltning/catalog-view-api.git
cd catalog-view-api

Start MongoDB, Elasticsearch and the application (either through your IDE using the dev profile, or via CLI):

docker compose up -d
mvn spring-boot:run -Dspring-boot.run.profiles=develop

API Documentation (OpenAPI)

The API documentation is available at openapi.yaml.

Running tests

mvn verify

About

API for viewing complete catalog data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages