Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use timeToLive field for caching Discovery Service response #532

Open
1 task
ds-ext-kmassalski opened this issue Apr 11, 2024 · 0 comments
Open
1 task
Labels
enhancement New feature or request

Comments

@ds-ext-kmassalski
Copy link
Contributor

ds-ext-kmassalski commented Apr 11, 2024

As IRS Dev ,
I want to use new property 'timeToLive' returned from Discovery service ,
so that IRS can improve its cache .

Hints / Details

  • Response body:
{
	"endpoints": [
		{
			"type": "bpn",
			"description": "Service to discover connector endpoints based on bpns",
			"endpointAddress": "https://portal-backend.int.demo.catena-x.net/api/administration/Connectors/discovery",
			"documentation": "https://portal-backend.int.demo.catena-x.net/api/administration/swagger/index.html",
			"resourceId": "9d722914-cb6a-4626-97d0-25ebd5b1596a",
			"timeToLive": 31536000
		}
	]
}

Acceptance Criteria

  • property 'timeToLive' returned from Discovery service is used in Cache to evict endpoints from cache

Out of Scope

  • ...
@ds-jhartmann ds-jhartmann added the enhancement New feature or request label Apr 12, 2024
ds-jhartmann added a commit to ds-jhartmann/item-relationship-service that referenced this issue Jun 13, 2024
…523-ESS-Ready-to-use

Feature/tri 1523 ess ready to use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: backlog
Development

No branches or pull requests

2 participants