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

Nirmal Fernando commented on STRATOS-290:
-----------------------------------------

Interface that each IaaS should implement is as below:

public interface PartitionValidator {
    
    /**
     * set the IaasProvider reference.
     * @param iaas {@link IaasProvider}
     */
    public void setIaasProvider(IaasProvider iaas);

    /**
     * Validate the given properties for its existent in this partition.
     * @param partitionId partition id.
     * @param properties set of properties to be validated.
     * @return cloned and modified {@link IaasProvider} which maps to the given 
partition. 
     * @throws InvalidPartitionException if at least one property is evaluated 
to be invalid.
     */
    public IaasProvider validate(String partitionId, Properties properties) 
throws InvalidPartitionException;
}

> Implement IaaS based Partition Validation  
> -------------------------------------------
>
>                 Key: STRATOS-290
>                 URL: https://issues.apache.org/jira/browse/STRATOS-290
>             Project: Stratos
>          Issue Type: New Feature
>          Components: Cloud Controller
>    Affects Versions: 4.0.0 M4
>            Reporter: Nirmal Fernando
>            Assignee: Nirmal Fernando
>            Priority: Critical
>             Fix For: 4.0.0 M5
>
>
> Idea is to hand over to the respective IaaS the validation of a Partition.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to