package org.project.openbaton.nfvo.catalogue.mano.common;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Version;

import org.project.openbaton.nfvo.catalogue.util.IdGenerator;

import java.io.Serializable;

/**
 * Created by lto on 06/02/15.
 *
 * Based on ETSI GS NFV-MAN 001 V1.1.1 (2014-12)
 */
@Entity
public class AutoScalePolicy implements Serializable{
	@Id
	private String id = IdGenerator.createUUID();
	@Version
	private int version = 0;
}

@@ -482,11 +482,1162 @@
 ion = 0;
+%0A%0A%09private String action;%0A%09private String metric;%0A%09private String statistic;%0A%09private String comparisonOperator;%0A%09private int period;%0A%09private int threshold;%0A%09private int cooldown;%0A%0A%09public String getMetric() %7B%0A%09%09return metric;%0A%09%7D%0A%0A%09public void setMetric(String metric) %7B%0A%09%09this.metric = metric;%0A%09%7D%0A%0A%09public int getPeriod() %7B%0A%09%09return period;%0A%09%7D%0A%0A%09public void setPeriod(int period) %7B%0A%09%09this.period = period;%0A%09%7D%0A%0A%09public int getThreshold() %7B%0A%09%09return threshold;%0A%09%7D%0A%0A%09public void setThreshold(int threshold) %7B%0A%09%09this.threshold = threshold;%0A%09%7D%0A%0A%09public int getCooldown() %7B%0A%09%09return cooldown;%0A%09%7D%0A%0A%09public void setCooldown(int cooldown) %7B%0A%09%09this.cooldown = cooldown;%0A%09%7D%0A%0A%09public String getStatistic() %7B%0A%09%09return statistic;%0A%09%7D%0A%0A%09public void setStatistic(String statistic) %7B%0A%09%09this.statistic = statistic;%0A%09%7D%0A%0A%09public String getComparisonOperator() %7B%0A%09%09return comparisonOperator;%0A%09%7D%0A%0A%09public void setComparisonOperator(String comparisonOperator) %7B%0A%09%09this.comparisonOperator = comparisonOperator;%0A%09%7D%0A%0A%09public String getId() %7B%0A%09%09return id;%0A%09%7D%0A%0A%09public String getAction() %7B%0A%0A%09%09return action;%0A%09%7D%0A%0A%09public void setAction(String action) %7B%0A%09%09this.action = action;%0A%09%7D
 %0A%7D%0A

add basic parameters to AutoScalePolicy