Giter VIP home page Giter VIP logo

spring-cloud-lattice's Introduction

Spring Cloud Lattice

Preview of Spring Cloud Lattice implementation

Running the sample

  1. Install lattice
  2. Follow the getting started guide, including scaling lattice-app to 3
  3. run mvn package
  4. run java -jar spring-cloud-lattice-sample/target/spring-cloud-lattice-sample-1.0.0.BUILD-SNAPSHOT.jar
  5. visit http://localhost:8080?service=lattice-app verify that the 3 services rotate through as you refresh

Running the sample ON LATTICE

  1. cd spring-cloud-lattice-sample
  2. mvn clean package docker:build
  3. docker tag spring-cloud-lattice-sample:latest <yourdockerhubid>/spring-cloud-lattice-sample
  4. docker push <yourdockerhubid>/spring-cloud-lattice-sample
  5. LATTICE_CLI_TIMEOUT=180 ltc create spring-cloud-lattice-sample spencergibb/spring-cloud-lattice-sample
  6. ltc scale spring-cloud-lattice-sample 3
  7. visit http://spring-cloud-lattice-sample.192.168.11.11.xip.io?service=spring-cloud-lattice-sample verify that the 3 services rotate through as you refresh
  8. visit http://spring-cloud-lattice-sample.192.168.11.11.xip.io/me verify that the 3 services rotate through as you refresh

spring-cloud-lattice's People

Contributors

spencergibb avatar

Watchers

Greg L. Turnquist avatar James Cloos 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.