[
https://issues.apache.org/jira/browse/AURORA-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15922964#comment-15922964
]
Stephan Erb commented on AURORA-1707:
-------------------------------------
Submitted patch towards the deprecation
{code}
commit 2f08d9110eb180968b2633523f1c2386874790e9
Author: Nicolás Donatucci <[email protected]>
Date: Mon Mar 13 21:59:42 2017 +0100
Change Resource Validation in ConfigurationManager so that it validates the
Resource Set instead of deprecated fields
The Resource validation in ConfigurationManager is now done against the
Resource set instead of the NumCpus, RamMb and DiskMb fields.
Related Issue: AURORA-1707
Reviewed at https://reviews.apache.org/r/56395/
src/main/java/org/apache/aurora/scheduler/configuration/ConfigurationManager.java
| 44 +++++++++++++-------------------------------
src/main/java/org/apache/aurora/scheduler/storage/log/ThriftBackfill.java
| 16 ++++++++++------
src/main/python/apache/aurora/config/thrift.py
| 2 +-
src/test/java/org/apache/aurora/scheduler/configuration/ConfigurationManagerTest.java
| 11 -----------
src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java
| 4 ++++
5 files changed, 28 insertions(+), 49 deletions(-)
{code}
> Remove deprecated resource fields in TaskConfig and ResourceAggregate
> ---------------------------------------------------------------------
>
> Key: AURORA-1707
> URL: https://issues.apache.org/jira/browse/AURORA-1707
> Project: Aurora
> Issue Type: Task
> Reporter: Maxim Khutornenko
> Assignee: Nicolas Donatucci
>
> Remove individual resource fields in TaskConfig and ResourceAggregate
> replaced by the new {{Resource}} struct.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)