diff --git a/gradle.properties b/gradle.properties index 4607b9b..74b3cbf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,4 +10,4 @@ signing.keyId=FADC1195 signing.password=key_pass signing.secretKeyRingFile=path/to/secret/key -projectVersion=1.2.1 +projectVersion=1.2.2 diff --git a/src/main/kotlin/eu/ibagroup/r2z/DataAPI.kt b/src/main/kotlin/eu/ibagroup/r2z/DataAPI.kt index 012d0e1..11af75a 100644 --- a/src/main/kotlin/eu/ibagroup/r2z/DataAPI.kt +++ b/src/main/kotlin/eu/ibagroup/r2z/DataAPI.kt @@ -29,7 +29,7 @@ interface DataAPI { @Header("Authorization") authorizationToken: String, @Header("X-IBM-Max-Items") xIBMMaxItems: Int = 0, @Header("X-IBM-Lstat") xIBMLstat: Boolean = false, - @Query("path") path: FilePath, + @Query("path") path: String, @Query("depth") depth: Int = 1, @Query("filesys") fileSystem: String? = null, @Query("symlinks") followSymlinks: SymlinkMode? = null, diff --git a/src/main/kotlin/eu/ibagroup/r2z/zowe/client/sdk/zosuss/ZosUssFileList.kt b/src/main/kotlin/eu/ibagroup/r2z/zowe/client/sdk/zosuss/ZosUssFileList.kt index f125aca..98966de 100644 --- a/src/main/kotlin/eu/ibagroup/r2z/zowe/client/sdk/zosuss/ZosUssFileList.kt +++ b/src/main/kotlin/eu/ibagroup/r2z/zowe/client/sdk/zosuss/ZosUssFileList.kt @@ -35,7 +35,7 @@ class ZosUssFileList ( val dataApi = buildApi(url, httpClient) val call = dataApi.listUssPath( authorizationToken = Credentials.basic(connection.user, connection.password), - path = FilePath(filePath), + path = filePath, xIBMMaxItems = params.limit, xIBMLstat = params.lstat, depth = params.depth, diff --git a/src/test/kotlin/eu/ibagroup/r2z/DataAPITest.kt b/src/test/kotlin/eu/ibagroup/r2z/DataAPITest.kt index d872d3d..ca9fdaf 100644 --- a/src/test/kotlin/eu/ibagroup/r2z/DataAPITest.kt +++ b/src/test/kotlin/eu/ibagroup/r2z/DataAPITest.kt @@ -45,7 +45,7 @@ class DataAPITest { fun testListUss() { val request = dataAPI.listUssPath( authorizationToken = basicCreds, - path = FilePath("/u/CHP/test-env/test-files/testprog-jcl"), + path = "/u/CHP/test-env/test-files/testprog-jcl", depth = 1, followSymlinks = SymlinkMode.REPORT )