Questions tagged [spring-cloud-connectors]

30 questions
4
votes
3 answers

No suitable cloud connector found while trying to use local spring cloud connector/local_configuration_connector

I am trying to use the local cloud spring connector to test my application in local environment before it can be deployed to CF based cloud environment. From the Spring link…
3
votes
2 answers

Cannot inject LoadBalanced annotated OAuth2RestTemplate

I am using Spring Cloud Angel.SR4. My Configuration class for creating an OAuth2RestTemplate bean is as follows: @Configuration public class OAuthClientConfiguration { @Autowired private MyClientCredentialsResourceDetails resource; …
3
votes
2 answers

Spring cloud default profile

On a project I'm currently working on, we have the need for multiple profiles, i.e. "default" and "cloud". both DefaultContext and CloudContext contains the same bean definitions We are using PCF(Pivotal Cloud Foundry) we have created an…
3
votes
0 answers

spring cloud config environment repository has a database?

History I have application to get the dependencies program sources from front-end ( includes js, jsp, other RIA application files) to back-end ( includes java classes, table, columns). For analyzing this, I have to analyze each project develop…
verystrongjoe
  • 3,831
  • 9
  • 35
  • 66
1
vote
0 answers

Configure Postgresql sslrootcert with Spring Cloud Connectors & HikariCP

I'm currently trying to setup a datasource (Postgresql) on my SpringBoot 2.1.1 application with Spring Cloud Connectors (my application is hosted on PCF). I need to configure the path to my sslrootcert (which is not specified in the jdbc url…
1
vote
1 answer

Unable to read cloud foundry env variables inside a simple java program (Not using spring)

I have a simple java application (not spring one) that wanted to get amazon RDS database parameters from cloud foundry env variable VCAP_SERVICES. I am using the following code but unable to access any of the databases. I am trying one of the sample…
abb
  • 352
  • 1
  • 10
  • 23
1
vote
2 answers

No unique service maching interface error in Spring Boot Cloud Foundry error

I am trying to follow this tutorial https://github.com/cf-platform-eng/spring-boot-cities/tree/master/cities-service to run my spring boot application in Cloud Foundry. I have local bosh-lite installation My Spring Boot application connects to…
saurav
  • 5,388
  • 10
  • 56
  • 101
1
vote
2 answers

Spring Cloud; CloudFoundry; spring.jpa properties

I am using spring cloud to bind services to a spring boot application deployed to CloudFoundry. When running locally, I can pass Java options to the application as follows: -Dspring.jpa.hibernate.ddl-auto=create-drop Now I would like to do the same…
user152468
  • 3,202
  • 6
  • 27
  • 57
1
vote
1 answer

How is computed the redis connection pool size in a multi-dyno environment when using a spring cloud connectors configuration?

My application is configured as follows: @Bean public RedisConnectionFactory redisConnectionFactory() { PoolConfig poolConfig = new PoolConfig(10, 200);// maxPoolSize=10 return…
balteo
  • 23,602
  • 63
  • 219
  • 412
0
votes
1 answer

Looking for Spring Cloud ECS Connector Documentation

I'm trying to set up connection to a file storage bucket with Spring Cloud ECS Connector import com.emc.ecs.connector.spring.S3Connector; public S3Connector s3() { S3Connector result = this.connectionFactory().service(S3Connector.class); …
Henry Bai
  • 367
  • 1
  • 3
  • 17
0
votes
1 answer

Cannot set connectionProperties with Spring Cloud Connectors in PCF with SqlServer

I am setting up my DataSource in my project which has been deployed to PCF,and there is performance issue about sqlserver,so i want to add the property:sendStringParametersAsUnicode=false to fix this issue,just as the local jdbcUrl setting:url:…
0
votes
1 answer

Is Service binding approach using spring cloud connectors relevant when credentials are stored in Vault?

I have been using the Spring cloud Service connectors for Pivotal cloud foundry for a long time which gets the connection details from the VCAP_SERVICES env variable. Now we have a requirement to read these credentials from Vault . I am just…
0
votes
0 answers

How to Fix No suitable cloud connector found

I am using spring boot 2.1.9 version trying to migrate my project from spring boot1.x to 2.x. I am getting following exception while running the application. I have added following dependency to fix the issue
0
votes
1 answer

PCF / Cloud connector for Rabbit management API

All, I'm running a simple SpringBoot app in PCF using a Rabbit on-demand service. The auto reconfiguration of the ConnectionFactory for the internal Rabbit service works just fine. However I need a list of all queues on the Rabbit host. AFAIK this…
0
votes
1 answer

Spring Cloud Connector Plan Information

I am using Spring Cloud Connector to bind to databases. Is there any way to get the plan of the bound service? When I extend an AbstractCloudConfig and do cloud().getSingletonServiceInfosByType(PostgresqlServiceInfo.class)... I will have…
1
2