diff --git a/demos b/demos index a8d9b92..1fdc4d1 160000 --- a/demos +++ b/demos @@ -1 +1 @@ -Subproject commit a8d9b9295193c05add7b4ecf7542431571d54886 +Subproject commit 1fdc4d1aa913dea8e05ee1a98eba6c39ed5ade07 diff --git a/doc/content/configuration/_index.md b/doc/content/configuration/_index.md index 8fbd198..6b83fce 100644 --- a/doc/content/configuration/_index.md +++ b/doc/content/configuration/_index.md @@ -19,9 +19,9 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":50051" - dbaddress: "localhost:9080" - dbworkers: 4 + rpcAddress: ":50051" + dbAddress: "localhost:9080" + dbWorkers: 4 analysis: - analyzer: spdx-identifier-analyzer name: "Simple SPDX-Identifier Analyzer" @@ -74,9 +74,9 @@ metadata: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":50051" - dbaddress: "localhost:9080" - dbworkers: 4 + rpcAddress: ":50051" + dbAddress: "localhost:9080" + dbWorkers: 4 ``` ## Analyzers diff --git a/doc/content/introduction/getting-started/debian-curl_tutorial/qmstr.yaml b/doc/content/introduction/getting-started/debian-curl_tutorial/qmstr.yaml index 67d1347..950a882 100644 --- a/doc/content/introduction/getting-started/debian-curl_tutorial/qmstr.yaml +++ b/doc/content/introduction/getting-started/debian-curl_tutorial/qmstr.yaml @@ -32,5 +32,5 @@ project: - reporter: package-manifest-reporter name: "Package manifest Reporter" config: - outputdir: "/buildroot" + outputDir: "/buildroot" pathSubst: ".+?/.+?/.+?/(.+)||./$1" diff --git a/lib/go-qmstr/config/config_test.go b/lib/go-qmstr/config/config_test.go index 513d777..30188b4 100644 --- a/lib/go-qmstr/config/config_test.go +++ b/lib/go-qmstr/config/config_test.go @@ -15,14 +15,14 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":12345" - dbaddress: "testhost:54321" - dbworkers: 4 + rpcAddress: ":12345" + dbAddress: "testhost:54321" + dbWorkers: 4 analysis: - analyzer: test-analyzer name: "The Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -30,7 +30,7 @@ project: - analyzer: test-analyzer-2 name: "The Testalyzer 2" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -72,14 +72,14 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":12345" - dbaddress: "testhost:54321" - dbworkers: 4 + rpcAddress: ":12345" + dbAddress: "testhost:54321" + dbWorkers: 4 analysis: - analyzer: test-analyzer name: "The Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -87,7 +87,7 @@ project: - analyzer: test-analyzer-2 name: "The Testalyzer 2" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -115,14 +115,14 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":12345" - dbaddress: "testhost:54321" - dbworkers: 4 + rpcAddress: ":12345" + dbAddress: "testhost:54321" + dbWorkers: 4 analysis: - analyzer: test-analyzer name: "The Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -130,7 +130,7 @@ project: - analyzer: test-analyzer-2 name: "The Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -159,13 +159,13 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":12345" - dbaddress: "testhost:54321" - dbworkers: 4 + rpcAddress: ":12345" + dbAddress: "testhost:54321" + dbWorkers: 4 analysis: - name: "The Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -173,7 +173,7 @@ project: - analyzer: test-analyzer-2 name: "The Testalyzer 2" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -202,14 +202,14 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":12345" - dbaddress: "testhost:54321" - dbworkers: 4 + rpcAddress: ":12345" + dbAddress: "testhost:54321" + dbWorkers: 4 analysis: - name: "The Testalyzer" analyzer: test-analyzer selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -217,7 +217,7 @@ project: - analyzer: test-analyzer name: "The Testalyzer 2" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -244,14 +244,14 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":12345" - dbaddress: "testhost:54321" - dbworkers: 4 + rpcAddress: ":12345" + dbAddress: "testhost:54321" + dbWorkers: 4 analysis: - analyzer: test-analyzer name: "The Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -259,7 +259,7 @@ project: - analyzer: test-analyzer-2 name: "The_Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -288,14 +288,14 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: "12345" - dbaddress: "testhost:54321" - dbworkers: 4 + rpcAddress: "12345" + dbAddress: "testhost:54321" + dbWorkers: 4 analysis: - analyzer: test-analyzer name: "The Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: @@ -306,7 +306,8 @@ project: config: tester: "Endocode" ` - _, err := ReadConfigFromBytes([]byte(config)) + ccc, err := ReadConfigFromBytes([]byte(config)) + print(ccc) if err == nil || err.Error() != "Invalid RPC address" { t.Log(err) t.Fail() @@ -323,14 +324,14 @@ project: OcFossLiaison: "Mirko Boehm" OcComplianceContact: "foss@endocode.com" server: - rpcaddress: ":12345" - dbaddress: "testhost:54321" - dbworkers: 4 + rpcAddress: ":12345" + dbAddress: "testhost:54321" + dbWorkers: 4 analysis: - analyzer: test-analyzer name: "The Testalyzer" selector: sourcecode - pathsub: + pathSub: - old: "/the/path" new: "/buildroot" config: