spmia-chapter2's People
Forkers
mmeany vpiduri kharmaodo pinopisello schatterjee4 swbfraser matteoformica trifonnt abenzzine mukherjee79suman weima cesinrm hatoriz orangeyts angellyk gocoolkris tonytouchrecords sabbasbraimah rnulens yongliu2001 ingimp mikeyoung13 whawkins66 binaryatwork funron junliu2000 rstrenglein afibarra dyrkin nikotincheg zknyy chenxingjun daradicsdavid qushy oleksandrohavrylenko guitimoteo radhikari54 erescobar prakashtjp lirongmvp derekhe81 kipcd klimtever hassanabdelhalim23 iyangming szit vikrampanwar999 ianouk12 tanvn cookcodeblog jorge-cue yestiao oathsign mckeeatx jhowardjr zeromorefree bjorn-eiderback devarajkiran kiranonly bulidworld zwiidoan swjtuwy nativuks nanbatiannanbatian thimotyb mayavian stoneshao dongweibox cthinker2018 mohanas81 easy-song zhongkouwei hcbxwy qiangsima marco-cdlv dibyend123 dietrichunverzagt prakasht2014 cmdsmith vadirajd fatmi chekeychen forestlcoder sumitausa shiwanyihui 289012869 airdive ram318 jthakore bvarba lixstudy jacektracz adslfup 9mohit2 jackroadontop girishgodage toprahmin lzhshen shuangbi thiagohernandesspmia-chapter2's Issues
Can't run docker maven plugin
I tried to follow the instruction in the readme file:
mvn clean package docker:build
But after running this in command line, I got the following error message:
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:build (default-cli) on project licensing-service: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: java.io.IOException: No such file or directory -> [Help 1]
My environment:
[Maven]
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.8.0_65, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.5", arch: "x86_64", family: "mac"
[Docker]
Docker version 1.8.0, build 0d03096
Any help is appreciated! Thanks!
Deprecated spotify docker-maven-plugin
Hi!
I just purchased the Korean translated version of this book and noticed that the spotify docker-maven-plugin is in bug-fix only phase.
there is a new plugin spotify
Would it be possible to update the pom file to use the new plugin?
Thanks!
The book mentions source code but there is none here.
2.3.1 Getting started with the skeleton project
To begin, we are going to create a skeleton project for the licensing. You can either pull
down the source code down from Github (https://github.com/carnellj/spmia-chapter2)
or create a licensing-service project directory with the following directory structure
Trying to run the service
I builded the docker file, then as instruction says I am trying to run the containger. Howerver I get this exception:
$ docker-compose -f docker/common/docker-compose.yml up
Starting common_licensingservice_1 ... done
Attaching to common_licensingservice_1
licensingservice_1 | /bin/sh: ./run.sh: not found
common_licensingservice_1 exited with code 127
LicenseServiceController#getLicenses hardcodes the License's organization id
LicenseServiceController#getLicenses
hardcodes the License's organization id at https://github.com/carnellj/spmia-chapter2/blob/master/src/main/java/com/thoughtmechanix/licenses/controllers/LicenseServiceController.java#L30
Gettting an error while running the docker compose command
I have cloned the project and when I build the project using the mvn clean package docker:build
command, the image is getting build but when I try running the docker compose
command, I am getting the below error.
I even tried running the docker container -p8080:8080 imageId
and still getting the below error.
Where I am going wrong,
The first chapter is working perfectly.
E:\spring-cloud-microservices\spmia-chapter2 (master -> origin)
λ docker-compose -f docker\common\docker-compose.yml up
Recreating common_licensingservice_1 ... done
Attaching to common_licensingservice_1
licensingservice_1 | /bin/sh: ./run.sh: not found
common_licensingservice_1 exited with code 127
Please add an open source license to this repository
As the code in this repository is associated with a Manning book I would be extremely grateful if you could add an open source license.
Chapter 2 code - get call returns 404
Hi John,
returns 404 (response below:). Console log attached
{
"timestamp": 1525587531582,
"status": 404,
"error": "Not Found",
"message": "No message available",
"path": "/v1/organizations/e254f8c-c442-4ebe-a82a-e2fc1d1ff78a/%20licenses/f3831f8c-c338-4ebe-a82a-e2fc1d1ff78a"
console.log
}
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.