Commit c2cbb91b authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Merge branch 'service-contact' into dev

parents 3c78804f 4f04df33
Pipeline #64877 failed with stages
in 31 seconds
...@@ -21,9 +21,19 @@ type ( ...@@ -21,9 +21,19 @@ type (
// Service for which we do deployments // Service for which we do deployments
Service struct { Service struct {
// Name is the name of the service. It is presented to users.
Name string `json:"name" yaml:"name"` Name string `json:"name" yaml:"name"`
// Command is a shell command to invoke the adapter
Command string `json:"command" yaml:"command"` Command string `json:"command" yaml:"command"`
// Description describes the service. It is presented to users
Description string `json:"description" yaml:"description"` Description string `json:"description" yaml:"description"`
// ContactEmail is an email
ContactEmail string `json:"contact_email" yaml:"contact_email"`
// ContactDescription describes the person contable using ContactEmail
ContactDescription string `json:"contact_description" yaml:"contact_description"`
} }
// RabbitMQConfig is used for the amqp source // RabbitMQConfig is used for the amqp source
......
...@@ -26,7 +26,7 @@ var ( ...@@ -26,7 +26,7 @@ var (
).Author( ).Author(
"Lukas Burgey", "Lukas Burgey",
).Version( ).Version(
"v2.1.3", "v2.2.0",
) )
cmdStart = app.Command("start", "Starts the client in its normal operation mode.").Default() cmdStart = app.Command("start", "Starts the client in its normal operation mode.").Default()
cmdDeregister = app.Command("deregister", "Before disabling the client: Use deregister to inform the backend that the client ceases operation.") cmdDeregister = app.Command("deregister", "Before disabling the client: Use deregister to inform the backend that the client ceases operation.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment