diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/axonivy-intellix-connector/.settings/ch.ivyteam.ivy.designer.prefs b/axonivy-intellix-connector/.settings/ch.ivyteam.ivy.designer.prefs index f16faf6..2caf015 100644 --- a/axonivy-intellix-connector/.settings/ch.ivyteam.ivy.designer.prefs +++ b/axonivy-intellix-connector/.settings/ch.ivyteam.ivy.designer.prefs @@ -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 \ No newline at end of file diff --git a/axonivy-intellix-connector/.settings/org.eclipse.core.resources.prefs b/axonivy-intellix-connector/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/axonivy-intellix-connector/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/axonivy-intellix-connector/config/variables.yaml b/axonivy-intellix-connector/config/variables.yaml index 6824ccf..99878c6 100644 --- a/axonivy-intellix-connector/config/variables.yaml +++ b/axonivy-intellix-connector/config/variables.yaml @@ -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 diff --git a/axonivy-intellix-connector/pom.xml b/axonivy-intellix-connector/pom.xml index e382ef2..1413d9b 100644 --- a/axonivy-intellix-connector/pom.xml +++ b/axonivy-intellix-connector/pom.xml @@ -7,6 +7,7 @@ iar 12.0.0 + UTF-8 diff --git a/axonivy-intellix-connector/src/com/axonivy/connector/intellix/connector/IntellixAuthFeature.java b/axonivy-intellix-connector/src/com/axonivy/connector/intellix/connector/IntellixAuthFeature.java index c6c21e4..1ef515b 100644 --- a/axonivy-intellix-connector/src/com/axonivy/connector/intellix/connector/IntellixAuthFeature.java +++ b/axonivy-intellix-connector/src/com/axonivy/connector/intellix/connector/IntellixAuthFeature.java @@ -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 cookies; + @SuppressWarnings("unused") + private final Map cookies; private DocuWareCookies(Map cookies) { diff --git a/axonivy-intellix-demo/.settings/ch.ivyteam.ivy.designer.prefs b/axonivy-intellix-demo/.settings/ch.ivyteam.ivy.designer.prefs index 089c1f4..cd7de4b 100644 --- a/axonivy-intellix-demo/.settings/ch.ivyteam.ivy.designer.prefs +++ b/axonivy-intellix-demo/.settings/ch.ivyteam.ivy.designer.prefs @@ -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 \ No newline at end of file diff --git a/axonivy-intellix-demo/.settings/org.eclipse.core.resources.prefs b/axonivy-intellix-demo/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/axonivy-intellix-demo/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/axonivy-intellix-demo/pom.xml b/axonivy-intellix-demo/pom.xml index 7b0e0f1..c22d2cb 100644 --- a/axonivy-intellix-demo/pom.xml +++ b/axonivy-intellix-demo/pom.xml @@ -7,6 +7,7 @@ iar 12.0.0 + UTF-8 diff --git a/axonivy-intellix-product/.settings/org.eclipse.core.resources.prefs b/axonivy-intellix-product/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/axonivy-intellix-product/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/axonivy-intellix-test/.settings/org.eclipse.core.resources.prefs b/axonivy-intellix-test/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/axonivy-intellix-test/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/axonivy-intellix-test/pom.xml b/axonivy-intellix-test/pom.xml index c7de711..0cdae54 100644 --- a/axonivy-intellix-test/pom.xml +++ b/axonivy-intellix-test/pom.xml @@ -7,6 +7,7 @@ iar 12.0.0 + UTF-8 12.0.1 diff --git a/axonivy-intellix-test/src_test/com/axonivy/connector/intellix/IntellixProcessTest.java b/axonivy-intellix-test/src_test/com/axonivy/connector/intellix/IntellixProcessTest.java index 633a9b7..905472c 100644 --- a/axonivy-intellix-test/src_test/com/axonivy/connector/intellix/IntellixProcessTest.java +++ b/axonivy-intellix-test/src_test/com/axonivy/connector/intellix/IntellixProcessTest.java @@ -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; @@ -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