[ 
https://issues.apache.org/jira/browse/YUNIKORN-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316887#comment-17316887
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-490:
------------------------------------------------

An implementation hint: use the same construction as for the constants to 
define the API. In the md file it is identified between:
{code:java}
```golang
API IS HERE
```{code}
 

> generate the SchedulerAPI and callback interface from the SI
> ------------------------------------------------------------
>
>                 Key: YUNIKORN-490
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-490
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: scheduler-interface
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Manikandan R
>            Priority: Major
>
> The SchedulerAPI and callback are closely linked to the SI. The interface is 
> however not defined in the scheduler interface but in the core.
> Currently the core and shim both use that one interface defined in the core 
> to build. This means that a shim must pull in the core to be able to build. 
> It would be preferable to define the interface with the messages in the SI 
> for implementation by both the core and the shims.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to