Skip to content

Added cache for PATH endpoint (GONRG-4141)

Riabokon Stanislav(EPAM)[GCP] requested to merge cache-path_endpoint into master

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [NO]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Does this introduce a breaking change?

  • [NO]

What is the current behavior?

Update any existing property in the partition:

curl -location -request PATCH 'https://osdu-anthos.osdu.club/api/partition/v1/partitions/anthos' 
--header 'data-partition-id: anthos'
--header 'Authorization: Bearer '
--header 'Content-Type: application/json'
--data-raw '{
    "properties": {
        "oqm.rabbitmq.admin.port": {
            "sensitive": false,
            "value": "15672"
        }
    }

Then get partition info by partition:

curl -location -request GET 'https://osdu-anthos.osdu.club/api/partition/v1/partitions/anthos'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer '

The property stays not changed until the cache not expired

What is now?

Cache is expired.

Edited by Riabokon Stanislav(EPAM)[GCP]

Merge request reports

Loading