Skip to content

Commit

Permalink
update default encoding set, primeface version & deprecated test api
Browse files Browse the repository at this point in the history
  • Loading branch information
ntqdinh-axonivy committed Dec 26, 2024
1 parent bfd82db commit a772ba3
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.intellix
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=13
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001
eclipse.preferences.version=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
8 changes: 4 additions & 4 deletions axonivy-intellix-connector/config/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# == Variables ==
Variables:
intellix-connector:
host:
username:
host: ''
username: ''
# [password]
password:
msName:
password: ''
msName: ''

# The Logon URL will be automatically determined.
# If this variable is set (not-empty), this URL
Expand Down
1 change: 1 addition & 0 deletions axonivy-intellix-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<packaging>iar</packaging>
<properties>
<project.build.plugin.version>12.0.0</project.build.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<pluginRepositories>
<pluginRepository>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ public static class DocuWareCookies {
public static final String DW_COOKIES_CACHE_ID = "cookies";
public static final String DW_COOKIES_CACHE_GROUP_ID = "com.docuware.cookies";
public static final int DW_COOKIES_EXPIRY_SECONDS = 86400;
private final Map<String, NewCookie> cookies;
@SuppressWarnings("unused")
private final Map<String, NewCookie> cookies;


private DocuWareCookies(Map<String, NewCookie> cookies) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.intellix.demo
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=13
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001
eclipse.preferences.version=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
1 change: 1 addition & 0 deletions axonivy-intellix-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<packaging>iar</packaging>
<properties>
<project.build.plugin.version>12.0.0</project.build.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<pluginRepositories>
<pluginRepository>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
1 change: 1 addition & 0 deletions axonivy-intellix-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<packaging>iar</packaging>
<properties>
<project.build.plugin.version>12.0.0</project.build.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tester.version>12.0.1</tester.version>
</properties>
<pluginRepositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest;
import ch.ivyteam.ivy.rest.client.RestClient;
import ch.ivyteam.ivy.rest.client.RestClient.Builder;
import ch.ivyteam.ivy.rest.client.RestClientFeature;
import ch.ivyteam.ivy.rest.client.RestClients;
import ch.ivyteam.ivy.rest.client.security.CsrfHeaderFeature;

Expand Down Expand Up @@ -53,11 +54,11 @@ private static void setupMockRestClient(IApplication app) {
.description(restClient.description())
.properties(restClient.properties());

for (String feature : restClient.features()) {
if (feature.contains(IntellixAuthFeature.class.getName())) {
for (RestClientFeature feature : restClient.features()) {
if (feature.clazz().contains(IntellixAuthFeature.class.getName())) {
continue; // do not auth
}
builder.feature(feature);
builder.feature(feature.clazz());
}
builder.feature(CsrfHeaderFeature.class.getName()); // call backend

Expand Down

0 comments on commit a772ba3

Please sign in to comment.