I am new to Cloud Foundry and ruby. And now I have been trapped in the part
of service gateway when studying the source code of cloud controller and
As we all know, when client wants to provision a service, vmc sends a
command to cloud controller, and cloud controller finds corresponding
service by label and provider in the local postgres DB.
Here are some codes:
svc = Service.find_by_label_and_provider(req.label, req.provider == "core"
? nil : req.provider)
*But I cannot find the defining function of find_by_label_and_provider. *
I guess it must have something to do with Postgres, but I don't know how it