Giter Club home page Giter Club logo

docs-services's Introduction

Extending Cloud Foundry

This guide explains how to extend a Cloud Foundry instance with user-supplied services.

This repo is one of several doc repositories that go into a complete documentation set.

The contents here are structured as a topic repository intended to be compiled into a larger document with Bookbinder.

See the docs-book-cloudfoundry repo for the complete list of open source documentation repositories, as well as information about the publishing process.

docs-services's People

Contributors

abbyachau avatar animatedmax avatar anita-flegg avatar araher avatar bentarnoff avatar bobbygeeze avatar cf-pub-tools avatar cshollingsworth avatar dsabeti avatar elenasharma avatar fifthposition avatar gerg avatar krujos avatar ljarzynski avatar maximilien avatar michaeltrestman avatar mjgutermuth avatar mlimonczenko avatar mpmcgarry avatar pspinrad avatar rainmaker avatar seviet avatar shalako avatar sleslie23 avatar snneji avatar socalnick avatar st3v avatar teamhedgehog avatar wschaefer avatar yupengzte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs-services's Issues

Possible Deprovision Bug

I think there might be a bug in the documentation for deprovision.

Deprovision doc states that the expected request should look like the following:

http://username:password@broker-url/v2/service_instances/:instance_id?service_id=service-id-here&plan_id=plan-id-here

However, a broker I wrote is failing on deprovision and the request I'm getting looks like this:

The service broker returned an invalid response for the request to http://10.244.4.5:8080/v2/service_instances/a65c39ab-32a9-4f74-8963-bacfbb0273c2. Status Code: 409 Conflict, Body: {}

Looking at the source code suggests a body should be returned.

syslog_drain_url description confusing

It says here http://docs.cloudfoundry.org/services/api.html#binding "A URL to which Cloud Foundry should drain logs to for the bound application." Aside from the superfluous (second) "to" this is really not enough information to know what it's for. Does Cloud Foundry pipe the application logs (stdout etc.) from any app that is bound to this service to the indicated URL? Or is it a URL that I can use to download the logs from the application? What happens if more than one service is bound? Do you get more than one URL? How does that make sense (seems like it's related to the app not the service from the description above)? Or is it a URL I can get the stdout from the service instance itself (e.g. assuming it is a process that emits logs)?

Required fields for `last_operation` request in API 2.9

New query parameters were added to the last_operation request in API version 2.9: service_id, plan_id, and operation. The service_id and plan_id query parameters are marked as required in the 2.9 docs.

The example curl command below the parameters table does not show these parameters in the query string, and it would be typical for newly added parameters to be optional for backward compatibility.

Are these two parameters really required?

Compatibility of service with new bosh

Hi

I am using cassandra Service Cassandra bosh Service which is not managed now anymore.
i am getting issue with new bosh version

I am using bosh version: '261.4' and cf version: '267'

i am getting error

_Deploying

Director task 11384
Deprecation: Ignoring cloud config. Manifest contains 'networks' section.

Started preparing deployment > Preparing deployment

Deprecation: Please use 'templates' when specifying multiple templates for a job. 'template' for multiple templates will soon be unsupported.

. Done (00:00:00)

Error 100: Unable to render instance groups for deployment. Errors are:

  • Unable to render jobs for instance group 'cassandra_broker_server'. Errors are:
    • Unable to render templates for job 'cassandra_server'. Errors are:
      • Error filling in template 'cassandra.yaml.erb' (line 10: undefined method `cluster_name' for nil:NilClass)
      • Error filling in template 'cassandra-env.sh.erb' (line 132: undefined method `max_heap_size' for nil:NilClass)
      • Error filling in template 'cassandra-topology.properties.erb' (line 18: Can't find property '["cassandra_server.topology"]')
      • Error filling in template 'log4j-server.properties.erb' (line 35: undefined method `persistent_directory' for nil:NilClass)
    • Unable to render templates for job 'cassandra_broker'. Errors are:
      • Error filling in template 'cassandra-broker-config.properties.erb' (line 3: undefined method `seeds' for nil:NilClass)

Task 11384 error

For a more detailed error report, run: bosh task 11384 --debug
command 'bosh -n --color -t https://xyz:2324 -d /tmp/bosh_manifest20170720-7-19irvv4 deploy' failed!_**

here is my sample manifest file
cassandra manifest file.txt

Its not managed now but if someone can help me out .

Thanks in advance

Azure LB and AWS LB are not working properly with route service

Hello team,

can you please specify in the docs that Azure and AWS LB are causing 502s when using the route service, the reason is because the gorouter is initiating the route service callout and is the source IP of the route service TCP connection which can’t happen if it’s load balancing back to itself.

So the LB will cause 502 timeout and will never be forwarded to the app.
Thank you.

Clarification of `somethingsecure` password in documentation

What is the somethingsecure used for in the creation of the service broker? $ cf create-service-broker mybrokername someuser somethingsecure https://mybroker.example.com/ --space-scoped

Why would i enter a password in plain text in my terminal?

When would anyone use this password again?

Change location of sample Java service brokers

The project formerly known as Spring Boot CF Service Broker has been re-branded and moved. It is now Spring Cloud - Cloud Foundry Service Broker and lives at https://github.com/spring-cloud/spring-cloud-cloudfoundry-service-broker.

The sample app for this project is in the process of being moved from https://github.com/spgreenberg/spring-boot-cf-service-broker-mongo to https://github.com/spring-cloud-samples/cloudfoundry-mongodb-service-broker.

The links here should be changed to reflect these changes: https://github.com/cloudfoundry/docs-services/blob/master/examples.html.md.erb#L16

What is a "Standard Private Broker"

With the introduction of what I would call "private" brokers, the "Managing Brokers" page was updated in an attempt to differentiate between admin-managed brokers and user-managed brokers. The terms "Standard Private Broker" and "Space-scoped private brokers" are unnecessarily confusing. The only value in calling a broker private is when referring to user-managed, or space-scoped brokers. There's no need to say that "standard" brokers are "private" also; if all the brokers are private then this term is meaningless, because there are no public brokers. I always referred to these as "private brokers"; if they're managed by users then they're private, otherwise they're managed by the operator.

Proposed alternatives terms to differentiate these concepts:

  • standard brokers vs space-scoped brokers
  • operator-managed brokers vs user-managed brokers
  • standard broker vs private broker

changelog has not been updated for two versions

@SocalNick @tedsuo @dieucao

The broker API changelog was introduced to provide documentation to broker authors about when new versions were introduced, what changed in each version (this is also documented in the version specific docs), and what changes were made to the docs that did not impact the api spec. For example, we used to get questions that made us realize our docs were wrong, or required clarification. If a broker author revisits the docs and sees that the content has changed without a version bump, the changelog explains that this change occurred.

The last entry in the changelog is 2015-11-08, when 2.8 of the spec was released. There have been two versions since then. It appears the changelog is not being maintained. I would suggest CAPI commit to keeping it updated, add an entry declaring deprecation, or remove it.

Docs should indicate that route services require diego

Diego appears to be required to use route services, but this isn't mentioned in the docs at http://docs.cloudfoundry.org/services/route-services.html. This would be a useful point to include.

By the way, here's the error message on attempting to bind a route service without diego:

FAILED
Server error, status code: 400, error code: 60020, message: Route services are only supported for apps on Diego. Unbind the service instance from the route or enable Diego for the app.

How to encrypt vcap services (CUPS) environment variables?

Your example shows

VCAP_SERVICES=
{
cleardb: [
{
name: "cleardb-1",
label: "cleardb",
plan: "spark",
credentials: {
name: "ad_c6f4446532610ab",
hostname: "us-cdbr-east-03.cleardb.com",
port: "3306",
username: "b5d435f40dd2b2",
password: "ebfc00ac",
uri: "mysql://b5d435f40dd2b2:[email protected]:3306/ad_c6f4446532610ab",
jdbcUrl: "jdbc:mysql://b5d435f40dd2b2:[email protected]:3306/ad_c6f4446532610ab"
}
}
]

How can I encrypt user name and password do that data values will not be exposed?

The purge service guide was too old.

According to the following purge-service guide, if I want to remove a service broker without first deleting the service instances binded to it, I should use the -p option.

https://docs.pivotal.io/pivotalcf/2-3/services/managing-service-brokers.html#purge-service

However in PCF if I try to remove the service broker with -p I got an warning message like below.

cf purge-service-offering my-service -p my-service

FAILED
Option '-p' only works up to CF API version 2.46.0. Your target is 2.94.0.

Instead if I just ignore the -p option it would work.

cf purge-service-offering my-service
WARNING: This operation assumes that the service broker responsible for this service offering is no longer available, and all service instances have been deleted, leaving orphan records in Cloud Foundry's database. All knowledge of the service will be removed from Cloud Foundry, including service instances and service bindings. No attempt will be made to contact the service broker; running this command without destroying the service broker will cause orphan service instances. After running this command you may want to run either delete-service-auth-token or delete-service-broker to complete the cleanup.

Really purge service offering aws-rds-aurora from Cloud Foundry?> n

Please update the doc (and other PAS that is using CAPI 2.46.0+) with correct information.

Service names must be unique

It should be made clear in the documentation that a service name must be unique, similarly to the id of the service. This is ultimately required by the CCDB services' table indices.

As a reference, here is the description for the service id:

An identifier used to correlate this service in future requests to the catalog. This must be unique within Cloud Foundry, using a GUID is recommended.

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.