Skip to content

Instantly share code, notes, and snippets.

@xenogew
Created November 21, 2016 07:24
Show Gist options
  • Save xenogew/f47a7c7f97613704ff283f967a4718d2 to your computer and use it in GitHub Desktop.
Save xenogew/f47a7c7f97613704ff283f967a4718d2 to your computer and use it in GitHub Desktop.

Public Module - Online Engine

The middle tier service that is component of Life Insurance online channel. Service provide connection to Modular - the insurance information service, and initiate service APIs for Front-End to call.

API Documentation

Public Module Online Engine documentation on ADP

powered by Swagger (Official website)

For Developer

Git SCM: Repository (need permission and AMOS network to access, ask Team Lead)

Code Style and Formatting: look in misc folder, then import Modular-Code-Conventions-AutoFormat.xml to IDE. (Eclipse settings base)

ADP - an implementation of Pivotal, the PaaS cloud platform, use for system deployment.

How to build and Deploy to ADP

  1. Check war files, from S:/PBM_Project/packages - adp/{yyyy-mm-dd[-tttt]} F/E team will build and provide to the folder. Ask them is the package is CDN or not?

  2. Include F/E packages into M/E package

  3. Copy war files to local machine, extract them, each to their folder's name.

  4. Remove and Copy extracted folders (see list below) to {project_home}/modular-online-engine-bundle/main/src/webapp/. * app-fast-quote * app-fast-quote-cdn * app-widgets

  5. Check {project_home}/modular-online-engine-core/src/main/resources/index.js, is baseURL variable is https://modular-uat.apps.adp.allianz/v1

  6. ADP CLI (ADP-Cloud Foundry Command Line Interface)

  7. cf login -a https://api.sys.adp.allianz and login with ADP username/password. If you don't have the CLI, please take a look at Getting Started, and username/password ask Team Lead.

  8. Choose ORG as AZAP-DSP

  9. cf push, here is done the deployment. You should look after the deployment process by ADP web console - Logs, the logging service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment