Skip to content

Commit

Permalink
Merge branch 'main' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
phisakel committed Jul 3, 2024
2 parents 226bf14 + 576c845 commit 09165a3
Show file tree
Hide file tree
Showing 68 changed files with 5,698 additions and 1,379 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @eu-digital-identity-wallet/niscy-admins
15 changes: 15 additions & 0 deletions .github/workflows/dependencycheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: SCA - Dependency-Check Caller
on:
push:
branches-ignore:
- 'dependabot/*'
workflow_dispatch:

jobs:

SCA_caller:
uses: eu-digital-identity-wallet/eudi-infra-ci/.github/workflows/sca.yml@main
secrets:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
DOJO_TOKEN: ${{ secrets.DOJO_TOKEN }}
DOJO_URL: ${{ secrets.DOJO_URL }}
12 changes: 9 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,23 @@

name: Documentation

on: [push]
on:
push:
branches:
- main

jobs:
build:

runs-on: macos-latest
runs-on: macos-latest-xlarge

steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
- uses: swift-actions/setup-swift@v1
- name: Get swift version
run: swift --version # Swift 5.8
run: swift --version
- uses: actions/checkout@v3
- name: Fix Up Private GitHub URLs
# Add personal access token to all private repo URLs
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Secret Scanning - Gitleaks Caller
on:
push:
branches-ignore:
- 'dependabot/*'
workflow_dispatch:

jobs:

Secret_Scanning_caller:
uses: eu-digital-identity-wallet/eudi-infra-ci/.github/workflows/secretscanning.yml@main
secrets:
DOJO_TOKEN: ${{ secrets.DOJO_TOKEN }}
DOJO_URL: ${{ secrets.DOJO_URL }}
17 changes: 17 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: SAST - SonarCloud Caller
on:
push:
branches-ignore:
- 'dependabot/*'
pull_request_target:
workflow_dispatch:

jobs:

SAST_caller:
uses: eu-digital-identity-wallet/eudi-infra-ci/.github/workflows/sast_action.yml@main
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOJO_TOKEN: ${{ secrets.DOJO_TOKEN }}
DOJO_URL: ${{ secrets.DOJO_URL }}
27 changes: 14 additions & 13 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift Build

name: Swift

on: [push]
on:
push:
branches-ignore:
- 'dependabot/*'
pull_request_target:
workflow_dispatch:

jobs:
build:

runs-on: macos-latest
runs-on: macos-latest-xlarge

steps:
- uses: swift-actions/setup-swift@v1
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: swift-actions/setup-swift@v2
- name: Get swift version
run: swift --version # Swift 5.8
- uses: actions/checkout@v3
- name: Fix Up Private GitHub URLs
# Add personal access token to all private repo URLs
run: find . -type f \( -name 'Package.swift' -o -name 'Package.resolved' \) -exec sed -i '' "s/https:\/\/github.com\/eu-digital-identity-wallet/https:\/\/${{ secrets.USER_NAME }}:${{ secrets.USER_GITHUB_TOKEN }}@github.com\/eu-digital-identity-wallet/g" {} \;
run: swift --version
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
Expand Down
78 changes: 78 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/EudiWalletKit.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EudiWalletKit"
BuildableName = "EudiWalletKit"
BlueprintName = "EudiWalletKit"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EudiWalletKitTests"
BuildableName = "EudiWalletKitTests"
BlueprintName = "EudiWalletKitTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EudiWalletKit"
BuildableName = "EudiWalletKit"
BlueprintName = "EudiWalletKit"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
92 changes: 92 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/EudiWalletKitTest.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EudiWalletKit"
BuildableName = "EudiWalletKit"
BlueprintName = "EudiWalletKit"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EudiWalletKitTests"
BuildableName = "EudiWalletKitTests"
BlueprintName = "EudiWalletKitTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EudiWalletKitTests"
BuildableName = "EudiWalletKitTests"
BlueprintName = "EudiWalletKitTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "EudiWalletKit"
BuildableName = "EudiWalletKit"
BlueprintName = "EudiWalletKit"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
20 changes: 8 additions & 12 deletions Documentation/Reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,39 @@

## Protocols

- [DataStorageService](protocols/DataStorageService.md)
- [PresentationService](protocols/PresentationService.md)

## Structs

- [DocElementsViewModel](structs/DocElementsViewModel.md)
- [ElementViewModel](structs/ElementViewModel.md)
- [WalletError](structs/WalletError.md)

## Classes

- [BlePresentationService](classes/BlePresentationService.md)
- [DataSampleStorageService](classes/DataSampleStorageService.md)
- [EudiWallet](classes/EudiWallet.md)
- [FaultPresentationService](classes/FaultPresentationService.md)
- [KeyChainStorageService](classes/KeyChainStorageService.md)
- [OpenId4VCIService](classes/OpenId4VCIService.md)
- [OpenId4VpService](classes/OpenId4VpService.md)
- [PresentationSession](classes/PresentationSession.md)
- [UserWallet](classes/UserWallet.md)
- [StorageManager](classes/StorageManager.md)

## Enums

- [DataFormat](enums/DataFormat.md)
- [FlowType](enums/FlowType.md)
- [TransferStatus](enums/TransferStatus.md)
- [OpenId4VCIError](enums/OpenId4VCIError.md)
- [StorageType](enums/StorageType.md)

## Extensions

- [Array](extensions/Array.md)
- [BlePresentationService](extensions/BlePresentationService.md)
- [PresentationSession](extensions/PresentationSession.md)
- [String](extensions/String.md)

## Typealiases

- [RequestItems](typealiases/RequestItems.md)

## Methods

- [fluttenItemViewModels(__valid_)](methods/fluttenItemViewModels(__valid_).md)
- [nsItemsToViewModels(______)](methods/nsItemsToViewModels(______).md)

This file was generated by [SourceDocs](https://github.com/eneko/SourceDocs) on 2023-10-25 22:10:55 +0000
This file was generated by [SourceDocs](https://github.com/eneko/SourceDocs) on 2024-05-15 12:20:03 +0000
Loading

0 comments on commit 09165a3

Please sign in to comment.