SAP BTP, Cloud Foundry
In the Cloud Foundry environment of the SAP Business Technology Platform, Nova runs as an app from the image of deploy/Dockerfile, with PostgreSQL from SAP BTP as its database. Nova reaches systems in the organisation's network there only through the SAP Cloud Connector. Apart from the Cloud Connector, nothing needs to be installed on workstations or in the organisation's network.
In the subaccount
| Component | Requirement |
|---|---|
| Environment | Cloud Foundry enabled in the subaccount, an org and a space, for the installation the Space Developer role and the cf CLI v8 |
| Memory | 1 GB for Nova, plus 1 GB for the RFC bridge when SAP is connected; briefly 1 GB more while a new version is deployed, otherwise stop Nova first |
| Database | an entitlement for PostgreSQL, hyperscaler option (postgresql-db), plan standard or premium, PostgreSQL 16 |
| Path into the organisation's network | entitlements for Connectivity and Destination (plan lite each) and Authorization and Trust Management (xsuaa, plan application) |
| Image | a registry the platform can always reach: Cloud Foundry pulls the image again at every restart |
| Cloud Connector | installed in the organisation's network, with access to SAP and the domain controllers, connected to the subaccount; for the setup a person with the Cloud Connector Administrator role in the subaccount |
The app's services:
| Service | Purpose | Bound to |
|---|---|---|
nova-db | database | Nova |
nova-secrets | SECRET_KEY, NOVA_ENCRYPTION_KEY, NOVA_PUBLIC_URL, optionally NOVA_SMTP_* and an AI provider's key, as a user-provided service | Nova |
nova-connectivity | path through the Cloud Connector | Nova (Active Directory, mail server) and RFC bridge (SAP) |
nova-destination | destination with the credentials for SAP | RFC bridge |
nova-rfc-uaa | Nova's sign-in at the RFC bridge | Nova and RFC bridge |
As with Docker Compose, Nova runs as exactly one instance; new versions are not deployed with --strategy rolling. The database can only be reached from Cloud Foundry; backups go through an SSH tunnel through the app.
SAP through the RFC bridge
In Cloud Foundry, only SAP JCo inside the SAP Java buildpack speaks RFC through the Cloud Connector. A second app, the RFC bridge, therefore makes the calls to SAP; Nova calls it over HTTPS. Nova's image does not need the SAP NW RFC SDK here. Building the RFC bridge needs SAP JCo 3.1 for Linux x86_64 from the SAP Support Portal (S-user); at runtime the buildpack brings its own JCo.
- Cloud Connector: map an ABAP system with protocol RFC to a virtual host and expose these 14 function modules as resources with their exact names:
RFC_PING,RFC_SYSTEM_INFO,RFC_READ_TABLE,EM_GET_NUMBER_OF_ENTRIES,BAPI_USER_GET_DETAIL,BAPI_USER_GETLIST,BAPI_USER_CREATE1,BAPI_USER_CHANGE,BAPI_USER_LOCK,BAPI_USER_UNLOCK,BAPI_USER_DELETE,BAPI_USER_ACTGROUPS_ASSIGN,BAPI_TRANSACTION_COMMIT,BAPI_TRANSACTION_ROLLBACK. - Destination in the subaccount: type RFC, proxy type OnPremise, virtual host and system number from the Cloud Connector, client, RFC user and password. The credentials for SAP live only in the destination; Nova never sees them.
- RFC user:
S_RFCfor these function modules;S_USER_GRPwith activity 03 to read and with 01, 02, 05 and 06 to create, change, lock and delete accounts;S_USER_AGRwith activity 22 to assign roles;S_TABU_NAMwith activity 03 for the tables Nova reads (roles, authorizations, Fiori, GRC rule set, organisational structure). Which objects a system checks is up to the SAP Basis team. - In Nova: under "Systems", open the SAP system, set "RFC connection" under "Connection" to "RFC bridge (Cloud Connector)" and enter the "BTP destination".
Everything Nova does with SAP goes through the RFC bridge: "Check status" and "Read user", creating, changing, locking, unlocking and deleting accounts, setting passwords, assigning and removing roles, in the bulk job too, the account and role imports, authorizations, Fiori and the GRC rule set. An SAP OM source for the organisational structure is set to "RFC bridge (Cloud Connector)" the same way. On the RFC bridge, every Nova connection is an SAP session of its own, so a change and its commit run together; if the session ends before, Nova reports the change as failed.
Active Directory through the Cloud Connector
- Cloud Connector: map the domain controller with protocol TCP to a virtual host, for example port 636. With "Use SSL (LDAPS)" the connection stays encrypted up to the domain controller.
- In Nova: in the target system under "Advanced", set "Connection path" to "SAP Cloud Connector"; "Host" and "Port" are the virtual host and port from the Cloud Connector. The "Cloud Connector location ID" is needed only when several Cloud Connectors serve the subaccount.
If Nova is bound to no Connectivity service, Nova reports an error and does not connect directly. Service account and directory rights are the same as otherwise, see Active Directory and LDAP.
AI
Nova uses the path through the Cloud Connector only for directories, SAP and the mail server (see Sending email). In Cloud Foundry, Nova therefore cannot reach an Ollama server in the organisation's network. Possible are an Ollama endpoint reachable from SAP BTP over HTTPS, or a cloud provider, see AI in Nova.
What else has to be ready
HR data, people for testing and the service account in Active Directory as in the start checklist. The server, the network paths to SAP and the SAP NW RFC SDK from the checklist are not needed.