Open rahuldeepattri opened 5 years ago
@rahuldeepattri , thanks for your feedback!
Unfortunately, HTML5 Applications Repository service currently does not support partial upload of content associated with app-host
service instance. This means that to update a single application, all applications of the same app-host
service instance should be redeployed. This is a consistent behaviour across all deployment options, including GACD, deployer application and CF CLI plugin.
Therefore, removing all content associated with app-host
before uploading new content (a single application in your case) is an expected behaviour.
Once HTML5 Applications Repository expose API that allows to deploy/redeploy single application, we plan to add this functionality to cf html5-push
as well. I'll forward your feature request to HTML5 Applications Repository product owner.
So far you can do the following:
mkdir html5 && cd html5
cf html5-list
to see app-host-id
of the application you want to redeploycf html5-get --all <app-host-id>
to download all applications deployed with same service instance (same app-host-id
) to current working directoryapp-host
service instance
cf html5-push -r
@micellius Thanks for giving the work around as well. Will be useful to update github docs for the same.
Pls move it to do again.
Hi, is it possible to have multiple app-host in the same space? And how to consume it from one approuter?
Hi @mdejavue ,
Yes, it is possible to consume multiple app-host
instances in one Approuter.
app-host
instances in the same space, they are all automatically consumable with app-runtime
service instance (of the same space).app-host
instances from different spaces, this is also possible, while more complex to setup. You'll need to bind services that expose their app-host
IDs as part of binding information to Approuter as well as add manifetst.json > sap.cloud > public:true
to HTML5 apps that intend to be shared cross-space.app-host
instances and other business services are available in your Approuter, you can use cf html5-list -a <approuter_app_name>
. If you'd like to see the URLs of how to consume these applications via this specific Approuter, you can add -u
at the end of command above.Hi @micellius,
would also be interrested in this feature. That would allow quicker cycles when a deployed version is needed to test specific features.
Best Regards Gregor
Description
cf html5-push guid removes all other apps from repository What is the expected behavior? Only one app should be pushed and all others should remain intact. What is the actual behavior? The new app is pushed but all others are deleted.
Environment
CLI Output
Set environment variable
DEBUG=1
, run the flow and paste output here.