Closed anianweber closed 9 months ago
but can one create them with the CLI as well?
yes, use:
sh aemw package create -A --pid group:name:version --filter-file filter.xml
How can you register remote instances?
just define them with any other prefix than 'local' for example 'remote', 'integration_', etc
instance:
# Full details of local or remote instances
config:
integration_author:
http_url: http://x.x.x.x:4502
user: admin
password: pwd
integration_publish:
http_url: http://y.y.y.y:4503
user: admin
password: pwd
or use ad-hoc definitions
sh aemw package deploy --instance-url=admin:admin@x.x.x.x:4502
or
ENVS=integration_author=admin:admin@x.x.x.x:4502,integration_publish=admin:admin@x.x.x.x:4503
sh aemw package deploy --instance-url=$ENVS -A # only to author
sh aemw package deploy --instance-url=$ENVS -P # only to publish
copy content from a cloud instance
as far as I know only AEM author is reachable but via auth using bearer token; this is supported in predecessor of AEMC (https://github.com/wttech/gradle-aem-plugin) but not yet in AEMC. I just raised a ticket to cover that: https://github.com/wttech/aemc/issues/220 ;
basically to copy cloud to/from cloud instances Adobe developed few tools and documented these approaches. don't hesitate to find them ;)
Thank you very much for the detailed response! I will try it as you described. This "issue" therefore is closed.
I have the following questions: