Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API types for configuration metadata #14132

Merged
merged 11 commits into from
Sep 26, 2024

Commits on Sep 25, 2024

  1. api: Add metadata_configuration_entity_types API extension.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    3efef59 View commit details
    Browse the repository at this point in the history
  2. lxd-metadata: All configuration keys are strings.

    They may be something like "true", but this is still a string.
    
    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    86b70de View commit details
    Browse the repository at this point in the history
  3. metadata: Runs make update-metadata.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    cfbf1aa View commit details
    Browse the repository at this point in the history
  4. shared/api: Add MetadataConfiguration API struct definitions.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0194217 View commit details
    Browse the repository at this point in the history
  5. lxd/auth/generate: Generate entity type JSON conforming to API type.

    This includes adding the `requires_project` field, which will be required
    for validating `lxc auth permission add/remove` command arguments.
    
    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    8dac37f View commit details
    Browse the repository at this point in the history
  6. lxd-metadata: Update lxd-metadata to use new entity metadata format.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    312ab0c View commit details
    Browse the repository at this point in the history
  7. lxd-metadata: Validate that the generated JSON conforms to the API de…

    …finition.
    
    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    9c0c1da View commit details
    Browse the repository at this point in the history
  8. lxd/metadata: Run make update-metadata.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    284da9a View commit details
    Browse the repository at this point in the history
  9. lxd: Render api.MetadataConfiguration on /1.0/metadata/configuration.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    b5ea215 View commit details
    Browse the repository at this point in the history
  10. lxd: Add MetadataConfiguration to swagger doc string.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2420033 View commit details
    Browse the repository at this point in the history
  11. doc: Runs make update-api.

    Signed-off-by: Mark Laing <mark.laing@canonical.com>
    markylaing committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    d594de4 View commit details
    Browse the repository at this point in the history