Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • I Indexer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe SoftwareOpen Subsurface Data Universe Software
  • Platform
  • System
  • Indexer
  • Issues
  • #19
Closed
Open
Issue created May 24, 2021 by Ankit Sharma [Microsoft]@ankitsharmaMaintainer1 of 1 checklist item completed1/1 checklist item

ADR: Indexer to support pattern based indices cleanup for customers.

Status

  • Proposed
  • [] Trialing
  • [] Under review
  • [] Approved
  • [] Retired

Context

In Azure we were trying to cleanup test indices in our envs by adding a cron job. We can see that there is already code present to clean up indices but there is no API to call this code from outside.

https://community.opengroup.org/osdu/platform/system/indexer-service/-/blob/master/indexer-core/src/main/java/org/opengroup/osdu/indexer/service/CronServiceImpl.java

Also the search documentation talks about cron job API, but I guess the code was never brought to OSDU. https://community.opengroup.org/osdu/platform/system/search-service

Here we would like to take the view of community that would it be better if we can add the API here. Also we would to discuss if it will be a beneficial feature for customers as well where customers can provides test patterns for the indices to be deleted after X amount of time.

Scope

Addition of API to call CRON service of Indexer.

Decision

Rationale

Edited Jun 10, 2021 by Ankit Sharma [Microsoft]
Assignee
Assign to
Time tracking