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

Sync tenants with tenant service #327

Open
2 tasks
hrishin opened this issue Jan 10, 2019 · 1 comment
Open
2 tasks

Sync tenants with tenant service #327

hrishin opened this issue Jan 10, 2019 · 1 comment

Comments

@hrishin
Copy link
Member

hrishin commented Jan 10, 2019

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
@hrishin
Copy link
Member Author

hrishin commented Jan 14, 2019

Would help in fixing #315

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant