Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

DCAE MOD ( Microservices Onboarding and Design ) is being redesigned with angular based UI to have a great user experience, self managed catalog with APIs to ease access and manage life cycle of different version of microservices.

It also provides extensibility to include pluggable modules for generating deployment artifacts and communication with other systems such as Policy Engine and DCAE dashboard.

Details of the target architecture and initial implementation can be found in below ppt slides and initial API Specifications

DCAE MOD Catalog and UI redesign draft - DCAE_MOD_redesign_v3.pptx

API Specification draft - swagger json (draft)


Below picture depicts the target architecture of redesigned MOD


It is composed of UI and Backend with Catalog service and Authentication Service.

UI

UI is developed using angular framework and enables users including designers and developers to onboard microservices. It currently provides a user-friendly menu options to onboard microservices and its instances per release, associate a component specification and generate deployment artifact that can be deployed using DCAE dashboard.

It will be enhanced to onboard policy models and data format to support policy-based control and composite microservice models.


Backend

The backend for MOD composed of a catalog service and authentication service. Catalog Service will manage microservices, its instances and generated deployment artifacts. Authentication service will provide access control for designers and developers to perform different operations.

Catalog Service

Catalog service is composed of APIs to manage base microservice, microservice instances, component specifications associated with microservices and to generate deployment artifacts.

Authentication Service

       Authentication service provides APIs to manage users, currently used by UI.


User Guide

Deployment

POC version of MOD can be deployed using docker-compose with below docker-compose,yml file on any Ubuntu VMs

docker-compose.yaml
version: '3.3'
services:
  mongo_db:
    image: 'registry.hub.docker.com/library/mongo:4.0.8'
    container_name: mongo_db
    environment:
      - DCAE_HOSTNAME=${DCAE_HOSTNAME}
    volumes:
      - type: 'bind'
        source: '/home/ubuntu/mongo/mongo_db/data'
        target: '/data/db'
    ports:
      - 27017:27017
    restart: always 
  dcae_mod_ui:
    image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.ui:latest'
    container_name: mod_ui
    environment:
      - DCAE_HOSTNAME=${DCAE_HOSTNAME} 
    ports:
      - 30997:4200
    depends_on:
      - mod_catalog_service
    restart: always
  mod_catalog_service:
    image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.catalog-service:latest'
    container_name: mod_catalog_service
    ports:
      - 31001:8080
    links:
      - mongo_db
    depends_on:
      - mongo_db
    restart: always
  mod_auth_service:
    image: 'nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.mod.auth-service:latest'
    container_name: mod_auth_service
    ports:
      - 31003:8082
    links:
      - mongo_db
    depends_on:
      - mongo_db
    restart: always


Run below command to download the latest built version and deploy on docker container.

docker-compose -f docker-compose.yml up &

After deployment is successful, you can list using docker ps -a command and it will show the below deployments.

Note: For Guilin POC, the above deployment procedure would be followed to install MOD components. For future releases, it will be enhanced to use helm chart.


UI will be available in below URL where hostname would be the hostname or IP address of the deployed VM

https:// <hostname>:30997

Initial user/password would be set to admin/admin@mod.

Below is the snapshot of initial landing page of MOD UI




Note: Update in progress...








  • No labels