Git Product home page Git Product logo

predix-microservice-templates's Introduction

view github pages Predix Microservice Templates ==============

Welcome to Predix Microservices Templates. Predix Microservice Templates contains 3 sub-projects that contain best practices for creating back-end Microservices.

Project Note
predix-microservice-cf-spring a java spring microservice template
predix-microservice-cf-jsr a java jsr REST service microservice template
predix-boot-dsp-cf will be deprecated in June 2016
predix-microservice-cf-rabbitmqconsumer a java rabbitmq consumer microservice template

Each project shares the following characteristics

  • Test cases and test case framework
  • Externalized Properties files
  • REST implementation and framework
  • Cloud ready with a Manifest file
  • Environment Aware for Local, DEV, QA, Stage, Prod
  • Continuous Integration capable

predix-microservice-cf-jsr

This project is a cloud-ready microservice that demonstrates how to create JSR - CXF based Services. You simply change the @Path url and begin adding your service implementation. It has SpringBoot, Spring Profiles and Property file management configured and ready for local development vs. cloud deployment. It is also set up for Test Driven Development with JUnit and Mockito.

predix-microservice-cf-spring

This project is a cloud ready microservice that demonstrates how to create a Spring RestTemplate based REST services. You simply change the @Path url and begin adding your service implementation. It has SpringBoot, Spring Profiles and Property file management configured and ready for local development vs. cloud deployment. It is also set up for Test Driven Development with JUnit and Mockito.

Once you are familiar with the project you are interested in and ready to make your own microservice, use the project as your starting point for a Cloud Foundry Rest Microservice. Change 'predix-microservice' to 'my-servicename' everywhere (using eclipse) and check in to your own repo.

###predix-boot-dsp-cf

For Predix users migrating from older predix systems, the predix-boot-dsp-cf has all the features of predix-boot-cf, and it brings a backward compatible bundle from a non-cloud Predix implementation to the cloud simply by adding a dependency to your old rest service code. If you use Spring, you simply add the @ImportResource annotation to list the Spring XML files from your old project. In other words, it's adding a cloud-foundry wrapper around your old Rest service, which suddenly makes it deployable to the cloud.

##Microcomponents Be sure to check out our Micromponent Utility projects which you'll like need to call Predix Services.

Analytics

predix-microservice-templates's People

Watchers

 avatar  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.