Giter VIP home page Giter VIP logo

microprofile-conference's Introduction

microprofile samples

Microprofile Showcase Application

General information

The application consists of several Microservices and a Web-Application managing a conference :

Microservice Name Powered By Description Technologies

microservice-schedule

Payara Micro

Schedule of the conference

JAX-RS, CDI

microservice-session

WildFly Swarm

Sessions of the conference

JAX-RS, CDI, JSON-P

microservice-speaker

Apache TomEE

Speakers of the conference

JAX-RS, CDI, JSON

microservice-vote

WebSphere Liberty

Votes for each session

JAX-RS, CDI, JSON-P, MP Config, MP Fault Tolerance, MP Metrics, MP Health

web-application

Apache TomEE

Frontend UI

Angular2, Bootstrap4

The WebApp is a direct subscriber to the individual Microservices. This means that there is no aggregator / middle-man application. The WebApp itself provides a known relative EndPoint microservice that enables the lookup of URLs to the other services.

Quickstart - Run all services and UI in separate runtimes

This will run each service in the runtime container that its setup for and the UI in a Node.js server to interact with them.

Build, package and run all microservices and the UI:

mvn clean package -P start,ui

Run just the microservices:

mvn package -Pstart -pl :microservice-start

Run just the UI:

mvn package -Pui -pl :microservice-start

Running on Liberty

To run all the services on individual WebSphere Liberty servers add the 'liberty' profile to the command:

mvn clean package -P start,ui,liberty
mvn package -P start,liberty -pl :microservice-start

Development Build

mvn clean install -DskipTests
  • Build the projects using Maven (mvn clean install) or (mvn -fn clean install) to skip over failed tests.

  • To get the technical documentation, just mvn clean generate-resources under the docs directory. You will find a PDF and HTML version of the documentation under docs/target/generated-docs

Development Tests

mvn clean test

Run Individual Services

Each service can run on any container (this is the Microprofile guarantee), but the service projects have been written by vendors to use their container. See the README.adoc of each microservice for details on how to run each microservice individually.

Getting involved

If you would like to participate in the community effort to advance EE then by all means feel free to join us on the following sites:

Common problems/bugs

NPM issues

The web-application project uses the com.github.eirslett:frontend-maven-plugin to download and install all node and npm requirements. Sometimes this may fail if console permissions are not permissive enough.

In such cases you will have to manually install some reqiurements:

  1. Download and install node: https://nodejs.org/en/download/current/

  2. Install npm manually:

cd web-application/src/main/static
npm install npm
npm install typings --global
typings install --global

Notes

This application is a collaborative demonstration application by:

  • WebSphere Liberty

  • London Java Community

  • SouJava

  • Red Hat

  • Tomitribe

  • Payara

microprofile-conference's People

Contributors

andygee avatar karianna avatar kenfinnigan avatar tevans78 avatar katheris avatar heiko-braun avatar agoncal avatar emily-jiang avatar aguibert avatar kwsutter avatar andymc12 avatar starksm64 avatar hutchig avatar ondromih avatar iainduncani avatar mikecroft avatar smillidge avatar xstefank avatar ivannov avatar gregrluck avatar brunoborges avatar cesarhernandezgt avatar mrbyte2001 avatar ivargrimstad avatar sahil2712 avatar susanodom avatar keilw avatar realmodusoperandi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.