Skip to content

Commit

Permalink
Update default encoding set, primeface version, remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
ntqdinh-axonivy committed Dec 24, 2024
1 parent 59d2180 commit 8568670
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 16 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,4 +1,4 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.sftp.demo
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
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 sftp-connector-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>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,26 @@
"modifiers" : [ "PERSISTENT" ]
}, {
"name" : "fileToDownload",
"type" : "com.axonivy.connector.sftp.service.SftpClientService.FileData",
"modifiers" : [ "PERSISTENT" ]
"type" : "com.axonivy.connector.sftp.service.SftpClientService.FileData"
}, {
"name" : "isFileUploaded",
"type" : "Boolean",
"modifiers" : [ "PERSISTENT" ]
}, {
"name" : "listRemoteFiles",
"type" : "java.util.List<com.axonivy.connector.sftp.service.SftpClientService.FileData>",
"modifiers" : [ "PERSISTENT" ]
"type" : "java.util.List<com.axonivy.connector.sftp.service.SftpClientService.FileData>"
}, {
"name" : "remoteFileName",
"type" : "String",
"modifiers" : [ "PERSISTENT" ]
}, {
"name" : "streamedContent",
"type" : "org.primefaces.model.StreamedContent",
"modifiers" : [ "PERSISTENT" ]
"type" : "org.primefaces.model.StreamedContent"
}, {
"name" : "toFile",
"type" : "java.io.File",
"modifiers" : [ "PERSISTENT" ]
"type" : "java.io.File"
}, {
"name" : "uploadedFile",
"type" : "org.primefaces.model.file.UploadedFile",
"modifiers" : [ "PERSISTENT" ]
"type" : "org.primefaces.model.file.UploadedFile"
} ]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.sftp.test
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
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 sftp-connector-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>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;

import org.apache.commons.io.FileUtils;
Expand All @@ -18,7 +16,6 @@

import ch.ivyteam.ivy.bpm.engine.client.BpmClient;
import ch.ivyteam.ivy.bpm.engine.client.element.BpmElement;
import ch.ivyteam.ivy.bpm.engine.client.element.BpmProcess;
import ch.ivyteam.ivy.bpm.engine.client.sub.SubProcessCallResult;
import ch.ivyteam.ivy.bpm.exec.client.IvyProcessTest;
import ch.ivyteam.ivy.scripting.objects.File;
Expand Down Expand Up @@ -100,6 +97,7 @@ public void callUploadIvyFile(BpmClient bpmClient) throws IOException {
assertThat(isSuccess).isTrue();
}

@SuppressWarnings("unchecked")
@Test
@Order(4)
public void callListAllFiles(BpmClient bpmClient) {
Expand Down
2 changes: 1 addition & 1 deletion sftp-connector/.settings/ch.ivyteam.ivy.designer.prefs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.connector.sftp
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=13
ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=120001
eclipse.preferences.version=1
2 changes: 2 additions & 0 deletions sftp-connector/.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
1 change: 1 addition & 0 deletions sftp-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>
<dependencies>
<dependency>
Expand Down

0 comments on commit 8568670

Please sign in to comment.