Suman Karumuri created AURORA-379:
-------------------------------------
Summary: Deprecate Identity struct in api.thrift
Key: AURORA-379
URL: https://issues.apache.org/jira/browse/AURORA-379
Project: Aurora
Issue Type: Story
Components: Scheduler
Reporter: Suman Karumuri
Assignee: Suman Karumuri
Converting TODO into a ticket. Deprecate Identity struct in api.thrift.
[~wfarner] There are 2 uses of this struct in TaskConfig and TaskQuery.
a) In TaskConfig, I think we should replace owner, environment and jobName
fields with JobKey.
b) For TaskQuery, we can drop the owner field entirely. However, we will loose
the ability to query all tasks by owned by a role and launched by a user. The
simplest way forward seems to be add a user field to TaskQuery struct and
remove the owner field.
Does that sound like a good way forward?
--
This message was sent by Atlassian JIRA
(v6.2#6252)