Code Monkey home page Code Monkey logo

payment's Introduction

Build Status

DEPRECATED: Sock Shop : A Microservice Demo Application

The application is the user-facing part of an online shop that sells socks. It is intended to aid the demonstration and testing of microservice and cloud native technologies.

It is built using Spring Boot, Go kit and Node.js and is packaged in Docker containers.

You can read more about the application design.

Deployment Platforms

The deploy folder contains scripts and instructions to provision the application onto your favourite platform.

Please let us know if there is a platform that you would like to see supported.

Bugs, Feature Requests and Contributing

We'd love to see community contributions. We like to keep it simple and use Github issues to track bugs and feature requests and pull requests to manage contributions. See the contribution information for more information.

Screenshot

Sock Shop frontend

Visualizing the application

Use Weave Scope or Weave Cloud to visualize the application once it's running in the selected target platform.

Sock Shop in Weave Scope

payment's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

payment's Issues

README.md

I followed the readme and not sure the directions are up to date.
I did Dependencies

cd $GOPATH/src/github.com/microservices-demo/payment/
go get -u github.com/FiloSottile/gvt
gvt restore

I'm not a go developer but does not this just get the gvt src thus need to craete the gvt executable and install it? i.e. gvt is not found for me.

Next not sure the next directions are correct either WRT cd $GOPATH/src/github.com/microservices-demo/payment/paymentsvc/
I cloned the repo to my local machine and no such paymentsvc directory exists at that level but in a sub directory of cmd i.e. $GOPATH/github.com/microservices-demo/payment/cmd/paymentsvc

The prometheus metric names can be improved

  • The application name should not be included, as it's available a parameter in the query. foo_payment_bar can be improved to foo_bar leading to the query foo_bar{'app=payment'}
  • For consistency using the http namespace would be better.

payment build error

Well I think the readme is a bit off on what you need to go get as needed to go get a lot of packages that where missing to perform the build. The one I got an error on and it's weave works:

$ go get github.com/weaveworks/common/middleware

github.com/weaveworks/common/logging

github.com/weaveworks/common/logging/logging.go:35:13: cannot use hook (type promrus.PrometheusHook) as type "github.com/sirupsen/logrus".Hook in argument to "github.com/sirupsen/logrus".AddHook:
promrus.PrometheusHook does not implement "github.com/sirupsen/logrus".Hook (wrong type for Fire method)
have Fire(
"github.com/weaveworks/promrus/vendor/github.com/sirupsen/logrus".Entry) error
want Fire(
"github.com/sirupsen/logrus".Entry) error

and if you try to build payment get the same error:
$ go build -o payment

github.com/weaveworks/common/logging

../../../../weaveworks/common/logging/logging.go:35:13: cannot use hook (type promrus.PrometheusHook) as type "github.com/sirupsen/logrus".Hook in argument to "github.com/sirupsen/logrus".AddHook:
promrus.PrometheusHook does not implement "github.com/sirupsen/logrus".Hook (wrong type for Fire method)
have Fire(
"github.com/weaveworks/promrus/vendor/github.com/sirupsen/logrus".Entry) error
want Fire(
"github.com/sirupsen/logrus".Entry) error

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.