These are chat archives for spring-cloud/spring-cloud

14th
Jun 2016
litzuhsien
@litzuhsien
Jun 14 2016 06:50
@spencergibb
João Carvalho
@jcarvalho
Jun 14 2016 10:48
Hi everyone! I have a question regarding the Zuul Proxy server. Is there a way to add Metadata to the Zuul routes, which can then be retrieved by my own Zuul Filter?
Dave Syer
@dsyer
Jun 14 2016 10:53
I guess not (unless you look beyond Zuul to the discovery client). What did you have in mind?
João Carvalho
@jcarvalho
Jun 14 2016 10:55
We're trying to sign downstream requests using a per-service secret key, and we thought about using Route Metadata to store it
I'm currently using a secondary 'lookup table', and using the 'selected route' ID to lookup the key, but that solution just seems 'dirty'
Dave Syer
@dsyer
Jun 14 2016 10:58
Sounds fine to me
Donovan Muller
@donovanmuller
Jun 14 2016 11:53

Using the latest from spring-cloud-dataflow and spring-cloud-dataflow-server-kubernetesand trying to deploy as per the docs and getting:

dataflow:>stream create --name ticktock --definition "time | log" --deploy
Command failed org.springframework.cloud.dataflow.rest.client.DataFlowClientException: Exception trying to list configuration properties for application Docker Resource [docker:springcloudstream/log-sink-kafka:latest]

Exception trying to list configuration properties for application Docker Resource [docker:springcloudstream/log-sink-kafka:latest]

org.springframework.cloud.dataflow.rest.client.DataFlowClientException: Exception trying to list configuration properties for application Docker Resource [docker:springcloudstream/log-sink-kafka:latest]

on the k8 server:

java.lang.RuntimeException: Exception trying to list configuration properties for application Docker Resource [docker:springcloudstream/log-sink-kafka:latest]
    at org.springframework.cloud.dataflow.configuration.metadata.ApplicationConfigurationMetadataResolver.listProperties(ApplicationConfigurationMetadataResolver.java:123) ~[spring-cloud-dataflow-configuration-metadata-1.0.0.BUILD-SNAPSHOT.jar!/:1.0.0.BUILD-SNAPSHOT]
    at org.springframework.cloud.dataflow.server.controller.StreamDeploymentController.qualifyParameters(StreamDeploymentController.java:267) ~[spring-cloud-dataflow-server-core-1.0.0.BUILD-SNAPSHOT.jar!/:1.0.0.BUILD-SNAPSHOT]
    at org.springframework.cloud.dataflow.server.controller.StreamDeploymentController.deployStream(StreamDeploymentController.java:243) ~[spring-cloud-dataflow-server-core-1.0.0.BUILD-SNAPSHOT.jar!/:1.0.0.BUILD-SNAPSHOT]
    at org.springframework.cloud.dataflow.server.controller.StreamDeploymentController.deploy(StreamDeploymentController.java:186) ~[spring-cloud-dataflow-server-core-1.0.0.BUILD-SNAPSHOT.jar!/:1.0.0.BUILD-SNAPSHOT]
    at org.springframework.cloud.dataflow.server.controller.StreamDefinitionController.save(StreamDefinitionController.java:174) ~[spring-cloud-dataflow-server-core-1.0.0.BUILD-SNAPSHOT.jar!/:1.0.0.BUILD-SNAPSHOT]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_74]
...
Caused by: java.io.FileNotFoundException: Docker Resource [docker:springcloudstream/log-sink-kafka:latest] cannot be resolved to absolute file path
    at org.springframework.core.io.AbstractResource.getFile(AbstractResource.java:114) ~[spring-core-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
    at org.springframework.cloud.dataflow.configuration.metadata.ApplicationConfigurationMetadataResolver.listProperties(ApplicationConfigurationMetadataResolver.java:86) ~[spring-cloud-dataflow-configuration-metadata-1.0.0.BUILD-SNAPSHOT.jar!/:1.0.0.BUILD-SNAPSHOT]
    ... 75 common frames omitted

I know there's been commits around properties recently but... should this work? Am I doing to something stupid?

Ah ok, seems I'm not alone: spring-cloud/spring-cloud-dataflow#695
Mark Pollack
@markpollack
Jun 14 2016 12:00
this is on master? I just deployed time | log on google compute engine ~6 hrs ago. It could be due to some changes we are sorting through right now on master wrt to whitelist of boot property values.
Donovan Muller
@donovanmuller
Jun 14 2016 12:00
Yup, pulled about 10 minutes ago
Mark Pollack
@markpollack
Jun 14 2016 12:00
yea, we are in the middle of fixing broken stuff.... :)
Donovan Muller
@donovanmuller
Jun 14 2016 12:01
Will wait a bit... :smile:
Mark Pollack
@markpollack
Jun 14 2016 12:01
the OOTB apps previously had no prefix value for @ConfigurationProperties which is bad form... so sorting through that.
okey dokey.
just curious, what is the latest commit in your build as I just merged something related to this around that time.
Donovan Muller
@donovanmuller
Jun 14 2016 12:02
checking...
spring-cloud-dataflow: commit e86b4893731f80c406c1435cbb2e28f44e07f2e8
Author: Thomas Risberg trisberg@pivotal.io
Date: Tue Jun 14 01:46:01 2016 -0400
Changing id for tasks.adoc
Mark Pollack
@markpollack
Jun 14 2016 12:04
ok, thanks
Donovan Muller
@donovanmuller
Jun 14 2016 12:04
spring-cloud-dataflow-server-kubernetes: commit bbd42a9bd4ba40fabc59e43f4923a05b7c90336a
Author: Thomas Risberg trisberg@pivotal.io
Date: Tue Jun 14 01:47:31 2016 -0400
Updating asciidoctor-maven-plugin version
just did pull now, saw some new stuff from your commits. Should that affect anything?
on spring-cloud-dataflow
Guess the changes need to be included/made on spring-cloud-dataflow-server-kubernetes, will wait in anticipation :smile:
Mark Pollack
@markpollack
Jun 14 2016 15:10
@donovanmuller all should be good now on master for time|log.....
This message was deleted
blob
ccit-spence
@ccit-spence
Jun 14 2016 20:25
Are there any timelines for Brixton on PCF?
Dave Syer
@dsyer
Jun 14 2016 21:06
I believe it is on the launchpad
Just waiting for some tests and some sign offs
ccit-spence
@ccit-spence
Jun 14 2016 21:18
cool, thanks. looking to bring PCF up and noticed it was still on Angel
on the surface it seems a bit more complex than Angel given Zookeeper, Consul etc support. How will that work?
Spencer Gibb
@spencergibb
Jun 14 2016 21:21
those aren’t part of Spring Cloud Services on PCF
ccit-spence
@ccit-spence
Jun 14 2016 21:22
ok, that makes sense. so netflix stuff only?
Spencer Gibb
@spencergibb
Jun 14 2016 21:22
and config server and bus
ccit-spence
@ccit-spence
Jun 14 2016 21:23
zipkin / sleuth
Spencer Gibb
@spencergibb
Jun 14 2016 21:23
they should come later
ccit-spence
@ccit-spence
Jun 14 2016 21:24
so an upgrade from Angel to Brixton should be fairly easy