package com.x.general.assemble.control.jaxrs;

import java.util.Set;

import javax.ws.rs.ApplicationPath;

import org.apache.hadoop.hdfs.protocol.HdfsConstants.UpgradeAction;

import com.x.base.core.project.jaxrs.AbstractActionApplication;
import com.x.general.assemble.control.jaxrs.area.AreaAction;
import com.x.general.assemble.control.jaxrs.ecnet.EcnetAction;
import com.x.general.assemble.control.jaxrs.generalfile.GeneralFileAction;
import com.x.general.assemble.control.jaxrs.office.OfficeAction;
import com.x.general.assemble.control.jaxrs.worktime.WorkTimeAction;

@ApplicationPath("jaxrs")
public class ActionApplication extends AbstractActionApplication {

	public Set<Class<?>> getClasses() {
		classes.add(AreaAction.class);
		classes.add(EcnetAction.class);
		classes.add(OfficeAction.class);
		classes.add(WorkTimeAction.class);
		classes.add(GeneralFileAction.class);
		classes.add(UpgradeAction.class);
		return classes;
	}

}

@@ -104,77 +104,8 @@
 h;%0A%0A
-import org.apache.hadoop.hdfs.protocol.HdfsConstants.UpgradeAction;%0A%0A
 impo
@@ -420,32 +420,99 @@
 e.OfficeAction;%0A
+import com.x.general.assemble.control.jaxrs.upgrade.UpgradeAction;%0A
 import com.x.gen

add upgrade action