You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: usecases/other/saas/tenantonboarding/README.md
+7-9
Original file line number
Diff line number
Diff line change
@@ -68,9 +68,9 @@ For the Onboarding, the usage of the **btp-setup-automator** includes a plethora
68
68
7) Creating a **Service Instance** for the Service Broker registration configured during the SaaS subscription
69
69
8) Creating a **Service Binding** for the new Service Instance consumable by the SaaS subscriber
70
70
71
-
You can find further details in the following CAP Service of our sample project, covering the described steps as part of the **onboardTenant** function.
71
+
You can find further details in the following CAP Service of our sample project, covering the described steps as part of the **onboardTenant** function.
Upon successful completion of the Job, which encompasses the setup of the newSubaccount along with all the necessary objects and configurations, an automated cleanup process takes place within the Kyma cluster. Thisprocess ensures the removal of both the Kubernetes Job and the associated Pod, thereby maintaining a clean and efficient environment. Also the Offboarding processfor SaaS customers is supported in a Self-Service manner. Once a SaaS customer decides to offboard and delete his SaaS subscription, a similar Kubernetes Job is spinned up by CAP (leveraging the Kubernetes API), which will run the following tasks:
106
106
107
-
1) Deleting the **Service Binding** that was created for the Service Instance
107
+
1) Deleting the **Service Binding** that was created for the Service Instance
108
108
2) Deleting the **Service Instance** before the actual SaaS solution is unsubscribed
109
109
3) Pruning the **Subaccount**, which will automatically delete the SaaS subscription
110
110
111
111
**Important**- It is essential, to delete the API Service Binding and Service Instance before pruning the Subaccount or deleting the SaaS subscription. The SaaS offboarding logic will automatically delete the Service Broker Registration from the respective Subaccount, which will make it impossible to delete respective Service Instances afterwards!
112
112
113
113
You can find further details in the following CAP Service of our sample project, covering the described steps as part of the **offboardTenant**function.
This is a streamlined method for offboarding a SaaS tenant, employing the **btp-setup-automator** with a nearly empty **usecase.json** file. The effective "offboarding" and deletion of the SaaS subscription and the associated consumer Subaccount are facilitated through the **pruneSubaccount** flag in the **parameters.json** file. In a sophisticated setup where a subscriber Subaccount serves multiple SaaS solutions, the option of deleting the entire Subaccount may not align with your requirements.
118
118
119
-
120
119
**Further information**
121
120
122
121
To explore further details on using the btp-setup-automator, we recommend referring to the SAP-samples GitHub repository. Within the repository, you will find a comprehensive step-by-step guide that walks you through the process. Additionally, a SaaS sample application is provided, which serves as a practical example for implementing the automation using the btp-setup-automator.
123
122
124
-
The guide in the repository offers detailed instructions, ensuring a clear understanding of the setup and usage of the btp-setup-automator. By following the steps outlined in the guide, you can effectively leverage the automation capabilities and adapt them to your specific requirements. We encourage you to explore the SAP-samples repository for a hands-on experience with the **btp-setup-automator**.
123
+
The guide in the repository offers detailed instructions, ensuring a clear understanding of the setup and usage of the btp-setup-automator. By following the steps outlined in the guide, you can effectively leverage the automation capabilities and adapt them to your specific requirements. We encourage you to explore the SAP-samples repository for a hands-on experience with the **btp-setup-automator**.
125
124
126
-
[SAP-samples - Develop a multitenant Software as a Service application in SAP BTP using CAP](https://github.com/SAP-samples/btp-kyma-cap-multitenant-susaas/)
125
+
[SAP-samples - Develop a multitenant Software as a Service application in SAP BTP using CAP](https://github.com/SAP-samples/btp-cap-multitenant-saas)
We invite you to explore the corresponding blog post, which offers valuable insights into the Subaccount onboarding automation and self-registration process and the workings of the btp-setup-automator when integrated into a newKyma/Kubernetes Job. The blog post includes a collection of screenshots that provide a visual representation of the self-registration experience and offer a glimpse into the underlying processes.
131
130
@@ -144,4 +143,3 @@ POST https://api.cf.eu10.hana.ondemand.com/v3/apps/8dd76b82-aeca-4bfb-aec5-21a0f
0 commit comments