Skip to Content
0
Sep 30 at 01:15 PM

Single Update of HTML5 Module without updating the whole CAP project

171 Views Last edit Oct 01 at 07:08 AM 2 rev

Hello,

we are developing a CAP Java project which includes several HTML5 modules. In the mta.yaml we have defnded an instance of html5-repo-host and used for all the HTML5 modules in the app the same sap.cloud.service name and managed approuter.
The commad cf html5-list gives for all the HTML5 modules the same id:

name                version   app-host-id                            
dedatatraindemo     1.0.0     22cfe8ec-84aa-4334-a5bf-517cbae9a25f  
mietercockp         1.0.0     22cfe8ec-84aa-4334-a5bf-517cbae9a25f   
nsrisks             1.0.0     22cfe8ec-84aa-4334-a5bf-517cbae9a25f  
bsbookshop          1.0.0     22cfe8ec-84aa-4334-a5bf-517cbae9a25f   
nsmitigations       1.0.0     22cfe8ec-84aa-4334-a5bf-517cbae9a25f 

If I want to update the nsrisks module for example without updating the other HTML5 modules or CAP modules, I use the comannd:

cf html5-push 22cfe8ec-84aa-4334-a5bf-517cbae9a25f

But then all other HTML5 apps are deleted....
So what is the correct way to update a single HTML5 module without loosing the other apps? Do I have to use multiple instances og htmt5-repo-host?

Best regards,
Chris