Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified to reflect changes in dependency #68

Merged
merged 5 commits into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions init/onboard-central-ledger/onboard-dfsp.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function log(message) {
}

log(`ENV: AUTH_BEARER_TOKEN:\t\t\t\t${process.env.AUTH_BEARER_TOKEN}`);
log(`ENV: BASE_CENTRAL_LEDGER_ADMIN:\t\t\t${process.env.BASE_CENTRAL_LEDGER_ADMIN}`);
log(`ENV: DFSP_CALLBACK_URL:\t\t\t\t${process.env.DFSP_CALLBACK_URL}`);
log(`ENV: DFSP_CURRENCY:\t\t\t\t\t${process.env.DFSP_CURRENCY}`);
log(`ENV: DFSP_NAME:\t\t\t\t\t${process.env.DFSP_NAME}`);
Expand All @@ -46,7 +45,6 @@ log(`ENV: SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL:\t${process.env.SETTLEMENT_T

const amount = process.env.FUNDS_IN_PREPARE_AMOUNT;
const authToken = process.env.AUTH_BEARER_TOKEN;
const baseCentralLedgerAdmin = process.env.BASE_CENTRAL_LEDGER_ADMIN;
const dfspCallbackUrl = process.env.DFSP_CALLBACK_URL;
const dfspCurrency = process.env.DFSP_CURRENCY;
const dfspName = process.env.DFSP_NAME;
Expand All @@ -68,7 +66,6 @@ async function onboardDfsp() {
dfspCurrency,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand Down Expand Up @@ -99,7 +96,6 @@ async function onboardDfsp() {
initialPosition,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand Down Expand Up @@ -127,7 +123,6 @@ async function onboardDfsp() {
dfspName,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -147,7 +142,6 @@ async function onboardDfsp() {
settlementAccountId,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (innerResponse.ok) {
Expand Down Expand Up @@ -180,7 +174,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -202,7 +195,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -224,7 +216,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -246,7 +237,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -268,7 +258,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -290,7 +279,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -312,7 +300,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -334,7 +321,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -356,7 +342,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -378,7 +363,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -400,7 +384,6 @@ async function onboardDfsp() {
dfspCallbackUrl,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -422,7 +405,6 @@ async function onboardDfsp() {
email: ndcAdjustmentEmail,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -444,7 +426,6 @@ async function onboardDfsp() {
email: settlementTransferPositionChangeEmail,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand All @@ -466,7 +447,6 @@ async function onboardDfsp() {
email: ndcThresholdBreachEmail,
authToken,
hostCentralLedger,
baseCentralLedgerAdmin,
fspiopSource,
}));
if (response.ok) {
Expand Down
2 changes: 1 addition & 1 deletion init/onboard-central-ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "onboard-dfsp.js",
"dependencies": {
"@mojaloop/finance-portal-lib": "0.0.18-snapshot",
"@mojaloop/finance-portal-lib": "0.0.19-snapshot",
"node-fetch": "^2.6.0",
"uuid": "^8.2.0"
},
Expand Down