spring-cloud-services-samples / cook Goto Github PK
View Code? Open in Web Editor NEWSample application demonstrating use of Config Server for Tanzu
License: Apache License 2.0
Sample application demonstrating use of Config Server for Tanzu
License: Apache License 2.0
Hi - I've used the config server setting with an encryption key
"encrypt": { "key": "#@v&^%THGYUHJHJ()&%" } }
The deployment of app went just fine
But when try to encrypt, I got the error
{"description":"The encryption algorithm is not strong enough","status":"INVALID"}
I searched for a while and came up with nothing to look further
If you happen to have some tips on this, can you comment - thanks
i tried this sample and followed the steps mentioned in the
https://docs.pivotal.io/spring-cloud-services/1-3/config-server/writing-client-applications.html
I got the below error and mainly it unable to bind the git property value with java variable in the client application.
OUT Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'cook.special' in string value "${cook.special}"
Following instructions after executing step 2
./scripts/deploy.sh target/cook-0.0.1-SNAPSHOT.jar
I get following message:
Creating Config Server...The token expired, was revoked, or the token ID is incorrect. Please log back in to re-authenticate.
It's important to know not only that our tile and client software works, but also the sample applications that we publish to demonstrate how they work. Until now, testing of sample applications has been a manual effort. But it should be automated so that we know that our customers who are downloading and learning from these samples are viewing code that is known to work.
@fifthposition When I am deploying these applications it is starting up but I am seeing
2016-03-14T10:21:41.80-0400 [APP/0] OUT 2016-03-14 14:21:41.802 WARN 26 --- [Oe3I13XEi7UQ-16] o.s.a.r.l.SimpleMessageListenerContainer : Consumer raised exception, processing can restart if the connection factory supports it. Exception summary: org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused
The health endpoint shows the same. Regardless it is registering and showing in Eureka. Is there some extra step to set up a rabbit and get it to bind to it?
Running with spring-cloud-services-dependencies 1.1.0.M2 as I want Spring Boot 1.3.
/cc @royclarkson
Hey Team,
Ran through the setup in the repo as well as well an additional step of: 'cf set-env cook SPRING_PROFILES_ACTIVE dev,encryption'
/restaurants works, though the /secret-menu is just returning the encrypted content. Check it out here: https://cookie-em.cfapps.io/restaurant/secret-menu.
I can do a Postman on it and can see it should be tacos, but not through the browser. Thoughts?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.