All Mule applications run under the Java Runtime Environment (JRE). Application components are built and deployed using Maven, a popular software management tool used in DevOps environments. MuleSoft also provides an Ecipse-based Integrated Development Environment (IDE) called Anypoint Studio, which is used for developing Mule applications in a graphical environment. While Studio can also be used for building, testing, and deploying applications, the instructions provided in the Accelerator documentation assume the use of Maven except where noted.
The MuleSoft Accelerators for Salesforce Clouds are built on Mule 4 and Studio 7. Assets may work with other versions of Mule and Studio, but no assurances can be given. Here is a list of the minimum software requirements for working with Accelerator assets:
Perform the following steps to prepare your workstation for building, deploying, and testing Accelerator assets. These instructions assume some basic knowledge of using Maven and Eclipse-based products.
Download and install the latest 64-bit version of the OpenJDK 8 release from On Windows, add or update the JAVA_HOME environment variable to point to the installation root directory (e.g., C:\Program Files\Java\jdk1.8.0_265) and append %JAVA_HOME%\bin to the PATH variable.
Import the project folder into Studio using the General/Existing Projects into Workspace wizard (not the Anypoint Studio project wizard). If the project does not import as accelerator-common-build, you can select the project in the Package Explorer view and press F2 to rename it:
Copy the contents of the settings-accelerators.xml file to your local Maven settings.xml file, which is usually located under $HOME/.m2 on Linux/MacOS hosts and %USERPROFILE%\.m2 on Windows hosts; create a new file if it does not exist. You may also choose to keep the file separate and specify the -s option when running Maven commands; in Studio you will also need to override the user settings path (under Anypoint Studio/Maven/User Settings in the Preferences dialog).
For now, update the server entries to specify your own usernames and passwords for the two Exchange repositories (anypoint-exchange-v2 and accelerator-exchange). If you want to run MUnit tests from the command line, you will also need to provide separate credentials for the MuleSoft Nexus EE repository (mule-enterprise).
To verify your workstation setup, import any Accelerator implementation template asset into Studio. You can either manually download the asset from Exchange and import it using the Packaged mule application (jar) wizard or you can launch the Exchange viewer in Studio to browse and open one directly.
Once the project has been imported, verify that the project name in Studio matches the name element in the pom.xml file. If it does not (which is usually the case when importing from a downloaded archive), press F2 to rename it accordingly; this will make it easier to use the build scripts later on. Ignore any warnings or errors for now.
Open your favorite shell and navigate to the project root folder (e.g., C:\workspaces\accelerators\accelerator-jira-sys-api). Run the command mvn clean. If the command completes successfully (the message BUILD SUCCESS appears) then you are good to go. If any errors are reported, they must be resolved before continuing; consult the Troubleshooting section below for help with some common issues.
If the mvn clean command does not complete successfully, or if Studio reports errors for the imported project, something in your setup is either missing or incorrect. The following table provides some common issues that may be encountered along with some suggested resolution steps:
MuleSoft announced the general availability of Anypoint Runtime Fabric on Azure Kubernetes Service (AKS) and Amazon Elastic Kubernetes Service (EKS) with the v1.8 release. Release 1.8 allows two flavors of Runtime Fabric as follows:
RTF with Mule appliance is shipped with mule appliance and is packaged with its own Kubernetes. Therefore, it allows enterprises and implementing partners to take advantage of cutting-edge technologies such as Kubernetes and docker without knowing much about them. However, these days, most enterprises are moving towards the cloud and have embraced these technologies.
Azure Kubernetes Service (AKS) and Amazon Elastic Kubernetes Service (EKS) are two dominant Kubernetes services adopted by most enterprises. These enterprises are happy to explore the idea of having the mule runtime managed on their own infrastructure with AKS or EKS if they see an advantage compared to RTF with mule appliances. This is what makes the proposition interesting.
Runtime fabric with mule appliance needs extra infrastructure to run the controllers. This increases your infrastructure bill by some margin. However, if you go for Runtime Fabric with AKS or EKS, you can leverage your own Kubernetes service and expertise to manage the mule runtimes with a lot more flexibility, and overall infrastructure expenses will be reduced significantly.
To install Runtime Fabric on Self-Managed Kubernetes, first, create a Runtime Fabric using Runtime Manager. You will see a runtime fabric option in your runtime manager if your Anypoint Platform has the appropriate entitlement.
After completing the installation, your Runtime Fabric should be activated within your Anypoint organization. To validate your installation, go to Anypoint Runtime Manager and confirm that the status of the Runtime Fabric is Active.
Important Tip: By default, AKS clusters are case-sensitive for your endpoints. In the above example, if you provide positiveGrains or positivegrains, it will not work with the default configuration. The endpoint expects an exact match to what you have added to your application.
Going though the documents for Sonarlint plugins installation, it talks about installation of plugins from Eclipse Mars, but how do we install in Anypoint Studio ? Are there any sets of downloadable Jars, that can be installed and needs Class Path setting to work ?
Software applications are the backbone of many businesses and organisations. They provide many critical services and are generally the primary channel for interaction with customers and users. Therefore, ensuring optimal performance is essential to maintaining these relationships and retaining customers.
As the name suggests, APM tools have the specific purpose of monitoring software applications. They provide real-time insights into network traffic and overall performance. They offer a comprehensive view, allowing you to detect issues immediately and, if not directly fix them, provide the information to analyse the situation thoroughly.
This is the Dynatrace software that processes collected metrics and allows access to the UI and other analysis tools. It can be installed either On-Premise (termed as a Managed Deployment) or is provided through a PaaS solution (called Dynatrace SaaS).
This application provides a substantial set of analysis tools, dashboards displaying metrics in real-time, the ability to view logs, perform code vulnerability checking and conduct transaction tracing.
OneAgents are the actual software agents that monitor host systems (i.e. the computer, the OS, the VM). They are a set of specialised tools, all contained within one binary installation file, that must be installed on the actual host being monitored. Once running, they collect various metrics (CPU usage, IO operations, network traffic, etc.).
The OneAgents themselves do not directly communicate with the Dynatrace application. An ActiveGate is required, which acts as a secure proxy. Again, it is a single installation component, either directly on the host to be monitored or on another host accessible via the network. They then route data collected by the agent to the Dynatrace application.
For example, many PaaS providers do not allow third-party software to be installed on their platform, which renders any APM tool impotent. However, many of these platforms do provide some external access via APIs. Extensions are packaged solutions, often based around these platform APIs, to take advantage of this limited external access.
As with many other PaaS solutions, MuleSoft does not allow additional, non-MuleSoft software to be installed onto any SaaS-based Runtimes. However, several platform-related APIs can access many metrics, giving an overview of performance and utilisation. For this purpose, Dynatrace has provided an Extension to collect and present these metrics on a pre-built dashboard.
It must be noted here that the information provided by this Extension is only comparable to those dashboards already supplied within Anypoint Platform. It can offer limited new insights above what the platform already provides. This then leads to the question as to whether you need Dynatrace at all. However, if the aim is for Dynatrace to be the primary monitoring tool within an organisation (i.e. the single source of information for all applications). In that case, this Extension allows for precisely that.
Once the agent has been installed, it will monitor all host software: the JVM running the MuleSoft Runtime and everything else (the complete OS and all other applications). The amount of information can be overwhelming, but it does allow for the use of additional analysis tools provided by Dynatrace. As an example, I particularly like Distributed Tracing, which enables you to follow the route of any particular transaction through the Runtime and elsewhere.
Dynatrace is competent in monitoring multiple technologies and different platforms all at once. The diagram below is a stylised example included to illustrate this. Both Anypoint Platform and an On-Premise Runtime are connected to other SaaS and PaaS solutions. Dynatrace has been used to monitor all components employing OneAgents and ActiveGates as appropriate.
I am trying to install a local mule installation tar.zip file. I have transferred that over via FileZilla onto my mule folder. I am unable to check if the mule if up and running on windows. Is there any specific command for that?
c01484d022