Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

PDS API Server template, this was intended for developers who would like to implement their own API service. This is not maintained and a such archived.

License

Notifications You must be signed in to change notification settings

NASA-PDS/pds-api-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PDS-API-SERVICE

Overview

This project is a template implementation of the PDS federated API using the standard libraries automatically generated from the swagger definition of the API (see repository https://github.com/nasa-pds/pds-api-core/).

It implements a very simple collections end-point complying with the specification (see https://app.swaggerhub.com/organizations/PDS_APIs)

Update controllers as shown as an example in src/main/java/gov/nasa/pds/api/engineering/controllers/MyCollectionsApiController.java

Deployment

If needed change port in src/main/resources/applications.properties

mvn clean
mvn install
mvn spring-boot:run

Usage

Go to rest api documentation:

http://localhost:8080/

Test the simple collection end-point:

http://localhost:8080/collections

Demo server

Demo server is moved to the actual API implementation built on top of the PDS registry, see https://github.com/NASA-PDS/registry-api-service

About

PDS API Server template, this was intended for developers who would like to implement their own API service. This is not maintained and a such archived.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages