Upgrading to 2022.3
Default NAR changes
Created structures
wxmanalyticsalerting
This structure needs to be created to enable the “Alerting” feature in the analytics screen.
Other NAR changes
The portal team is preparing some changes to the default DAM application. Those changes are not released in 2022.3. Nevertheless, some changes to the default NAR have been committed, and are listed below.
Those changes are not required for upgrading to 2022.3
Important change in the REST API contribution plugins
It is mandatory to update the plugins that contribute to the API by API Business Services.
REST API contribution plugins are those that provide extension components that modify the behavior of the REST API (also called API Business Services). These components extend classes provided by the restapibs.jar
library (see API Business Services (Extensions) ).
Changes to be made in these plugins
It is imperative first to update the
restapibs.jar
library of these plugins with the one that will be delivered in the WXM_RESTAPI plugin of the release 2022.3In the config.xml file of the plugin, add the following entry in the services section:
<service provides="com.noheto.extensions.interfaces.services.InstallableService"> com.noheto.restapi.startup.ApiBusinessServiceStartup </service>
Check that your components are taken into account and operational
At the moment it is necessary to go to the Java-Coded Business Services section to check the status of the detected extension components :
See The Java-Coded Business Services section of the API Designer
Changes in operation
Operation / invocation of components
An extension component is no longer executable if the plugin that defines it is not completely started. In some cases, components will be ignored or associated services will be disabled. In other cases, an exception will be thrown.
It is always considered in the general case that if a component is explicitly referenced (i.e. with a plugin name and a class name) in a configuration, it is essential to the operation. In previous releases, the absence of the component threw an exception and an alert was raised to the plugin status when WXM_RESTAPI was started, which is no longer possible. The error will at worst be detected at execution. Special cases are managed:
OAuth2 API configurations that use an extension component (e.g.
com.noheto.restapi.OAuth2UserBindingAdapter
) are disabled if it is not started, or cannot be started (because of a problem with the implementation class)
(cf https://crossmedia.atlassian.net/browse/WXM-12786 )
Normally the changes made have no impact on the execution itself, only on the loading, starting and detection of the component. However, it is recommended to perform a test of the functions that use these components after migration to check that everything is working properly.
Status
Temporarily, alerts on components in error or missing at the start of the WXM_RESTAPI plugin are no longer reported in the status of the plugin, and therefore the engine. It is therefore necessary to check that everything is going well by consulting the status of the REST API (see REST API plug-in status ) and the status of each extension component (see The Java-Coded Business Services section of the API Designer).
Components that are no longer supported as of 2022.3
Swagger Contributions (Components that extend
com.noheto.restapi.SwaggerContributionAdapter
)Configuration Contributions (Components that extend
com.noheto.restapi.ConfigContributionAdapter
)DXM JWT claims (Components that extend
com.noheto.restapi.DXMJWTClaimsAdapter
)