<parent> <groupId>de.gsi.cs.co</groupId> <artifactId>csco-parent-java</artifactId> <version>15.0.0-SNAPSHOT</version> </parent>Note that a 15.0.0 version (without "-SNAPSHOT") to be used in production will not be provided yet, but in the first week of June when the R15 release takes place. Nevertheless, it is vital that you check whether your application still works properly with the new Java / library versions beforehand.
mvn clean compile exec:java
<dependency> <groupId>de.gsi.cs.co.ap.accsoft</groupId> <artifactId>accsoft-security-rba-util-gui-gsi</artifactId> <version>14.1.0-SNAPSHOT</version> </dependency>We switch to using the full RBAC implementation, therefore please use:
<dependency> <groupId>cern.accsoft.security</groupId> <artifactId>rbac-gui-swing</artifactId> <version>5.2.1</version> </dependency>If you get RBAC login pop-ups for some applications you just have to press "Cancel".
Service/Class/Method | How to migrate |
---|---|
Get class design information from parameter: Parameter.getParameterType().getDeviceTypeName() Parameter.getParameterType().getPropertyName() Parameter.getParameterType().getFieldName() |
Parameter.getPropertyField().getDeviceTypeName() Parameter.getPropertyField().getPropertyName() Parameter.getPropertyField().getFieldName() |
Find parameters of certain device-type property fields triplet. parameterService.findParameters( ParametersRequestBuidler.byParameterTypes( parameterTypeNames ) ) It is still possible to search by parameter types, while it is not really correct for the cases when the search actually should be done by device design information. |
When the search should be done by device design infromation: propertyFields = deviceService.findPropertyFields(PropertyFieldsRequest); parameterService.findParameters( ParametersRequestBuidler.byPropertyFields( propertyFields ) ) |
contextService.findCoupledPatterns(patternGroupPatterns); | storageRingModeService.findCoupledPatterns(patternGroupPatterns); |
SuperCycle | deleted |
CommonSettingService.findContextSettings(...) | CommonSettingService.findContextSettings(ContextSettingsRequest) |
SettingFinderGSI.findKnobComponentInterpolation(String opticsTableName, String knobName, String componentName) | OpticFinderGSI.findKnobComponentInterpolation(String opticsTableName, String knobName, String componentName) |
Change | How to migrate |
---|---|
Dependency to org.apache.commons:commons-lang is not provided anymore |
Replace usages of org.apache.commons.lang.StringUtils to org.apache.commons.lang3.StringUtils for example. But after adding the dependency, optimize imports should take care of it. Add dependency to more recent dependency directly if needed (should be provided by lsa-core) <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.8.1</version> <!-- LSA Version, verify if already available by now and use it instead of your own --> </dependency> |
If using Batik for SVG parsing: Some packages (e.g. org.w3c.dom ) may be found twice (in named and unnamed modules). |
Add exclusions to Batik dependency: <dependency> <groupId>org.apache.xmlgraphics</groupId> <artifactId>batik-transcoder</artifactId> <version>1.8</version> <exclusions> <exclusion> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> </exclusion> <exclusion> <groupId>org.apache.xmlgraphics</groupId> <artifactId>batik-ext</artifactId> </exclusion> </exclusions> </dependency> |
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
png | 2020-05-05-DryRun8thTimeline.png | manage | 59 K | 05 May 2020 - 09:16 | RaphaelMueller | Timeline - Activities until DryRun 8th June |