Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.
This repository was archived by the owner on May 6, 2021. It is now read-only.

Sync tenants with tenant service #327

@hrishin

Description

@hrishin

Idler retrieves tenants information only once during the boot time. Its doesn't get updated until next restart.
A side effect of such issue is, Idler, keeps stale deployments despite those deployments got de-provisioned.
Hence it results in HTTP 404 when it tries to idle Jenkins deployment. It also needs to remove state builds for associated deployments.

Idler needs to sync with tenant service and remove deleted deployments.

  • Provide an API a delete tenant API for tenant service. So tenant service would consume it
    or
  • Sync peridocially with tenant-service

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions