Giter Site home page Giter Site logo

fhchina / extended-java-shop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from continuous-delivery-in-java/extended-java-shop

0.0 1.0 0.0 397 KB

Code repository for O'Reilly book "Continuous Delivery in Java"

License: Apache License 2.0

Shell 8.83% Java 83.51% HTML 2.82% Groovy 2.39% Dockerfile 2.45%

extended-java-shop's Introduction

Extended Java Shop

This repo contains code samples for the book "Continuous Delivery in Java". It started as a fork of Daniel Bryant's O'Reilly Docker Java Shopping repository, but it evolved to become a repository on its own right. Problems running the code? Raise a new issue.

This README is intended to provide high-level guidance of the project, and detailed instructions can be found in the accompanying book.

Project Structure

Further instructions may exist within the following sub-folders.

  • acceptance-tests
    • Simple examples of functional end-to-end tests that use JUnit, REST-assured, and SerenityBDD to test the entire set of services comprising the Extended Java Shop.
  • external-adaptive-pricing
    • Service that represents some adaptive pricing service provided by a supposed third party.
  • fake-adaptive-pricing
    • The fake service that a team would use for tests, instead of the real external-adaptive-pricing service.
  • featureflags
    • The Feature Flags Service that is used within the Extended Java Shop to decide which features should be enabled and to what degree.
  • featureflags-db
    • The DB used by the Feature Flags Service. In this case it will be just a Postgre DB in a Docker container, in a real-life situation it would be a proper database.
  • jenkins-aws-ecs
    • A pre-built Jenkins instance that deploys to a known AWS ECS Cluster; this is based on jenkins-base.
  • jenkins-base
    • A pre-built Jenkins instance with job definitions for all the services and tests. It includes an empty "deploy" job which doesn't do anything; this job is overridden at jenkins-kubernetes and jenkins-aws-ecs to deploy to the right location.
  • jenkins-kubernetes
    • A pre-built Jenkins instance that deploys to a locally running Kubernetes Cluster; this is based on jenkins-base.
  • productcatalogue
    • The Product Catalogue Service, which provides product details like name and price.
  • shopfront
    • The Shopfront Service that provides the primary entry point for the end-user (both Web UI and API-driven).
  • stockmanager
    • The Stock Manager Service, which provides stock information, such as SKU and available quantity.
  • test-featureflags-db
    • The DB used by Feature Flags Service in the test environment. In this case, like featureflags-db, it's just a Postgre DB in a Docker container, although in a real-life situation it would probably be a proper database.

extended-java-shop's People

Contributors

codep0tato avatar danielbryantuk avatar quiram avatar

Watchers

 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.