Today I will show you a few simple steps to activate the FaaS services in cloud foundry so you can use the as a service functions.
Before starting, this video will give you a context
We must create a new subaccount in CF with the active beta functions, for this we follow these steps
Once the subaccount is created we will enable the cloud fondry environment
We return to the subaccount and go to the Entitlements option
At the subaccount level we go to Subscriptions and select Functions
In functions, we subscribe the service with the Subscribe button
We will create the new instance as indicated in the following image (special attention to the parameters) and as a name for example "faasfunction"
We add to our user the necessary roles. We go to the trust configuration option and select the credential server, in this case SAP ID Service
We have already created a new FaaS instance in the previous steps so we will use the instance already created. We will modify the MTA file so that when deploying we use the same instance
We have to build on the project and deploy like any project in CF. Here you can have a bug in the deploy, but the project is deployed correctly
We only have to register the deployed function and make an execution test.
we go to the service that we have subscribed at the subaccount level and select in "Go to Application"
And this is the result of running the url
As you can see it is very easy to prepare useful functions to be used in any application, if you want to expand information here you have the official guide
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |