cancel
Showing results for 
Search instead for 
Did you mean: 

Single Update of HTML5 Module without updating the whole CAP project

christoffer_fuss
Participant
0 Kudos

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

View Entire Topic
gregorw
Active Contributor
0 Kudos

Hi Chris,

please check out this Issue:

cf html5-push guid removes all other apps from repository #15

I've posted this also as a comment at:

Update your SAP Web IDE MTA applications to use the HTML5 Application Repository

unfortunately no progress until now. Maybe you have the time to file an incident via SAP Support to get more pressure on this topic.

Best Regards
Gregor

mariusobert
Developer Advocate
Developer Advocate
0 Kudos

In addition to Gregor's answer: Yes, the correct way (at least for now) is having multiple host service instances and assigning each one to a web app.

christoffer_fuss
Participant
0 Kudos

Hi Gregor, Hi Marius,

thanks 🙂 Do you think an incident is helping here like Gregor suggested? It seems to be a feature, not a bug^^

Best regards,

Chris