Skip to content

Moving GetTypes from fetching from elasticsearch to fetching from postgres #138

@mabdh

Description

@mabdh

Is your feature request related to a problem? Please describe.
Currently we are getting number of types from elasticsearch, but due to the changes of how we store the index (we use service as index instead of type as index), there is no simple approach to calculate/aggregate number of types of assets. Since we have a postgres as our main storage, we can leave elasticsearch purely for discovery and count the type from postgres as a source of truth.

Describe the solution you'd like
Fetching count of types from assets in postgres

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions