Upgrade Anypoint Connector for NetSuite (NetSuite Connector) to version 12.x.
-
NetSuite Connector is now compatible only with Java 17.
-
The connector no longer supports the Omit the internal Id in the name of the custom field field because its functionality is now the default behavior of the connector.
-
These libraries are upgraded to address reported security vulnerabilities:
-
The
springframeworklibrary is upgraded to version 6.2. -
The
jakarta.activation-apilibrary is upgraded to version 2.1.4. -
The
wiremock.server.dependencylibrary is upgraded to version 3.0.1. -
The PowerMock library is replaced by Mockito version 5.2.0.
-
The
commons-iolibrary is added at version 2.16.1. -
The
disruptorlibrary is added at version 4.0.0.
-
Ensure your system meets the following compatibility requirements before you perform the upgrade:
| Application/Service | Version |
|---|---|
Mule |
4.9.0 and later |
Java |
17 |
Before you perform the upgrade, create a backup of your files, data, and configuration in case you need to restore to the previous version.
Follow these steps to perform the upgrade to version 12.x:
-
In Anypoint Studio, create a Mule project.
-
In the Mule Palette view, click Search in Exchange.
-
In Add Dependencies to Project, enter
netsuitein the search field. -
In Available modules, select NetSuite and click Add.
-
Click Finish.
-
Verify that the
mule-netsuite-connectordependency version is 12.x in thepom.xmlfile in the Mule project.
Studio upgrades the connector automatically.
After you install the latest version of the connector:
-
Remove any
omitInternalIdFromCustomFieldsattribute from the NetSuite global configuration in your flow XML or Studio settings. -
Update any DataWeave scripts or configuration that references custom field names in the
TYPESCRIPTIDINTERNALIDformat to use the newTYPE__SCRIPTIDformat. -
Confirm that each Mule application using this connector runs on Mule 4.9.0 or later with Java 17.
-
Ensure your connector configuration uses Token-Based Authentication.
-
Verify that error handling still works as expected. See Troubleshooting NetSuite Connector if you encounter new validation or connectivity errors.
After you install the latest version of the connector, follow these steps to verify the upgrade:
-
In Studio, verify that there are no errors in the Problems or Console views.
-
Verify that there are no problems in the project
pom.xmlfile. -
Test the connection to verify that the operations work.
If it is necessary to revert to the previous version of NetSuite Connector, change the mule-netsuite-connector dependency version in the project’s pom.xml file to the previous version.
You must update the project’s pom.xml file in Anypoint Studio.
-
Introduction to Anypoint Connectors