Skip to content

Commit e3249f8

Browse files
Add scheme settings
Signed-off-by: Yogesh Deshpande <yogesh.deshpande@arm.com>
1 parent 2f2f687 commit e3249f8

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

scheme/ratsd/scheme.go

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
11
// Copyright 2023-2026 Contributors to the Veraison project.
22
// SPDX-License-Identifier: Apache-2.0
33
package ratsd
4+
5+
import (
6+
"github.com/veraison/services/handler"
7+
"github.com/veraison/services/log"
8+
"go.uber.org/zap"
9+
)
10+
11+
var Descriptor = handler.SchemeDescriptor{
12+
Name: "RATSD",
13+
VersionMajor: 1,
14+
VersionMinor: 0,
15+
CorimProfiles: []string{""},
16+
EvidenceMediaTypes: []string{
17+
`application/cmw-collection+cbor; eat_profile="tag:github.com,2025:veraison/ratsd/cmw"`,
18+
},
19+
}
20+
21+
type Implementation struct {
22+
logger *zap.SugaredLogger
23+
}
24+
25+
func NewImplementation() *Implementation {
26+
return &Implementation{
27+
logger: log.Named(Descriptor.Name),
28+
}
29+
}

0 commit comments

Comments
 (0)