GithubHelp home page GithubHelp logo

Comments (4)

ramnivas avatar ramnivas commented on May 28, 2024

Take a look at https://github.com/cloudfoundry-samples/cf-s3-demo that shows how to create spring-cloud connectors for user-provided services. In particular, take a look at https://github.com/cloudfoundry-samples/cf-s3-demo/tree/master/src/main/java/com/gopivotal/cf/samples/s3/connector

from spring-cloud-connectors.

scottfrederick avatar scottfrederick commented on May 28, 2024

The UPS connectors in https://github.com/spring-projects/spring-cloud/tree/master/cloudfoundry-ups-connector were kept as a separate module for precisely this reason - it would be very difficult to create a set of off-the-shelf connectors that parse credentials in all the various ways that users may choose to form them in a user-provided service.

One option is to check out the cloudfoundry-ups-connector project and change the code to parse your credentials. For Oracle, that would be in https://github.com/spring-projects/spring-cloud/blob/master/cloudfoundry-ups-connector/src/main/java/org/springframework/cloud/cloudfoundry/UserProvidedOracleServiceInfoCreator.java.

from spring-cloud-connectors.

ryanjbaxter avatar ryanjbaxter commented on May 28, 2024

@ramnivas since I am not using Spring in this case I can leave the AbstractServiceConnectorCreator out correct?

from spring-cloud-connectors.

ryanjbaxter avatar ryanjbaxter commented on May 28, 2024

@ramnivas this worked great! Thanks for the pointer!

from spring-cloud-connectors.

Related Issues (20)

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.