Skip to content

Commit

Permalink
Merge pull request #2 from IndustriaTech/fix/duplicate-classes
Browse files Browse the repository at this point in the history
fix: remove duplicated classes
  • Loading branch information
LazarIliev authored Sep 15, 2022
2 parents 0ebd759 + e095ebf commit 4991d9a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 51 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,17 @@ is the bridge used to easy access Barclays APIs.

During the hackaton contracts and states can be created in `contracts` module and flows can be
created in the `workflows` module.

## Getting started

In order to operate with provided bridge functionalities, you should use the provided auth token for your team and set it as a system environment variable. (edited)

To be able to use the bridge with the configured token `val AUTH_TOKEN: String = System.getenv("BARCLAYS_AUTH_TOKEN")`.

In Linux you can set it into you `.profile` file under the home directory like that:

`export BARCLAYS_AUTH_TOKEN="the-actual-token"`

In Windows you can go through the menu to Environment Variable and set it from there.

https://docs.oracle.com/en/database/oracle/machine-learning/oml4r/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html#GUID-DD6F9982-60D5-48F6-8270-A27EC53807D0

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.cbdc.industria.tech.bridge.data

import com.cbdc.industria.tech.bridge.enums.BankingEntityType
import com.cbdc.industria.tech.bridge.views.AccountAccessConsentView
import net.corda.core.serialization.CordaSerializable

Expand All @@ -11,21 +10,6 @@ data class OpenBankingAccountAccessConsentCreationRequestBody(
val requestingBankingEntityRef: RequestingBankingEntityRef
)

@CordaSerializable
data class RequestingPartyId(val partyId: Long)

@CordaSerializable
data class BankingEntityWhereRequestingPartyIsRegisteredRef(
val bankingEntityType: BankingEntityType,
val bankingEntityId: Long
)

@CordaSerializable
data class RequestingBankingEntityRef(
val bankingEntityType: BankingEntityType,
val bankingEntityId: Long
)

@CordaSerializable
data class CreateAccountAccessConsentResponseBody(
val data: CreateAccountAccessConsentResponseBodyData
Expand Down

0 comments on commit 4991d9a

Please sign in to comment.