This is a Cloud Foundry Service Broker for provisioning of Kaltura VPaaS accounts on Cloud Foundry based PaaS providers. CF PaaS based cloud vendors and cloud admins using Cloud Foundry can utilize this project to streamline accounts provisioning of Kaltura VPaaS accounts.
This project is written in Go and is relies on the Pivotal CF BrokerAPI and Go-CF Environment libraries.
This reference implementation uses postgress DB to store the accounts mapping.
To run this project you will need to have access to a Cloud Foundry based PaaS. For example the SAP Cloud Platform.
You will also need to have Go-lang and Go-dep installed, and ensure that ~/go/bin
is in your PATH.
- Run
go get github.com/kaltura/kaltura-cloud-foundry-service-broker
- Run
cd ~/go/src/github.com/kaltura/kaltura-cloud-foundry-service-broker
(~/go/
being the directory where go get is configured to download repos to) - Edit
manifest.yml
and configure your desired username and password. - Run
dep ensure
- Create a postgress service for DB and name it postgress (e.g.
cf create-service postgresql v9.6-dev postgres
) - Run
cf create-service-broker ...
to create a new service broker in your CF environment (for example:cf create-service-broker kaltura-vpaas user pass https://kaltura-vpaas.cfapps.eu10.hana.ondemand.com --space-scoped
) - Running
cf m
will now show a newkaltura-vpaas
service available. Now you can usecf create-service ...
to setup the service in your space, and thencf bind-service ...
to bind the Kaltura VPaaS service to your CF app.
Or use this code as basis reference example to implementing a new generic Kaltura service in your Cloud Foundry Cloud offering. (contact us at VPaaS@kaltura.com if you have any questions)
Thank you for helping Kaltura grow! If you'd like to contribute please follow these steps:
- Use the repository issues tracker to report bugs or feature requests
- Read Contributing Code to the Kaltura Platform
- Sign the Kaltura Contributor License Agreement
- add sample app that uses the deployed service in an application (read credentials env vars)
- add input params validations (email, and such)
- document params for create
- document manifest.yml
- add better logging and better Error messages
- verify that when writing instances into postgres we do not override existing instance (shouldn't happen, but just in case)
- add OAUth login to KMC (Dashboard)
- add more info about metering and more plans (usage reporting, etc.) -- using SAP CP as reference implementation
- Join the Kaltura Community Forums to ask questions or start discussions
- Read the Code of conduct and be patient and respectful
You can learn more about Kaltura and start a free trial at: http://corp.kaltura.com
Contact us via Twitter @Kaltura or email: community@kaltura.com
We'd love to hear from you!
All code in this project is released under the MIT license unless a different license for a particular library is specified in the applicable library path.
Copyright © Kaltura Inc and SAP SE. All rights reserved.
Authors and contributors: Lior Okman and Zohar Babin. Also see GitHub contributors list.
Review the list of Open Source 3rd party libraries used in this project.