Skip to content

Commit

Permalink
Remove migrated code and unused dependencies (#55)
Browse files Browse the repository at this point in the history
The content removed in this PR can be found in the [Ibeji Example Applications Repository](https://github.com/eclipse-ibeji/ibeji-example-applications). Also cleans up unused dependencies in cargo.toml files
  • Loading branch information
wilyle authored Oct 2, 2023
1 parent 4dac9b1 commit 5d23fee
Show file tree
Hide file tree
Showing 75 changed files with 14 additions and 3,140 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/dotnet-ci.yml

This file was deleted.

40 changes: 1 addition & 39 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/workflows/security-audit.yaml"
- "cloud_connector/**"
schedule:
- cron: "0 0 * * *" # once a day at midnight UTC
# NB: that cron trigger on GH actions runs only on the default branch
Expand All @@ -25,41 +24,4 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: audit
args: --deny warnings

security_audit_csharp:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install .NET 6.0.119
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.119
global-json-file: cloud_connectors/azure/digital_twins_connector/global.json
- name: Cache NuGet dependencies
uses: actions/cache@v3
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Check .NET version
run: dotnet --info
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Build Digital Twins Connector
run: ./cloud_connectors/azure/digital_twins_connector/build.sh
- name: Build MQTT Connector's Azure Function
run: dotnet build cloud_connectors/azure/mqtt_connector/res/azure_function/src/function.csproj
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
args: --deny warnings
8 changes: 0 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@
resolver = "2"
members = [
"build_common",
"cloud_adapters/azure_cloud_connector_adapter",
"cloud_adapters/in_memory_mock_cloud_adapter",
"cloud_connectors/azure/mqtt_connector",
"cloud_connectors/azure/proto-build",
"common",
"contracts",
"digital_twin_adapters/ibeji_adapter",
"digital_twin_adapters/in_memory_mock_digital_twin_adapter",
"digital_twin_adapters/mock_digital_twin_adapter",
"freyja",
Expand All @@ -29,7 +25,6 @@ members = [

[workspace.dependencies]
# Freyja dependencies
azure-cloud-connector-proto = { path = "cloud_connectors/azure/proto-build" }
freyja-build-common = { path = "build_common" }
freyja-common = { path = "common" }
freyja-contracts = { path = "contracts" }
Expand All @@ -51,15 +46,12 @@ crossbeam = "0.8.2"
env_logger = "0.10.0"
futures = "0.3.28"
home = "0.5.5"
httptest = "0.15.4"
log = "^0.4"
mockall = "0.11.4"
paho-mqtt = "0.12"
proc-macro2 = "1.0.52"
prost = "0.11.9"
quote = "1.0.23"
reqwest = { version = "0.11.4", features = ["json"] }
rstest = "0.18.1"
serde = { version = "1.0.88", features = ["derive"] }
serde_json = "1.0.88"
strum = "0.25.0"
Expand Down
24 changes: 0 additions & 24 deletions cloud_adapters/azure_cloud_connector_adapter/Cargo.toml

This file was deleted.

19 changes: 0 additions & 19 deletions cloud_adapters/azure_cloud_connector_adapter/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions cloud_adapters/azure_cloud_connector_adapter/build.rs

This file was deleted.

This file was deleted.

Loading

0 comments on commit 5d23fee

Please sign in to comment.