Skip to content

Commit

Permalink
Merge branch 'release-11.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hryhorii Hevorkian committed Aug 26, 2021
2 parents bb92fe2 + 8d3f18b commit f223d3a
Show file tree
Hide file tree
Showing 14 changed files with 108 additions and 41 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Please use correct version of xs2a-connector-examples and Ledgers. Matches are d

| xs2a-connector-examples | Ledgers |
|-------------------------|---------|
| v.11.11 | v.4.14 |
| v.11.10 | v.4.14 |
| v.11.9 | v.4.14 |
| v.11.8 | v.4.14 |
Expand Down
12 changes: 12 additions & 0 deletions doc/release_notes/Release_notes_11.10.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@

* Migrated onto new XS2A version

* Adjusted connector to retrieve "fundsAvailable" for Get Transaction Status response

* Links with wrong host URL removed from GET Transactions by download resource

== Migrated onto new XS2A version

From now on, Connector uses XS2A version 11.10.

== Adjusted connector to retrieve "fundsAvailable" for Get Transaction Status response

Mocked `fundsAvailable = TRUE` value from connector now is present in Get Transaction Status response

== Links with wrong host URL removed from GET Transactions by download resource

Wrong host URLs were removed from mocked data on GET Transactions by download resource link on Connector side.
21 changes: 0 additions & 21 deletions doc/release_notes/Release_notes_11.10_SSE.adoc

This file was deleted.

15 changes: 15 additions & 0 deletions doc/release_notes/Release_notes_11.11.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
= Release notes v.11.11

== Table of Contents

* Migrated onto new XS2A version

* Connector refactored to support a new query parameter of bookingStatus for Transaction report

== Migrated onto new XS2A version

From now on, Connector uses XS2A version 11.11.

== Connector refactored to support a new query parameter of bookingStatus for Transaction report

Connector was refactored to support new `BookingStatus.ALL` value for Transaction report.
2 changes: 1 addition & 1 deletion gateway-app-embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>xs2a-connector-examples</artifactId>
<groupId>de.adorsys.ledgers</groupId>
<version>11.10</version>
<version>11.11</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion gateway-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>xs2a-connector-examples</artifactId>
<version>11.10</version>
<version>11.11</version>
<relativePath>..</relativePath>
</parent>
<artifactId>gateway-app</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ledgers-rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>xs2a-connector-examples</artifactId>
<version>11.10</version>
<version>11.11</version>
<relativePath>..</relativePath>
</parent>
<artifactId>ledgers-rest-client</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>xs2a-connector-examples</artifactId>
<version>11.10</version>
<version>11.11</version>
<packaging>pom</packaging>

<name>XS2A Connector Examples</name>
Expand Down Expand Up @@ -86,7 +86,7 @@
<ruleset.basedir>${project.basedir}</ruleset.basedir>

<!-- xs2a version -->
<xs2a.version>11.10</xs2a.version>
<xs2a.version>11.11</xs2a.version>
<!-- ledgers version -->
<ledgers.version>4.14</ledgers.version>

Expand Down
2 changes: 1 addition & 1 deletion xs2a-connector-embedded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>xs2a-connector-examples</artifactId>
<groupId>de.adorsys.ledgers</groupId>
<version>11.10</version>
<version>11.11</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion xs2a-connector-oauth-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>xs2a-connector-examples</artifactId>
<groupId>de.adorsys.ledgers</groupId>
<version>11.10</version>
<version>11.11</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion xs2a-connector-remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>xs2a-connector-examples</artifactId>
<version>11.10</version>
<version>11.11</version>
<relativePath>..</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion xs2a-connector/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.adorsys.ledgers</groupId>
<artifactId>xs2a-connector-examples</artifactId>
<version>11.10</version>
<version>11.11</version>
<relativePath>..</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ public SpiResponse<SpiTransactionReport> requestTransactionsForAccount(@NotNull

List<SpiAccountBalance> balances = getSpiAccountBalances(contextData, withBalance, accountReference,
accountConsent, aspspConsentDataProvider);
if (BookingStatus.ALL == spiTransactionReportParameters.getBookingStatus() && page == 0) {
logger.info("Retrieving mock standing order report for account: {}", accountReference.getResourceId());
transactionsPaged.addAll(createStandingOrderReportMock());
}
SpiTransactionLinks spiTransactionLinks = transactionLinksService.buildSpiTransactionLinks(page, size, transactionsOnPage);
SpiTransactionReport transactionReport = new SpiTransactionReport("downloadId", transactionsPaged, balances,
processAcceptMediaType(acceptMediaType), null, spiTransactionLinks, DEFAULT_TOTAL_PAGES);
Expand Down
Loading

0 comments on commit f223d3a

Please sign in to comment.