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

fix: remove duplicated classes #2

Merged
merged 2 commits into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
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