Skip to content

Commit

Permalink
chore(Bonus Pagamenti Digitali): [#177543860] Add transactions paging…
Browse files Browse the repository at this point in the history
… feature flag (#2947)

* [#177543860] add bpd transaction paging feature flag

* [#177543860] add bpd transaction paging feature flag

* [#177543860] rename
  • Loading branch information
fabriziofff authored Mar 30, 2021
1 parent 6861ab9 commit 2ad3755
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ PLAYGROUNDS_ENABLED=NO
# BPD configuration
BPD_ENABLED=YES
BPD_TEST_OVERLAY=NO
BPD_TRANSACTIONS_PAGING=NO
# BPD endpoint
BPD_API_URL_PREFIX=https://prod.cstar.pagopa.it
BPD_API_SIT='https://bpd-dev.azure-api.net'
Expand Down
1 change: 1 addition & 0 deletions .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ PLAYGROUNDS_ENABLED=NO
# BPD configuration
BPD_ENABLED=YES
BPD_TEST_OVERLAY=NO
BPD_TRANSACTIONS_PAGING=NO
# endpoint BPD API
BPD_API_URL_PREFIX='http://127.0.0.1:3000/bonus'
BPD_API_SIT='https://bpd-dev.azure-api.net'
Expand Down
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ PLAYGROUNDS_ENABLED=YES
# BPD configuration
BPD_ENABLED=YES
BPD_TEST_OVERLAY=NO
BPD_TRANSACTIONS_PAGING=NO
# endpoint BPD API
BPD_API_URL_PREFIX=https://prod.cstar.pagopa.it
BPD_API_SIT='https://bpd-dev.azure-api.net'
Expand Down
3 changes: 3 additions & 0 deletions ts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ export const myPortalEnabled: boolean = Config.MYPORTAL_ENABLED === "YES";
export const bpdEnabled: boolean = Config.BPD_ENABLED === "YES";
export const bpdTestOverlay: boolean = Config.BPD_TEST_OVERLAY === "YES";

export const bpdTransactionsPaging: boolean =
Config.BPD_TRANSACTIONS_PAGING === "YES";

export const bpdApiUrlPrefix: string = Config.BPD_API_URL_PREFIX;

export const bpdApiSitUrlPrefix: string = Config.BPD_API_SIT;
Expand Down

0 comments on commit 2ad3755

Please sign in to comment.