-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.9.5 - proof management (person binding)
- Loading branch information
1 parent
d457f21
commit 1da809f
Showing
30 changed files
with
530 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
enum VCLEnvironment { | ||
PROD = "prod", | ||
STAGING = "staging", | ||
QA = "qa", | ||
DEV = "dev", | ||
Prod = "prod", | ||
Staging = "staging", | ||
Qa = "qa", | ||
Dev = "dev", | ||
} | ||
|
||
export default VCLEnvironment; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export enum VCLXVnfProtocolVersion { | ||
XVnfProtocolVersion1 = "1.0", | ||
XVnfProtocolVersion2 = "2.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
packages/sdk/src/api/entities/initialization/VCLInitializationDescriptor.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import VCLEnvironment from "../../VCLEnvironment"; | ||
import VCLCryptoServicesDescriptor from "./VCLCryptoServicesDescriptor"; | ||
import { VCLXVnfProtocolVersion } from "../../VCLXVnfProtocolVersion"; | ||
|
||
export default class VCLInitializationDescriptor { | ||
constructor( | ||
public readonly environment: VCLEnvironment = VCLEnvironment.PROD, | ||
public readonly environment: VCLEnvironment = VCLEnvironment.Prod, | ||
public readonly xVnfProtocolVersion: VCLXVnfProtocolVersion = VCLXVnfProtocolVersion.XVnfProtocolVersion1, | ||
public readonly cryptoServicesDescriptor: VCLCryptoServicesDescriptor | ||
) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import VCLEnvironment from "../api/VCLEnvironment"; | ||
import { VCLXVnfProtocolVersion } from "../api/VCLXVnfProtocolVersion"; | ||
|
||
export default class GlobalConfig { | ||
static readonly IsDebug = true; | ||
static CurrentEnvironment = VCLEnvironment.PROD; | ||
static IsDebugOn = false; | ||
static CurrentEnvironment = VCLEnvironment.Prod; | ||
static XVnfProtocolVersion = VCLXVnfProtocolVersion.XVnfProtocolVersion1; | ||
static readonly LogTagPrefix = "VCL "; | ||
static IsToLoadFromCacheInitialization = false; | ||
static get isLoggerOn() { | ||
return this.CurrentEnvironment !== VCLEnvironment.PROD; | ||
static get IsLoggerOn() { | ||
return (this.CurrentEnvironment != VCLEnvironment.Staging && this.CurrentEnvironment != VCLEnvironment.Prod) || this.IsDebugOn; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.