Mule4 deployment configuration

604 Views Asked by At

I am new to Mule4.x features. Get to realize that mule-app and mule-deploy has been deprecated. Where and how to provide information about deployment configurations? I can see mule-artifact.json is there but no where I am able to find how to use it with example. Mule docs only talks about elements and it's description but don't have any examples.

Any pointers would be greatly appreciated! Thanks in advance!

1

There are 1 best solutions below

3
On

A very short description of mule-artifact.json is available here.

mule-deploy.properties of Mule 3 has auto generated list of config resources, same thing is now available in mule-artifact.json as "configs" for Mule 4. This section will be automatically updated when new mule xml file is added under src/main/mule. Similarly redeploymentEnabled flag is also available in this file.

On the other hand, key-value pairs from mule-app.properties must be specified in Run Configurations section in AnypointStudio and in Properties section on CloudHub.

AnypointStudio Run Configurations: AnypointStudio Run Configurations

CloudHub Properties: CloudHub Properties