Project: mule
Issue MULE-7859: getApplications() method in MuleDeploymentService should include more apps
The getApplications() method in MuleDeploymentService only returns applications that were successfully deployed or that failed to start. Applications that failed to be installed or initialised are not returned but kept in a zoombies map. This is inconsistent. The method should return all applications for which deployment has been attempted, and per MULE-7800, it should have a status marking which ones failed. This makes for more useful and predictable behaviour while eliminating the need for the zoombies map. Finally, notice that the javadoc for that method says that it only returns deployed applications. That comment does not reflect the actual behaviour of the method not its real intent. That javadoc should be fixed also.
Story points: 5