[
https://issues.apache.org/jira/browse/YUNIKORN-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wilfred Spiegelenburg closed YUNIKORN-1094.
-------------------------------------------
Resolution: Duplicate
overlooked a real old jira, closing as duplicate
> Split resources in the REST API
> -------------------------------
>
> Key: YUNIKORN-1094
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1094
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - common, webapp
> Reporter: Wilfred Spiegelenburg
> Priority: Critical
>
> Currently the REST API provides a resource list as one string. The string
> contains all resources in a form like this:
> {code:java}
> "maxCapacity":"[memory:104857600 vcore:1000000]" {code}
> This requires the consumer to read the string split it based on the spaces
> and the split each part based on the : before it has access to each resource.
> This is error prone and must be implemented specially.
> We should convert the resource to an {{map[string]string}} like the tags etc.
> NOTE: as this is a breaking change we should do it before 1.0 comes out.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]