Commit 0ecfc633 authored by Martin Manchev's avatar Martin Manchev Committed by Ivan Tyagov

Revert "Added MQTT ..."

This reverts commit 4068fd997566035224ffdf5b3e588c767f840b3f.
parent a3d2ad9f
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"description": "Parameters to instantiate Fluent-bit",
"type": "object",
"configuration": {
"input": {
"description": "The desired fluent-bit input, which defines in fluent-bit's configuration the inputs.",
"type": "object",
"default": ""
},
"output": {
"description": "The desired fluent-bit output, which defines in fluent-bit's configuration the outputs.",
"type": "object",
"default": ""
}
}
}
{
"name": "Fluent-bit",
"description": "Fluent-bit",
"serialisation": "xml",
"software-type": {
"default": {
"title": "Default",
"description": "Fluent-bit",
"request": "instance-input-schema.json",
  • can you also please add a response field ? this is causing a test failure:

    ======================================================================
    ERROR: test_fluent-bit_software_cfg_json (slapos.test.test_json_schema.TestJSONSchemaValidation)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/srv/slapgrid/slappart8/t/cvt/soft/36a21dc63e86528db1d25f96e76b862d/parts/slapos-repository/slapos/test/test_json_schema.py", line 72, in run
        resolver.resolve(software_type_definition['response'])
    KeyError: 'response'

    see https://lab.nexedi.com/nexedi/slapos/blob/9a46bc519502bf44ae4de57b1c9774872709c612/software/proftpd/software.cfg.json#L10 and https://lab.nexedi.com/nexedi/slapos/blob/9a46bc519502bf44ae4de57b1c9774872709c612/software/proftpd/instance-output-schema.json for example (of course, please adjust it with the actual published parameters).

Please register or sign in to reply
"index": 0
}
}
}
  • mentioned in commit b013e21e

    Toggle commit list
  • Thanks, @jerome . I am sure @mmanchev23 can fix soon.

  • Thanks @Tyagov and @mmanchev23 . For reference, there was same problem in js-drone. We discussed it in b013e21e (comment 172970) . js-drone does not publish any parameter, the the fix is to add a schema for an empty object : daeaccec fluent-bit does not publish parameter either as far as I see, so the fix should be similar for fluent-bit

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