Skip to content

Commit

Permalink
Make SDK project build again (#50)
Browse files Browse the repository at this point in the history
* fix: Scripts now follow correct path

At some points the scripts were moved around but the paths inside were not updated.

(cherry picked from commit dd1680e)

* chore: Update swagger files to the latest version from developer portal

(cherry picked from commit 146ddfc)

* fix: Remove newline character from JWS signing string

(cherry picked from commit bcfb2a7)

* fix: Removed resolved query param from swagger download script

When resolved=false is present it seems that some definitions in the swagger files are not downloaded. Instead, they're replaced with a link to the definition, however the link cannot be accessed.

By removing the parameter the complete swagger file will be downloaded with all definitions in place.

(cherry picked from commit 211fe88)

* chore: Update swagger files

(cherry picked from commit bd30213)

* chore: Update PSD2 key-id to match latest available certificates

(cherry picked from commit 37a43c8)

* fix: Test should not fail if base url points to sandbox

(cherry picked from commit fd34d18)

* fix: Use base64 url encoding for compatibility with JWS

(cherry picked from commit c2977f6)

* fix: Test sanitized output

The test would fail if the certificate returned by the API has CRLF line endings. Also, the string returned by the API does not contain the string \n as expected by the test, nor is it encased in "".

By sanitizing both the expected value and the output of the registerMerchant API call we can test that the content is the same without worrying about uninteresting characters.

(cherry picked from commit 5de3137)

* chore: Update jackson-databind version. Bring the java version of simple-app module to 11

* chore: Update client id for psd2 to match latest certificates on developer portal
  • Loading branch information
alexandru-ionut-balan authored Jun 6, 2023
1 parent 27cd024 commit 9a1224f
Show file tree
Hide file tree
Showing 16 changed files with 2,234 additions and 1,237 deletions.
1,228 changes: 462 additions & 766 deletions api/account/information/Account-Information-API.json

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions api/oauth2/OAuth-2.0-API.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"contact" : {
"name" : "ING Developer Portal",
"url" : "https://developer.ing.com",
"email" : "developerportal@ing.com"
"email" : "apis@ing.com"
}
},
"host" : "api.ing.com",
Expand Down Expand Up @@ -100,8 +100,7 @@
"description" : "Internal Server Error - The server encountered an unexpected internal error."
}
}
},
"parameters" : [ ]
}
},
"/oauth2/authorization-server-url" : {
"get" : {
Expand Down Expand Up @@ -173,8 +172,7 @@
"security" : [ {
"ING-Application-Security" : [ "granting" ]
} ]
},
"parameters" : [ ]
}
},
"/oauth2/token/revoke" : {
"post" : {
Expand Down Expand Up @@ -234,8 +232,7 @@
"description" : "Internal Server Error - The server encountered an unexpected internal error."
}
}
},
"parameters" : [ ]
}
}
},
"securityDefinitions" : {
Expand Down
1,670 changes: 1,363 additions & 307 deletions api/payment/initiation/Payment-Initiation-API.json

Large diffs are not rendered by default.

Loading

0 comments on commit 9a1224f

Please sign in to comment.