The project contain for the MODAPTO Service Catalog code
Live version is available at https://services.modapto.atc.gr/catalog/
- Orchestrator based on Microservice Controller deployed using Docker -(Optional) GitLab platform with rights to create Groups and Projects.
The project is only composed of HTML pages and client side JS code. In order to deploy simply copy the content of PUBLIC
folder into a web server public folder (like the apache2
or nginx
).
The main index page under ./sites/catalogue/
.
When deployed locally it can be reachable at http://127.0.0.1/sites/catalogue/
.
- Upload in the
Microservice Controller
every microservice configuration JSON file available in the.\MICROSERVICES\
folder - Optional - Edit the file
.PUBLIC\sites\catalogue\index.html
adapting the following parameters in the CONFIG variable:- mscEndpoint: Add here the public link of the deployed Microservice Controller
- gitlabUrl: Add here the url of your GitLab portal
- gitlabGroupId: Add here the id of the GitLab group containing the projects
- gitlabGroupPage: Add here the public link of the GitLab group containing the projects
A sample of GitLab content is available at https://git.boc-group.eu/olive/modapto-smart-services
- Create a GitLab group for the services
- Create a GitLab project each service, containing a README.md file
- Edit the README.md file adding metadata information on top of it
- the metadata section must start and end with
---
- the minimum required keys are
affiliation
,keywords
,menu1
menu1
,menu2
, etc. must be a single word and referring to title (identified with the markdown element#
) in the README.md- An example is here
- Optional keys are:
title
: if not provided the GitLab Project name will be usedexcepit
: if not provided the GitLab Project description will be usedimgUrl
: if not provided the GitLab Project avatar will be used
- the metadata section must start and end with
- Give to the service owner the
maintainer
right on the project, to edit the content - Services owners can now edit the service decription and avatar in the Project setting
- Services owners can now add content to the README.md file of the service, in markdown format