Name: hub-content-feed
Owner: NOMS Digital Studio
Description: null
Created: 2016-12-22 13:28:14.0
Updated: 2017-09-06 14:10:38.0
Pushed: 2017-03-02 14:10:07.0
Homepage: null
Size: 158
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
REST microservice for the The Hub.
This service is responsible for content metadata delivery to the consumers.
Ministry of Justice. National Offender Management Service.
adlew clean build
adlew bootRun
GET /hub-content-feed/content-items/
Request:
onse:
Status: 200
{
“title”: “hub-feature-specs:Upload Course Prospectus”,
“uri”: “http://
Content Item endpoint
/hub-content-feed/content-items
ieve a single ContentItem which is currently made up of just a title and media uri.
ples
est:
Response:
us: 200
ontentItems": [
{
"title": "hub-feature-specs:Upload Course Prospectus",
"uri": "http://<host>/content-items/hub-feature-specs-test-prospectus1.pdf",
"id": "589c25c1d12d27267cc7b94a"
}
GET /hub-content-feed/health
e.g.
://localhost:8080/hub-content-feed/health
://hub-content-feed.herokuapp.com/hub-content-feed/health
ontentfeed.mongodb.connectionurl - The MongoDb connection string. Defaults to mongodb://localhost:27017
mongodb:foo:<key>==@bar.documents.azure.com:10250/?ssl=true
ontentfeed.mongodb.database - The MongoDb connection database name.
oyedURL - The hostname that the application is running on. Defaults to 'localhost'
hub-content_feed.herokuapp.com
oDbURL - The mongo database url for the application. Defaults to mongodb://localhost:27017
mongodb:<user>:<key>==@bar.documents.azure.com:10250/?ssl=true