Document Properties
Kbid
28933F
Last Modified
01-Mar-2024
Added to KB
23-Nov-2018
Public Access
Everyone
Status
Online
Doc Type
Guidelines
Product
ICM 7.10
Guide - 7.10 API Changes

Introduction

This document lists API changes for Intershop Commerce Management 7.10.x that can cause migration efforts.

For information on new APIs refer to the Public Release Note - Intershop Commerce Management B2C/B2X 7.10.

API Changes 7.10.40.4

DescriptionAPI ChangesHow to Migrate
Removal of pipelines in ViewPromotionTargetGroup_52.pipeline in sld_ch_consumer_pluginThe ViewPromotionTargetGroup_52.pipeline was reworked, in order to support paging and the following pipelines were thereby removed: DeleteCustomerGroup, DetermineCustomerGroup, GetCustomerGroup, SearchCustomerGroup, GetCustomers, GetAffiliates, IsAffiliate, FilterUserGroups, UpdateCustomerSegmentPaging

The following alternatives can be used instead:

  • DeleteCustomerGroup → DeleteCustomerSegments
  • GetCustomerGroup → GetCustomerSegmentsPageable
  • SearchCustomerGroup → SearchCustomerSegments
  • GetCustomers → GetExplicitlyAssignedCustomersPageable
  • GetAffiliates → GetAffiliatesPageable
  • UpdateCustomerSegmentPaging → UpdatePaging
See API Changes for 7.10.38.21 LTS

API Changes 7.10.38.27 LTS

DescriptionAPI ChangesHow to Migrate
Job and Process Chain processes are concurrently monitored for their liveness.

A new Process datetime attribute "lastLivenessDate" was introduced. Related to that, the ProcessMgr introduced new methods getAllProcesses(), getAllProcessesByState(...), getAllStuckProcesses(). The ProcessConstants have a new field STATUS_STUCK. Besides the existing ExecutorService wrapper, a new related ScheduledExecutorService wrapper was introduced. When a running process does not update its liveness anymore, changing its state to stuck can be controlled via the property "intershop.cartridges.core.process.liveness.periodProcessConsideredStuckInSeconds".

The default process chain timeout has been lowered from 24 hours to 1 hour.

Execute the DBPrepare to create the necessary columns in the process table and add the new job CheckProcessesState which finds and updates stuck processes accordingly.

If any of your individual process chain task takes more than 1h to complete, please break it down into smaller tasks not to run into a timeout or set the defaultChainElementTimeout process chain XML attribute accordingly.

API Changes 7.10.38.21 LTS

DescriptionAPI ChangesHow to Migrate

Change in EnfinityManagement regarding exception throwing, server pausing/resuming and Inspector handling


Method EnfinityManagement.resumeAppServer() no longer throws a CacheListenerException.

Overall pausing and resuming the application server has been moved to ServerEnvironment which has equivalent methods which can be used.

Register Inspector based checks via EnfinityManagement.registerInspector(Inspector) or unregistration via EnfinityManagement.unregisterInspector(Inspector) no longer have an effect, instead use the SelfCheckTask from the server health checks as the successor concept.

If this exception is handled, that logic can be removed, otherwise there is nothing to do.

Instead of EnfinityManagement.pauseAppServer() use ServerEnvironment#pauseServer(). Instead of EnfinityManagement.resumeAppServer() use ServerEnvironment#resumeServer().

If a custom Inspector class is registered, convert it into a runtime SelfCheckTask, see Concept - Server Health Checks.

Change of enum values of SelfCheckTaskOutcome.StatusAn API break of the SelfCheckTaskOutcome.Status enum was necessary to externalize the view of the self check outcome meaning and unify its status values similar to commonly used values.See Guide - 7.10.38.21 Server Health Checks.
Transition from ServerStatusConstants to ServerInfo.StatusThe (internal) ServerStatusConstants are no longer used and therefore have no effect anymore on the application server logic, use ServerInfo.Status within CAPI instead.See Guide - 7.10.38.21 Server Health Checks.
The configuration.xml (share/system/config/cluster/configuration.xml) has one new entryThe configuration.xml has one new entry to find the selfchecks.properties file.

Add this entry to the configuration.xml file within the <sets> block:

configuration.xml
<set finder="property" scope="cluster,server,domain" required="false" fileName="${IS_SHARE}/system/config/cluster/selfchecks.properties" />

The logback-main.xml (share/system/config/cluster/logback-main.xml) has one new logger entry

The logback-main.xml has one new logger entry regarding logging of EnfinityManagementImpl.

Add this logger entry to the logback-main.xml file within the <included> block:

configuration.xml
<logger name="com.intershop.beehive.core.internal.management.EnfinityManagementImpl">
    <level value="INFO" />
    <appender-ref ref="ServerStartupConsole" />
</logger>

API Changes 7.10.38.9 LTS

DescriptionAPI ChangesHow to Migrate

Change of staging processor for staging group "Prices":

Prices used to be staged with FullDomainSpecificStagingProcessor. This has now been changed to MergeDomainSpecificStagingProcessor

Prices and according objects maintained in live systems will not be completely deleted/overwritten on replication. They will now be merged with the data from edit. This enables maintenance of customer - price list - relation in live system.

If this behavior is desired, there is nothing to do.

To enable the old behavior, change StagingProcessorName for PRICING_PriceScale in database table StagingGroup back to FullDomainSpecificStagingProcessor.

Deletion of price lists in ICM back office

The deletion of price lists in the ICM back office (batch mode) has been completely reworked for better performance and stability.

As a result the removed product prices from the deleted price lists are not saved in the product history anymore. (Note: New product prices, e.g. from Imported price lists are already excluded from product history).

No migration necessary
Changes related to quantity units of scale price quantities.See Guide - 7.10.38.9 Quantity Units of Scale Price Quantities.See Guide - 7.10.38.9 Quantity Units of Scale Price Quantities.

The configuration.xml (/share/system/config/cluster/configuration.xml) has two new entries: 

configuration.xml
<set finder="domain-folder" scope="domain" matches="^${environment}_${staging.system.type}_[[\w&&[^_]]*$" fileExtensions="properties,xml"/>
<set finder="property" scope="cluster,server,domain" fileName="${IS_SHARE}/system/config/cluster/staging_${environment}_${staging.system.type}.properties" />

No change is necessary. 

However, now it is possible to have configuration files for each staging environment and staging system type at one place, and only the one matching the actual servers environment and type will be used.

API Changes 7.10.37.1

DescriptionAPI ChangesHow to Migrate
Removed and adjusted default connection time and retry properties for web adapter.
  • Remove 'cs.poll.maxtries' from configuration tools
  • Remove 'cs.poll.timeout' from configuration tools
  • Remove 'cs.socket.timeout' from configuration tools
  • Check new 'as.maxwait', 'as.maxtries' and 'as.connect.timeout' defaults in webadapter.properties
The web adapter returns a HTTP 503 status code (old was HTTP 500 - internal server error) to the client if no configuration service is available.
Adjust clients to check for HTTP 503 codes if you want to check if ICM is available.
The class 'ApiTokenCookieLogin' has a new default method 'removeToken()'. This is used to remove a token cookie from the browser if the value is invalid and cannot be decoded. The default implementation does nothing.
Custom implementations should override the method to work the same way.

API Changes 7.10.35.1

DescriptionAPI ChangesHow to Migrate
Apache Tomcat was updated to version 9.0.50.
Deploy the application server.

API Changes 7.10.34.2

DescriptionAPI ChangesHow to Migrate
Cleaned up QualifiedNameGenerators for Junit 5 Tests

Obsolete/duplicate Classes

com.intershop.tools.etest.utils.QualifiedNameGenerator
com.intershop.tools.etest.utils.PackageNameGenerator

have been removed.

Use remaining class

com.intershop.tools.test.QualifiedNameGenerator

as follows:

@DisplayNameGeneration(QualifiedNameGenerator.class)

API Changes 7.10.33.1

DescriptionAPI ChangesHow to Migrate

DBInit and DBMigrate now use DBPrepare

The DBMigrate and DBInit tools now use DBPrepare internally.

This is a step to remove these old commands from the ICM system and use DBPrepare only.

Before updating to ICM 7.10.33, run DBPrepare one time if you have used DBInit/DBMirate before 7.10.33 

This procedure registers all old migration steps for DBPrepare. The next execution of DBPrepare only runs necessary migration steps.

API Changes 7.10.32.0 LTS

DescriptionAPI ChangesHow to Migrate
Removed deprecated code from CMSSee Guide - 7.10.32.0 Removal of Deprecated Code of bc_pmcSee Guide - 7.10.32.0 Removal of Deprecated Code of bc_pmc

API Changes 7.10.30.1

DescriptionAPI ChangesHow to Migrate

Transactions rolled back in REST requests if status is 4xx or 5xx.

(IS-31768)

The REST transaction behavior changed. Automatically opened transactions will now be rolled back if the response has a status 4xx or 5xx.If a transaction has to be committed in case of an error, the transaction should be committed explicitly.

The configuration of the staging-preparer and decorator is now done in the code (Guice modules).

(IS-30950)

staging.properties does no longer contain preparer-configurations. This configuration is done in hard-coded modules.

The code is backward-compatible. 
If a configuration is found in staging.properties, this configuration will be used.

Tip

Remove registration of staging preparer from staging.properties and declare a Guice binding for that.

The standard modules with the staging-configuration can be overwritten with custom modules. Additional documentation can be found in Concept - Mass Data Replication | Staging Decorators.

API Changes 7.10.29.2

DescriptionAPI ChangesHow to Migrate

SQL-Script-Preparer uses UTF-8 character set for scripts. A named parameter 'encoding={CHAR_SET}' can be used if another encoding or character set is desired.

(IS-31952)

All SQL-Script-Preparer and its super-classes use UTF-8 character set for scripts instead the system's default character set.

If necessary, use named parameter 'encoding={CHAR_SET}' to use another character set.

Example
Class42 = com.intershop.beehive.core.dbinit.preparer.database.SQLScriptPreparer \
          com/intershop/beehive/core/dbinit/scripts/dbindex.ddl \
          encoding=UTF_16 \
          true



The SQL-Script-Preparer has an attribute singleScript to execute a script as one.

(IS-32330)

By default the SQL-Script-Preparer executes each statement separately. By adding the attribute singleScript, the configured script will be executed as ones.

Add the attribute singleScript=true to enable the single script mode:

post.Class1 = com.intershop.beehive.core.dbinit.preparer.database.SQLScriptPreparer \
                resources/core/dbinit/scripts/enfinitytable.sql \
                singleScript=true

API Changes 7.10.28.0

DescriptionAPI ChangesHow to Migrate

Some pipelines and templates are overwritten by OIDC-adapter cartridges.

(IS-30973)

pipelinecartridgeoverwriting cartridge
OpenIDConnectLoginac_oidcac_oidc_sf_responsive
ProcessUserAccountapp_sf_responsive_b2cac_oidc_sf_responsive
ViewUserAccountapp_sf_responsiveac_oidc_sf_responsive
ProcessUserAccountapp_sf_responsive_smbac_oidc_sf_responsive_smb
templatecartridgeoverwriting cartridge
default/inc/header/LoginStatus.ismlapp_sf_responsiveac_oidc_sf_responsive_smb
default/inc/header/LoginStatus.ismlapp_sf_responsive_b2bac_oidc_sf_responsive_b2b
If the mentioned pipelines or templates have been either overwritten or modified by custom variants, these variants have to be migrated to ensure compatibility with existing and newly created variants.

The pattern for the SSO-redirect-URIs has been changed.

(IS-31923)

  • login
    • old pattern: https://<host>:<port>/INTERSHOP/web/<servergroup>/<site>/-/-/-/OpenIDConnectLogin-Callback
    • new pattern: https://<host>:<port>/INTERSHOP/web/<servergroup>/root/-/-/-/OpenIDConnect-DispatchCallback


  • logout
    • old pattern: https://<host>:<port>/INTERSHOP/web/<servergroup>/<site>/-/-/-/OpenIDConnectLogout-Callback
    • new pattern: https://<host>:<port>/INTERSHOP/web/<servergroup>/root/-/-/-/OpenIDConnect-DispatchCallback


Adapt the configuration of your identity providers. Also see Guide - 7.10.26.4 New Pattern for SSO Redirect URIs.

API Changes 7.10.27.0

DescriptionAPI ChangesHow to Migrate
Fixed constant names in ResponseStatusConstantsThe constants names SERCICE_UNAVAILABLE and SERCICE_UNAVAILABLE_CODE in com.intershop.component.rest.capi.response.ResponseStatusConstants are fixed.Use the constants SERVICE_UNAVAILABLE and SERVICE_UNAVAILABLE_CODE instead.

JUnit updated to 4.13.1

JUnit-Jupiter to 5.7.0



Added default configuration for HTTP2

(Status: beta)

A default configuration for HTTP2 support is added to the HTTPD configuration. The configuration is disabled by default. Please test the HTTP2 setting with your test environment and report problems.

How to enable the HTTP2 support:

  • Windows: Change the HTTP service configuration from:
    "<PATH>\server\local\httpd\bin\httpd.exe -k runservice -n Enfinity_ApacheWebServer16 -f <PATH>\server\local\httpd\conf\httpd.conf"
    to
    "<PATH>\server\local\httpd\bin\httpd.exe -k runservice -n Enfinity_ApacheWebServer16 -f <PATH>\server\local\httpd\conf\httpd.conf -D http2"
  • Linux and MacOS:
    Change the "apachectl start" call within the init script to "apachectl http2 start" or call this manually
  • Linux (option with deployment tools):
    Add the line "ENABLE_HTTP2=true" to the file "<PATH>/local/httpd/bin/envvars"

We will enable HTTP2 as default with ICM 11. Please provide feedback.


Added default configuration to enable 'mod_status' in HTTPD

A default configuration to load Apache HTTPD module 'mod_status' is added. This is disabled by default. This can be used by some monitoring solutions to get insights from the Apache HTTPD server.

How to enable the mod_status module:

  • Linux (option with deployment tools):
    Add the line "ENABLE_STATUS=true" to the file "<PATH>/local/httpd/bin/envvars"

The URL is '/server-status' and the access is restricted to the host running the web server only.

This is only available for Linux at the moment.


Extended Cache Keywords for PromotionsThe cache keywords for a promotion now also include the PromotionID which can be set during the creation of a promotion in the back office. This is especially useful when dealing with a REST client because this promotion ID is used as identifier in the URL to determine a promotion.
Bug Fix in /products endpoint of REST API

The inStock attribute now returns data from the inventory service.

Previously the inStock and availability fields both returned the value of the "in stock" checkbox of a product in the ICM. This was not intended and did not match the documentation. Now the behavior is corrected.

In case the inStock attribute was previously used, an adjustment is required:

  • inStock returns inventory data from the inventory service (boolean; empty in case there is no active inventory service)
  • availableStock returns the stock level of a product from a quantity-based inventory service
  • availability returns the value of the "in stock" as maintained in the ICM

API Changes 7.10.26.2 LTS

DescriptionAPI ChangesHow to Migrate
Parameter returnSortKeys now returns detailed sort key information in ProductListResourceProductListResource now returns a ProductLinkCollectionRO, which contains an extra field sortableAttributes. When returnSortKeys is true, this field contains extra information such as display name and direction for the sort keys, along with the old sortKeys field.
Messaging metrics available in Prometheus
Metrics from messaging component are available in Prometheus
Cache metrics are available in PrometheusMetrics from registered caches are available in Prometheus

Check for Web Cache Deception

(IS-31086)

To prevent a Web cache deception attack, it is checked if the URL of a request ends with an illegal dictionary ID. If that is the case, the server responds with 404 - 'resource not found'.

If this behavior is desired, there is nothing to do.
To enable the old behavior, a property has to be set.

intershop.validate.url.wcd = false

The Cartridge containing the e-mail templates for the headless application type (intershop.RESTwas renamed to better reflect the more specific usage intention of the included e-mail templates.

Cartridge app_sf_emails was renamed to app_sf_headless_emails.

Dependency definitions in build.gradle files have to be changed from:

compile group: 'com.intershop.business', name: 'app_sf_emails'

to:

compile group: 'com.intershop.business', name: 'app_sf_headless_emails'

Bugfix for local SSO users created for wrong organization

(IS-31425)


Precondition:

  • An ICM uses the same identity provider for the organization Operations and an Enterprise back office organization

The symptom of the bug was:

  • If an SSO user logs in to an Enterprise back office using the site SLDSystem, the user is locally created (when missing) for the organization Operations
  • If an SSO user logs in to the Operations back office using an Enterprise back office site. the user is locally created (when missing) for the Enterprise organization

Migration step:

  • Delete those users using the appropriate back office

API Changes 7.10.24.1

DescriptionAPI ChangesHow to Migrate

Fill Factor removed for MSSQL indexes.

(IS-30898)

The fill factor was removed from Stored Procedure GetIndexCreationScript while creating a replication enviroment.

Execute DBMigrate for updating Stored Procedure.

For already created indexes rebuild them with FILLFACTOR = 100:

ALTER INDEX <@>index_name< ON <table_name> REBUILD WITH (FILLFACTOR = 100)

API Changes 7.10.22.1

DescriptionAPI ChangesHow to Migrate

The SSO implementation is now independent from Keycloak libraries

(IS-30079)

  1. cartridges ac_keycloak* removed
  1. Migrate code that depends on ac_keycloak* cartridges

The SSO-redirect-URIs have been made simpler

(IS-30437)


  1. Remove query parameters from each and every redirect URI configured inside the connected identity providers
JDBC Oracle driver updateThis release contains a reference to the new oracle jdbc driver 19.6.0.0.0.

The following steps are necessary so that the old driver can still be used:

  • Create and publish the new driver to your artifact repository (this is just needed during deployment to resolve dependencies).
  • Override the version at your customization assembly to the old version.

For more details see Support Article - Handling the New Dependency of 3rd_oracle Version 19.3.1.0 (valid to 7.10).

New role descriptions for B2B roles

For migration to these new descriptions, perform the following steps:

  1. Activate the AddRolesInformationPreparer in the following files:
    • %IS_SHARE%\system\cartridges\bc_costcenter_orm\release\migration-to-25.0.0.properties
    • %IS_SHARE%\system\cartridges\init_b2b\release\migration-to-25.0.0.properties
  2. Call the DBmigrate step.

    Warning

    With the migration your customized changes will be lost.
The Java code for /products/variations was refactored.
  • Method ProductResource.getVariations() was removed.
  • Method ProductResource.searchVariations() was removed.
  • Both methods were moved to class VariationResource. VariationResource is now sub-resource of ProductResource.
  • VariationHandler was introduced to resolve variation based data (extracted from ProductResource.)
  • getPageableOfProducts was introduced (extracted from ProductResource.)
  • Add VariationResource to Component Framework and add it as sub-resource to ProductResource.
  • If ProductResource was overwritten in context of variations, make sure to move your custom code to an override of VariationsResource.

API Changes 7.10.21.0

DescriptionAPI ChangesHow to Migrate

The SSO implementation now supports Azure AD besides Keycloak.

For more information see Concept - Single Sign-On (SSO) and Cookbook - Single Sign-On (SSO).

  1. New cartridges ac_oidc*
  2. Removed cartridges ac_keycloak*
  1. Replace the configuration property keys intershop.authentication.<organizationKey>.<identityProviderKey>* by intershop.authentication.identityprovider.<identityProviderKey>*
  2. Replace type value keycloak by oidc

Note

Sessions persisted using the Keycloak-specific implementation will be logged out.

API Changes 7.10.20.1

DescriptionAPI ChangesHow to Migrate
renderTemplate is now optional in Pagelet ModelsPagelet Models without renderTemplate are valid now. However, if used in an ISML-based storefront, a renderTemplate is still required.

API Changes 7.10.19.3

DescriptionAPI ChangesHow to Migrate

On MSSQL the stored procedure sp_deleteUserDataByDomain runs forever, if there is data that needs to be deleted in the tables BASICPROFILE/BASICADDRESS related to the deleted DOMAINIDs.

The stored precedure was modified, it is not an API change.

However, you have to update to the new API version

Execute DBMigrate

API Changes 7.10.19.2

DescriptionAPI ChangesHow to Migrate
New /productfilters endpoint for filter navigation This will replace the /filters endpoint which now is deprecated.

The Pipeline "ProcessOrders.pipeline" from bc_orderprocess was originally overwritten in "app_sf_responsive_b2b" (only B2B) in order to add an extension point at the end of the pipeline branch "AfterCheckoutProcessing". This pipeline extension point which was only available for B2B was called "ProcessOrders-AfterCheckout".

The overwritten pipeline ProcessOrders.pipeline includes the former extension point ProcessOrders-AfterCheckout has been removed. Instead the original pipeline in bc_orderprocess now contains a new pipeline extension point at the end of the pipeline branch AfterCheckoutProcessing which is called ProcessOrders-AfterCheckoutProcessingEnd.


API Changes 7.10.18.1

DescriptionAPI ChangesHow to Migrate
Changed default-persistence for bot sessions.The default-value for the property intershop.session.persistBotSession is now false.

Most likely, the bot-session should not be persisted. In that case, nothing is to be done.







If the bot-session should be persisted, the property has to be declared with the value true.

Update JGroups libs to version 4.2.0

(IS-29459)

common-messaging updated to 1.0.3No manual deployment. Redeploy server only.

Added extra logging to common-messaging

(IS-29459)

NoneEnable TRACE log level for package or class 'com.intershop.beehive.messaging.internal.jgroups.ChannelViewMonitor' . This logs all changes of the members of a messaging channel to the debug log for JGroups.

Extra configuration options added to the JGroups FILE_PING configuration to remove old .list files

(IS-29459)

NoneCheck the provided configuration file and move the changes to a custom file if you have adapted the JGroups configuration.

SSO for SMC. For more information see Concept - Single Sign-On (SSO) and Cookbook - Single Sign-On (SSO).

(IS-28733, IS-29700)

new persistent object com.intershop.beehive.core.internal.profile.IdentityProviderMappingPO and new tables identityprovidermap*.Execute dbmigrate OR dbprepare.
New basket validation for addressesTo detect changes of a referenced address which may cause a change in the tax jurisdiction a new validation handler was added. In case the validation was called while allowing adjustments, the address is updated and the calculation set to invalid. When the automatic correction is prohibitted an error message is returned.

The response of the REST request for validating the basket may contain an info message. The REST client has to decide on the current context if the info has to be shown or not. In other words on the address page such changes are intended to be done and the message should be suppressed. But if the buyer is, for instance, already on the review page, such a change has to presented to the buyer.

In case automatic adjustments are not allowed and the error basket.validation.address_changed_basket_calculation_invalid.error is returned, the REST client has to trigger a validation for addresses with adjustments allowed and finally a re-calculation to take the address changes into account.

API Changes 7.10.17.0

DescriptionAPI ChangesHow to Migrate
New optional query parameter omitHasOnlineProducts added to REST resource /categories

The omitHasOnlineProducts parameter has been added to the /categories resource. If set to true, the field hasOnlineProducts will not be resolved for:

  • all categories in the category list resource
  • subcategories in the category item resource

This is to improve performances in cases where this field is not needed, as the operation is expensive.

To support this change, the constructor for CategoryRO no longer sets the hasOnlineProducts field using the provided CatalogCategoryBO. In addition, this field is now a Boolean object, so it is set to null when not set.

A migration is only necessary if CategoryRO is created directly. If it is, fetch hasOnlineProducts using CatalogCategoryBO.hasOnlineProducts(Domain) (or another source), and set it using the setter CategoryRO.setHasOnlineProducts(boolean).
New field effectiveUrl added to attachments under the products resource.In order for external resources to be able to access product attachments, the effective url is now included in AttachmentRO.
New query parameter extended added to product resource for variation attribute information

A new optional query parameter extended has been added to the /products/{id} and /products/{id}/variations resources, which will provide more complete information about variation attributes and their values in the new field variationAttributeValuesExtended.


Category endpoint now supports category reference as a category id.

The category endpoint requires the full path to the category in order to resolve a category. This is not always feasible, therefore the category endpoint now also supports using a category reference instead.

This replaces the previous categoryRef query parameter. Format: /categories/<category id or ref>

The category reference for a category can be found in the field categoryRef in CategoryRO.


API Changes 7.10.16.6

DescriptionAPI ChangesHow to Migrate
REST resource POST /contact is now secured by CAPTCHAThe REST resource for sending a "Contact Us" e-mail (POST /contact) is now secured with CAPTCHA authentication.

If this is not wanted, the CAPTCHA authentication for this resource can be toggled off in the channel backoffice via Preferences | CAPTCHAs.

For information on how to integrate CAPTCHA authentication into a REST client, please refer to Cookbook - WebShop REST API.

Removed reCAPTCHA v1 serviceSince the reCAPTCHA v1 service is no longer supported by Google, it has been removed from ICM.Trigger DBMigrate to remove obsolete service configurations.

API Changes 7.10.15.5

DescriptionAPI ChangesHow to Migrate
Adapt default JGroups configuration XMLThis is not an API change but a configuration change:
  • Remove the multi cast flow control protocol (configuration uses uni cast only)
  • Limit the FLUSH timeout to five seconds (instead unlimited)
  • Remove the 'view_bundling' setting (is default 'true')
  • Adapt the 'min_threshold' value to prevent low credits for flow control handling
Merge these changes to your configuration file if you use a custom configuration file. No need to adapt configuration if you use the provided file.

API Changes 7.10.15.2

DescriptionAPI ChangesHow to Migrate
Refactoring of Basket REST API
  • IncludeResolver classes are now optional. If no includes are used for a REST request, then no IncludeResolver needs to be wired via Guice.
  • Classes that previously implemented the ObjectMapper interface now implement the java.util.function.Function interface instead. To unify the usage across the API, several classes which did not implement the ObjectMapper interface but had similar named resolve(...) methods had their methods renamed to apply(...) as well.

Old Name

New Name

com.intershop.sellside.rest.common.v1.capi.include.IncludeResolver.resolve(T, Collection<String>)

com.intershop.sellside.rest.common.v1.capi.include.IncludeResolver.apply(T, Collection<String>)

com.intershop.sellside.rest.common.v1.capi.link.LinkResolver.resolve(T, UriInfo)

com.intershop.sellside.rest.common.v1.capi.link.LinkResolver.apply(T, UriInfo)

com.intershop.sellside.rest.common.v1.capi.link.IncludeLinkObjectMapper.resolve(Map<String, Map<String, Object>>, UriInfo)

com.intershop.sellside.rest.common.v1.capi.link.IncludeLinkFunction.apply(Map<String, Map<String, Object>>, UriInfo)

com.intershop.sellside.rest.common.v1.capi.mapper.BiFunctionCollectionMapper

com.intershop.sellside.rest.common.v1.capi.mapper.CollectionBiFunction

com.intershop.sellside.rest.common.v1.capi.mapper.CollectionObjectMapper

com.intershop.sellside.rest.common.v1.capi.mapper.CollectionFunction

com.intershop.sellside.rest.common.v1.capi.mapper.ExtensibleBiFunction.resolve(S, C)

com.intershop.sellside.rest.common.v1.capi.mapper.ExtensibleBiFunction.createTarget(S, C)

com.intershop.sellside.rest.common.v1.capi.mapper.ExtensibleFunction.resolve(S)

com.intershop.sellside.rest.common.v1.capi.mapper.ExtensibleFunction.createTarget(S)

com.intershop.sellside.rest.common.v1.capi.mapper.ExtensibleObjectMapper

com.intershop.sellside.rest.common.v1.capi.mapper.ExtensibleFunction

com.intershop.sellside.rest.common.v1.capi.mapper.ObjectMapperExtension

com.intershop.sellside.rest.common.v1.capi.mapper.FunctionExtension

com.intershop.sellside.rest.common.v1.capi.mapper.MergeIncludeMapObjectMapper

com.intershop.sellside.rest.common.v1.capi.mapper.MergeIncludeMapFunction


Info

This list only shows the (CAPI) classes where the API has changed and does not include internal classes that have been changed because of this.
  • Removed request factories: Requests are now injected directly into the resource classes without the use of assisted injection via a factory. Parameters that have previously been part of the factory methods have moved to the invoke(...) methods of the requests. As a consequence, the RestRequest interface has also been removed, which means that requests are now addressed directly by the implementation class. To achieve an easier testability of the code, the requests now also use dependency injection via the constructor (instead of field injection).
A migration is only necessary if there is custom code which uses any of the mentioned changed classes directly. If there are already new custom REST resources or requests that still use ObjectMapper or assisted injection, then they should still work fine.
Removed deprecated codeThe deprectated method com.intershop.beehive.core.dbinit.capi.DBInit.prepareCartridge(Cartridge, String) has been removed.Use the method com.intershop.beehive.core.dbinit.capi.DBInit.prepareCartridge(Cartridge) instead as documented already.
Cache /categories callAdded logic for caching /categories call. After this functionality was added, the authentication token is missing from headers because this is the normal behavior. Only uncached calls return an authentication token in the headers.CategoryResource.java and CategoryListResource.java are now cached.
New requestable REST attribute  retailSet  was added to /products

By using the  /products  and  /categories/<catID>/products  REST endpoints, product stubs for display on family pages and search result pages can be retrieved. The optional attrs parameter allows to receive certain product attributes in that call to construct product tiles on said pages.

  • retailSet - shows if products from a list are retail sets or not. Allows to handle retail sets differently in lists (e.g., show a price range, instead of a price), without calling /products/<productID> first.

API Changes 7.10.14.0

DescriptionAPI ChangesHow to Migrate
DBMigrate to create a new Job which removes executed Impex Jobs (IS-27705 - Application servers dies during collecting data for job chain page)-Executing DBMigrate is optional if you do not need the Job.
In an effort to unify REST error codes, some codes for the new basket and order APIs have changed.

The following codes have changed:

Old Code

New Code

AddedToNewLineItem

basket.line_item.add_item_added_to_new_line_item.info

ProductNotAccessible

basket.line_item.update_item_product_not_accessible.error

ProductWithMissingInventory

basket.line_item.update_item_product_with_missing_inventory.error

QuantityUnitMismatch

basket.line_item.update_item_quantity_unit_mismatch.error

QuoteLineItem

basket.line_item.update_item_quote_line_item.error

UnknownReason

basket.line_item.update_item_unknown_reason.error

address.line_item.single_shipment.error

basket.line_item.ship_to_address_not_assignable_for_single_shipment.error

address.wrong_address_type_no_invoice_to_address.error

basket.invoice_to_address_wrong_address_type.error

address.wrong_address_type_no_ship_to_address.error

basket.ship_to_address_wrong_address_type.error

attribute.already_exists.error

attribute.name_already_exists.error

attribute.invalid.error

attribute.type_invalid.error

attribute.name.immutable.error

attribute.name_immutable.error

attribute.name.required.error

attribute.name_required.error

attribute.type.immutable.error

attribute.type_immutable.error

attribute.type.required.error

attribute.type_required.error

attribute.update.error

attribute.update_not_successful.error

attribute.value.required.error

attribute.value_required.error

basket.add_line_item_not_successful.error.cause.GiftCertificateAddressCreationFailed

basket.line_item.add_item_gift_certificate_address_creation_failed.error

basket.add_line_item_not_successful.error.cause.GiftCertificateInvalidShipToAddress

basket.line_item.add_item_gift_certificate_invalid_ship_to_address.error

basket.add_line_item_not_successful.error.cause.MaxItemQuantityExceeded

basket.line_item.add_item_max_item_quantity_exceeded.error

basket.add_line_item_not_successful.error.cause.MaxItemSizeExceeded

basket.line_item.add_item_max_item_size_exceeded.error

basket.add_line_item_not_successful.error.cause.MissingOnlineGiftCertificateInformation

basket.line_item.add_item_missing_online_gift_certificate_information.error

basket.add_line_item_not_successful.error.cause.NegativeQuantity

basket.line_item.add_item_negative_quantity.error

basket.add_line_item_not_successful.error.cause.ProductAlreadyInBasket

basket.line_item.add_item_product_already_in_basket.error

basket.add_line_item_not_successful.error.cause.ProductIsARetailSet

basket.line_item.add_item_product_is_a_retail_set.error

basket.add_line_item_not_successful.error.cause.ProductIsDependent

basket.line_item.add_item_product_is_dependent.error

basket.add_line_item_not_successful.error.cause.ProductNeedsQuotation

basket.line_item.add_item_product_needs_quotation.error

basket.add_line_item_not_successful.error.cause.ProductNoPrice

basket.line_item.add_item_product_no_price.error

basket.add_line_item_not_successful.error.cause.ProductNoTaxClass

basket.line_item.add_item_product_no_tax_class.error

basket.add_line_item_not_successful.error.cause.ProductNotAccessible

basket.line_item.add_item_product_not_accessible.error

basket.add_line_item_not_successful.error.cause.ProductOutOfLifeCycle

basket.line_item.add_item_product_out_of_life_cycle.error

basket.add_line_item_not_successful.error.cause.ProductWithMissingInventory

basket.line_item.add_item_product_with_missing_inventory.error

basket.add_line_item_not_successful.error.cause.QuantityUnitMismatch

basket.line_item.add_item_quantity_unit_mismatch.error

basket.add_line_item_not_successful.error.cause.UnknownReason

basket.line_item.add_item_unknown_reason.error

basket.add_line_item_not_successful.error.cause.WrongProductTypeVariationMaster

basket.line_item.add_item_wrong_product_type_variation_master.error

basket.address.creation.error.cause.DuplicateAddress

basket.address.create_address_duplicate_address.error

basket.address.creation.error.cause.ValidationError

basket.address.create_address_validation_error.error

basket.address.creation.error.cause.usage

basket.address.create_address_inconsistent_usage_flags.error

basket.address.creation.error.cause.usage

basket.address.update_address_inconsistent_usage_flags.error

basket.address.deletion.error.cause.LastAddress

basket.address.delete_address_last_address.error

basket.address.update.error

basket.address.update_not_successful.error

basket.address.update_not_successful.error.cause.AddressNotUpdatable

basket.address.update_address_address_not_updatable.error

basket.address.update_not_successful.error.cause.DuplicateAddress

basket.address.update_address_duplicate_address.error

basket.address.update_not_successful.error.cause.ValidationError

basket.address.update_address_validation_error.error

basket.line_item.add.error

basket.add_line_item_not_successful.error

basket.line_item.add.info

basket.add_line_item_not_successful.info

basket.line_item.adjustment.cause.AddedToExistingLineItem

basket.line_item.add_item_added_to_existing_line_item.info

basket.line_item.adjustment.cause.AddedToExistingLineItemWithAdjustedQuantity

basket.line_item.add_item_added_to_existing_line_item_with_adjusted_quantity.info

basket.line_item.adjustment.cause.AddedToNewLineItemWithAdjustedQuantity

basket.line_item.add_item_added_to_new_line_item_with_adjusted_quantity.info

basket.line_item.adjustment.cause.MaxItemQuantityExceeded

basket.line_item.update_item_max_item_quantity_exceeded.info

basket.line_item.adjustment.cause.MinItemQuantityExceeded

basket.line_item.update_item_min_item_quantity_exceeded.info

basket.line_item.adjustment.cause.QuantityUpdatedInsufficientInventory

basket.line_item.update_item_quantity_updated_insufficient_inventory.info

basket.line_item.created.info

basket.line_item.creation.info

basket.line_item.merged.info

basket.line_item.merge.info

basket.line_item.update.error

basket.line_item.update_not_successful.error

basket.line_item.update_not_successful.error.cause.ProductAlreadyInBasket

basket.line_item.update_item_product_already_in_basket.error

basket.line_item.update_not_successful.error.cause.ProductIsARetailSet

basket.line_item.update_item_product_is_a_retail_set.error

basket.line_item.update_not_successful.error.cause.ProductIsDependent

basket.line_item.update_item_product_is_dependent.error

basket.line_item.update_not_successful.error.cause.ProductNoPrice

basket.line_item.update_item_product_no_price.error

basket.line_item.update_not_successful.error.cause.ProductNoTaxClass

basket.line_item.update_item_product_no_tax_class.error

basket.line_item.update_not_successful.error.cause.ProductNotAccessible

basket.line_item.update_item_product_not_accessible.error

basket.line_item.update_not_successful.error.cause.QuantityUnitMismatch

basket.line_item.update_item_quantity_unit_mismatch.error

basket.line_item.update_not_successful.error.cause.UnknownReason

basket.line_item.update_item_unknown_reason.error

basket.line_item.update_not_successful.error.cause.WrongProductTypeVariationMaster

basket.line_item.update_item_wrong_product_type_variation_master.error

basket.locked_for_ordercreation.error

basket.locked_for_order_creation.error

basket.payment.update.error

basket.payment.update_not_successful.error

basket.promotioncode.add_not_successful.error (NoPromotionApplicable)

basket.promotion_code.add_code_no_promotion_applicable.error

basket.promotioncode.add_not_successful.error (NumberOfApplicablePromotionCodesReached)

basket.promotion_code.add_code_number_of_applicable_promotion_codes_reached.error

basket.promotioncode.add_not_successful.error (PromotionCodeAlreadyInBasket)

basket.promotion_code.add_code_promotion_code_already_in_basket.error

basket.promotioncode.add_not_successful.error (PromotionCodeAlreadyRedeemed)

basket.promotion_code.add_code_promotion_code_already_redeemed.error

basket.promotioncode.add_not_successful.error (PromotionCodeEmpty)

basket.promotion_code.add_code_promotion_code_empty.error

basket.promotioncode.add_not_successful.error (PromotionCodeMaxLength)

basket.promotion_code.add_code_promotion_code_max_length.error

basket.promotioncode.add_not_successful.error (PromotionCodeNotAccessible)

basket.promotion_code.add_code_promotion_code_not_accessible.error

basket.promotioncode.add_not_successful.error (PromotionCodeNotActive)

basket.promotion_code.add_code_promotion_code_not_active.error

basket.promotioncode.add_not_successful.error (PromotionCodeNotFound)

basket.promotion_code.add_code_promotion_code_not_found.error

basket.promotioncode.adding.error

basket.promotion_code.add_not_successful.error

basket.promotioncode.not_found.error

basket.promotion_code.not_found.error

basket.update.error

basket.update_not_successful.error

cost_center.cost_center_not_found.error

cost_center.not_found.error

order.basket_not_found.error

order.basket.not_found.error

order.gone.error

order.order_no_longer_available.error

order.payment.update.error

order.payment.update_not_successful.error

order.search_parameter_included_status_code.invalid.error

order.search_parameter_included_status_code_invalid.error

order.search_parameter_limit.invalid.error

order.search_parameter_limit_invalid.error

order.search_parameters.invalid.error

order.search_parameters_invalid.error

parameter.invalid.error

parameter.parameter_invalid.error

payment.creation.error

basket.payment.creation.error

payment.deletion.info

basket.payment.deletion.info

payment.not_found.error

basket.payment.not_found.error

payment.payment_instrument.deletion.info

basket.payment_instrument.deletion.info

payment.payment_instrument_is_null.error

basket.payment.payment_instrument_is_null.error

payment.payment_instrument_not_applicable.error

basket.payment.payment_instrument_not_applicable.error

payment.payment_instrument_not_found.error

basket.payment.payment_instrument_not_found.error

shipping_bucket.could_not_update.error

basket.shipping_bucket.update_not_successful.error

shipping_bucket.not_found.error

basket.shipping_bucket.not_found.error

shipping_bucket.not_found.error

basket.shipping_bucket.not_found.error

shipping_bucket.shipping_method_not_eligible.error

basket.shipping_bucket.shipping_method_not_eligible.error

shipping_bucket.update.info

basket.shipping_bucket.update.info

The following codes have been added:

  • basket.line_item.add_item_max_item_quantity_exceeded.info
  • basket.line_item.add_item_min_item_quantity_exceeded.info
  • basket.line_item.add_item_quantity_updated_insufficient_inventory.info
If custom code relies on these error codes, it needs to be adapted. Note that both the basket and the order REST API are still in a beta state, so there may occur similar changes in the near future until finalized.

API Changes 7.10.13.4

DescriptionAPI ChangesHow to Migrate
Some basket validation errors have been changed/added/removed.

Changed/split up into multiple:

  • PromotionInvalid → BasketPromotionInvalid, LineItemPromotionInvalid
  • ShippingMethodInvalid → CommonShippingMethodInvalid, LineItemShippingMethodInvalid
  • ShippingMethodMissing  → CommonShippingMethodMissing, LineItemShippingMethodMissing
  • ShippingMethodWasSet → CommonShippingMethodWasSet, LineItemShippingMethodWasSet
  • ShippingRestrictions → LineItemShippingRestrictions
  • ShipToAddressMissing → CommonShipToAddressMissing, LineItemShipToAddressMissing
  • ShipToAddressWasSet → CommonShipToAddressWasSet, LineItemShipToAddressWasSet

Added:

  • TotalQuantityExceeded

Removed:

  • TermsAndConditionsError (this has been moved and is now an error that occurs during order creation)

If there is custom code that specifically targets those error codes, it needs to be adapted to the new codes.

In case you are still using the pipeline based order creation process, you have to re-register the TermsAndConditionsValidatorHandler to the basket validation. Therefor you have to provide a custom replacement for the deleted extension file (BasketValidationTermsAndConditionsHandler.extension).

Support for Prometheus Open Metrics
  • Added Cartridge ac_prometheus
  • In case you want to use the Prometheus Metrics, you will find them at each appserver at 'http://<appserver-host>:<port>/metrics'.
  • You can disable the Prometheus monitoring support with the property 'intershop.metrics.prometheus.enabled = false'.
Foreign key definition for IMAGE objects are moved from bc_foundation to bc_image (IS-27551)The assignment of the IMAGE related tables was already moved from bc_foundation to bc_image with IS-26184. The foreign key definitions was not moved with the change. This is fixed now.Run DBMigrate
Updated some test libraries dependencies and versions
  • Updated Selenium libraries from 2.47.2(Sep 2015) to 3.141.59(Nov 2018) version
    • In the new Selenium version support for PhantomJSDriver has been dropped.
  • Removed PhantomJSDriver related libraries from the dependencies.
  • Added new librabries for ParameterizedTest and Mockito extension for jupiter(JUnit5) to the dependencies.
  • Default webdriver for execution of Geb tests changed from PhantomJs to geckoDriver, allowing to execute Geb tests using real Firefox browser in a headless mode

In case your project uses a custom assembly adapt the following Gradle files:

  • build.gradle
    • Remove dependencies to phantomjsdriver and webDrivers in Geb configuration
    • Add dependency to selenium-firefox-driver and support for geckoDriver in webDrivers in Geb Configuration
    • Set default webdriver for execution of Geb tests to be geckoDriver
  • src/remoteTest/resources/GebConfig.groovy
    • Remove import of phantomjsdriver classes and support for PhantomJsDriver in Geb environments
    • Add import of selenium.firefox classes and support for geckoDriver in Geb environments

In case your project runs Geb tests ensure Firefox browser is installed on the machine where Geb tests are executed.

For more details and examples see Guide - 7.10.13.4 Update Assembly Geb Configuration.

New field "orderCreationReentryChain" at OrderPOA new field "orderCreationReentryChain" has been added to the persistent object for orders (OrderPO). This field contains information where the order creation process has been stopped (e. g. if a payment redirect is required). To get the new column in the database, a DBMigrate is needed.Run DBMigrate

API Changes 7.10.12.3

DescriptionAPI ChangeHow to Migrate
New order creation handlerMoved functionality to generate the requisition document number from the "ApprovalOrderCreationHandler" to a new order creation handler "RequisitionDocumentNumberOrderCreationHandler" (cartridge "bc_order_approval_orm", position 25 in "PreOrderCreationChain").If there is a custom handler at position 25 in the "PreOrderCreationChain" then this handler needs to be moved elsewhere.
SSH passphrase invalidation for log transfer to reporting service

A fix regarding the passphrase of the SSH keys was made. The old passphrases are not longer valid. The error log contains an entry as shown in the following example:

ERROR com.intershop.beehive.report.internal.SSHTransfererJSch
Could not connect (and open a session) with config SFTPConfig 
[user=xxx, host=upload.insight.intershop.com, passPhrase=***********************] 
com.jcraft.jsch.JSchException: invalid privatekey
Regenerate the key pair and send the new public key to the consumer of the effected transfer (mostly support@intershop.com).

API Changes 7.10.12.2

DescriptionAPI ChangeHow to Migrate
Reworked text index creation for MS SQLThe definition of indexed columns is changed from a predefined query to a list of columns.See  Guide - SQL Server Text Indexes
DBMigrate on MS SQL to update procedure sp_compile_invalid_objectsThe procedure compiles objects which are part of the current schema only.Rund DBMigrate on MS SQL
Option to disable CSS file compressionThe used YUICompressor component to strip unsued characters from CSS files is not updated for some time. This can cause problems with recent CSS features. A property "intershop.css.compress.enabled" is added to disable (false) the CSS processing. The CSS will be send to the client without modifications. The Apache content compression (mod_deflate) can limit the data amount to transfer. This is added to all versions 7.6-7.10)See ISML Tag - ISRENDER
Override configuration by environment variablesIt is possible to override configuration settings by environment variables.See Concept - Configuration (7.10.12 to 7.10.41-LTS), section System properties
Update JGroups configuration for faster startup (IS-27260 - Slow startup of appserver after JGroups4 update)The server startup was slower if old '.list' files was part of the 'share/system/jgroups/*' directories. The messaging tried to contact the server instances registered in these files. This was not possible because these instances was stopped. It took around 5 minutes per file till the JGroups gave up.
Now the retry configuration is changes to 5 tries with 1 second wait time. Old files are ignored if the servers defined in the file are not available. Please recheck the directory for old files from time to time as the files are not removed automatically and the startup delay can increase.
A Java VM shutdown hook is added to stop the messenger instance if the VM does not stop with a shutdown to prevent remaining files. This does not work if the hook can not be triggered (kill -9).

The default configuration file is updated with the settings. Please adjust you configuration file if you deploy a custom version.

jgroups_udp.xml
    <pbcast.GMS print_local_addr="true"
                join_timeout="1000"
                max_join_attempts="5"
                view_bundling="true"/>
Creating text indexes using SQL ServerThe creation of text indexes is now separated into specialized preparers for Oracle and SQL Server. The configuration of Oracle Context indexes is untouched. But the configuration of SQL Server Fulltext indexes is completely reworked.See Guide - SQL Server Text Indexes
REST documentation updated from Swagger to OpenAPIThe REST API documentation is changed from Swagger annotations to OpenAPI annotations.
Storing of Promotion Information at OrdersThe order creation process has been adapted to store the relevant information of all used promotions directly at the order.See Guide - 7.10.12.2 Storing of Promotion Information at Orders

API Changes 7.10.10.1

DescriptionAPI ChangeHow to Migrate
DBMigrate for MSSQLStagingGroups "FND_ImageReferences" and "FND_ImageDefinitions" moved to bc_imageRun dbmigrate after deploy new version.
DBMigrate for MSSQLUpdated the Stored Procedure "STAGING_DDL$copy_indexes" for MSSQL to handle also XML indexesRun dbmigrate after deploy new version.

API Changes 7.10.10.0

DescriptionAPI ChangeHow to Migrate
Rest Extension for productsAdding extension to show the default category

API Changes 7.10.9.0

DescriptionAPI ChangeHow to Migrate

JGroups messaging version updated to version 4.

The JGroups based messaging implementation uses the latest JGroups 4 version now.The update installs a new 'jgroups_udp.xml' matching the changed JGroups 4 configuration. Please review and change the file if you manually made modifications for the former JGroups version!
DBmigrate for MSSQLUpdated the stored procedure "sp_gather_table_stats" for MSSQL to prevent a data type issueRun dbmigrate after deploy new version.

Pipelines "ProcessBasketCalculation" and  "ProcessCartCalculation" no longer remove invalid PaymentBOs.

The basket calculation pipelines "ProcessBasketCalculation" and "ProcessCartCalculation" no longer check if the selected payment methods are still valid after the calculation. There are basket validation handlers which perform the same checks, which is why it has been removed from the calculation.If the basket calculation is triggered in custom (non-standard) code artifacts, then it may be necessary to trigger a basket validation for scope "Payment" afterwards (only if needed).
New requestable REST attribute  packingUnit  was addedBy using the  /products  and  /categories/<catID>/products  REST endpoints, product stubs for display on family pages and search result pages can be retrieved. The optional  attrs  parameter allows to receive certain product attributes in that call to construct product tiles on said pages.

API Changes 7.10.8.1

DescriptionAPI ChangeHow to Migrate
Changes in interface TransportConfigurationThe interface com.intershop.component.transport.capi.config.TransportConfiguration now extends ExtensibleObject.

API Changes 7.10.7.3

DescriptionAPI ChangeHow to Migrate
Changes in User RO classes




com.intershop.sellside.rest.common.capi.resourceobject.UserRO has a new public method:

Date getBirthdayDate()


com.intershop.sellside.rest.smb.capi.resourceobject.SMBCustomerUserRO has 4 new public methods:

String getPreferredInvoiceToAddressUrn()

void setPreferredInvoiceToAddressUrn(String)

String getPreferredShipToAddressUrn()

void setPreferredShipToAddressUrn(String)


New classes in app_sf_rest_smb cartridge:

com.intershop.sellside.rest.smb.capi.resourceobject.SMBCustomerUserROCollection

com.intershop.sellside.rest.smb.capi.resourceobject.UserLinkRO

com.intershop.sellside.rest.smb.capi.resourceobject.UserLinkROCollection


New methods in SMBCustomerUserROValidator, SMBCustomerUserROOperator,  SMBCustomerUserHandler and CustomerBOGroupCustomerExtension interfaces

com.intershop.sellside.rest.smb.capi.resource.user.validator.SMBCustomerUserROValidator interface has a new method:

void validateCreation(List<SMBCustomerUserRO>, UserBORepository)

com.intershop.sellside.rest.smb.capi.resource.user.operator.SMBCustomerUserROOperator interface has a new method:

UserBO createUserBO(SMBCustomerUserRO, CustomerBO)

com.intershop.sellside.rest.smb.capi.resource.handler.SMBCustomerUserHandler interface is extended with 3 new methods:

void deleteUser(UserBO)

Collection<UserBO> addUsers(CustomerBO, List<SMBCustomerUserRO>)

Collection<UserBO> getUsers(UserBO, CustomerBO, CustomerSearchContext)

com.intershop.component.customer.capi.CustomerBOGroupCustomerExtension has a new method:

CustomerUserCreationResult createUser(CustomerUserCreationContext context)

Default implementation provided, no action needed.

New interfaces and classes in bc_customer cartridge

The following capi interfaces were introduced in bc_customer cartridge:

com.intershop.component.customer.capi.CustomerSearchContext

com.intershop.component.customer.capi.handlerchain.user.CustomerUserCreationContext

com.intershop.component.customer.capi.handlerchain.user.CustomerUserCreationResult

The following capi class was introduced in bc_customer cartridge:

com.intershop.component.customer.capi.handlerchain.impl.user.CustomerUserCreationResultImpl


JUnit 5 is introduced.
With a testrunner, a test can be exec​_uted as JUnit 5 Test
The JUnit 5 Interfaces beforeEach(...) and afterEach(...) are now implemented by the AbstractAllCartridgesAwareRule and the EmbeddedServerRule.

Any cartridge that uses Rule which is the EmbeddedServerRule or the AbstractAllCartridgesAwareRule or do extend on of this rules has a test-dependency to JUnit 5.
The build.gradle should therefore include in the test-dependencies:

compile 'org.junit.jupiter:junit-jupiter'
compile 'org.junit.jupiter:junit-jupiter-api'
compile 'org.junit.vintage:junit-vintage-engine'
compile 'org.junit.platform:junit-platform-runner'
MS SQL JDBC 7.2.1To access the ms-sql-database, the version 7.2.1 for java 8 is used.Everything should work fine with the new version of the driver.
If workarounds for bug in previous versions where used, it can be checked if this workarounds now can be removed.
Logback-UpdateThe com.intershop.beehive.core.capi.log.CSVEncoder is changed since it's superclass has changed too.Generally, the CSVEncoder should not be overwritten. In exceptional cases, it is to check if the overwritten methods are still generating the expected behavior.
DBMigrate with platform version 18.0.x and 19.0.x
The DBMigrate run(s) are necessary for MSSQL only. Some stored procedures are adapted. The Oracle database is not changed.

API Changes 7.10.6.0

DescriptionAPI changeHow to migrate



API Changes 7.10.5.4

DescriptionAPI changeHow to migrate
New requestable REST attribute availableStock  was added

It was added in REST response for all  /products  and / product  calls. It contains the quantity which is available for sale. The data comes from the Inventory Service.


API Changes 7.10.5.3

DescriptionAPI changeHow to migrate
SearchQuery of search query definition and searchquerydefinition.xsd has changed

Search query definitions can now include placeholders that are resolved at runtime. Therefore the searchquerydefinition.xsd was extended and the SearchQuery class has new methods:

com.intershop.component.search.capi.querydefinition.impl.SearchQuery
public List<ParameterBinding> getParameterBindings()

public void setParameterBindings(List<ParameterBinding> bindings)

public List<ParameterBinding> getAvailableParameterBindings()

The fallback_searchquerydefinition product filter (search query definition) that is used by default for category navigation is used for search and search suggest queries as well.

For more information about this feature refer to:

Old product filter import files work without migration. The new parameter-bindings element in the searchquerydefinition schema is optional.

If your 'fallback_searchquerydefinition' product filter defines conditions or sortings that should not apply to search and search suggest queries, do the following:

  1. Create a new navigation query definition that define the settings from fallback_searchquerydefinition (Import/Export product filter)
  2. Update CMS View Contexts for category/family pages to use the new navigation query definition.
  3. Update fallback_searchquerydefinition to include only the conditions and sortings that should apply to search.
New requestable REST attributes  minOrderQuantity  and  inStock  were added. By using the  /products  and  /categories/<catID>/products  REST endpoints, product stubs for display on family pages and search result pages can be retrieved. The optional attrs parameter allows to receive certain product attributes in that call to construct product tiles on said pages.
  • minOrderQuantity  - can be used to add products to carts and quotes
  • inStock  - can be used to effectively render the family page in the list view

Now attribute groups on channel level get an  available via REST API  flag. A new checkbox and a new custom attribute are added for every attribute groupAvailableViaREST  with the values  true/false.  If an attribute group is  available via REST API , then the group and all contained attributes will be included in the regular  get product data  call. A new parameter  attributeGroups  is introduced. It returns the requested attribute groups with all their attributes. For the import/export process an additional attribute  <available-via-rest>  was added to the impex XML file. For attribute groups on organization level the value is always  false.

API Changes 7.10.5.0

DescriptionAPI changeHow to migrate
The BORules, which are used in the '_test'-cartridges were removed from the API.The BORules (extends BusinessObjectTestRule) and their Builders were moved from the 'capi' packages, because they don't belong the official API of IS7. These rules remain in their original test cartridge, but their package was adapted. Therefore classes, which are using these rules must be adapted

If the project use these BORules, the imports have to be adapted:

  1. remove the 'tests.unit.' sub-package
  2. replace the 'capi.' sub-package by 'test.'

E.g.

Moved Rules
- import tests.unit.com.intershop.component.order.capi.OrderBORule;
+ import com.intershop.component.order.test.OrderBORule;

API Changes 7.10.3.1

DescriptionAPI changeHow to migrate
Changes in the staging processors

The internal API of staging processors has changed.

FullDomainSpecificStagingProcessor$TableSizeComparator the inner-class compares StagingTasks instead of ReplicationTasks now.

DifferentialStagingProcessor the class is removed.

FullStagingProcessor

  • Instead of the parameterless constructor, the method initStatements() is overwritten.
  • Methods that use collections as parameter or return value are returning parameterized collections.
  • Some protected methods are partly removed, some are also added.

FullStagingProcessor$ContextIndexCreationMode the enumeration is removed.

AppendDomainSpecificStagingProcessor

  • Methods that use collections as parameter or return value are returning parameterized collections.
  • Some protected methods are removed.

DatabaseStagingProcessor the method initStatements() is overwritten with an empty implementation.

TableReplicator the deprecated methods are removed.

ForeignKey the return-value Vector is replaced with a List<String>

StagingEntityMgr the deprecated method getForeignKey(...) is removed from the interface.

Generally, the touched classes are for internal use only.
The interfaces of the search-expressions are extended

There is a new interface with a method that was in the parent interface before and a new method with a default-implementation.

SearchExpressionExactPhrase, SearchExpressionExclusionPhrase, SearchExpressionFuzzyPhrase the method getValue() is (re)moved.

SearchExpressionPhrase the method public String getXPathSnippet() was added.

SearchExpressionValuePhrase the new interface contains the method getValue() and has a default-implementation for getXPathSnippet().

SearchExpressionImpl, SearchExpressionWildCardImpl the method getXPathSnippet() was implemented.

Since there are default-implementations, no migration should be necessary.
The decorator-constructor removed.The decorator-constructor from the RemoveUnapprovedProductsDecorator was removed.The method setDecorator(...) can be called manually.
Cartridge renaming

The cartridge in com.intershop.business:ac_webhook_inventory was renamed to com.intershop.business:ac_inventory_service

Replace dependency declaration in build.gradle files in case ac_webhook_inventory is used.
Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.