This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MTM-30857]: Introduce configuration and script for scanning C# SDK 3…
…rd parties
- Loading branch information
1 parent
1a0a617
commit 3371660
Showing
2 changed files
with
38 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
if [ -z "$TPP_FETCHER_URL" ]; then TPP_FETCHER_URL="http://172.30.0.129:8083"; fi | ||
|
||
|
||
if [[ -e Tpp.toml ]] ; then | ||
curl -sS -o tpp-scanner ${TPP_FETCHER_URL}/tpp-scanner \ | ||
&& chmod +x tpp-scanner \ | ||
&& ./tpp-scanner -tpp-fetcher-url ${TPP_FETCHER_URL} \ | ||
&& rm tpp-scanner | ||
exit 0 | ||
fi |
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,27 @@ | ||
{{ $version := env "RELEASE_VERSION" }} | ||
|
||
name = "c8y-connection-sdk" | ||
revision = "{{ $version }}" | ||
|
||
[[scan]] | ||
type = "VSC#" | ||
path = "MQTT-SDK/src/Cumulocity.SDK.MQTT/Cumulocity.SDK.MQTT.csproj" | ||
excludes = ["com.nsn.cumulocity"] | ||
|
||
[[scan]] | ||
type = "VSC#" | ||
path = "MQTT-SDK/src/MQTT.Client.NetStandard/MQTT.NetStandard.csproj" | ||
excludes = ["com.nsn.cumulocity"] | ||
|
||
[[scan]] | ||
type = "VSC#" | ||
path = "REST-SDK/src/Cumulocity.SDK.Client/Cumulocity.SDK.Client.csproj" | ||
excludes = ["com.nsn.cumulocity"] | ||
|
||
[[scan]] | ||
type = "VSC#" | ||
path = "REST-SDK/src/cometd.NetStandard/Cometd.NetStandard.csproj" | ||
excludes = ["com.nsn.cumulocity"] | ||
|
||
|
||
|