func ProxyAdd(w http.ResponseWriter, r *http.Request) {
	log.Infof("URL Add: %s\n", URLBase+r.URL.Path)
	if NGCType == apiStub {
		APIStubAdd(w, r)
	} else {
		log.Errf("Add Failed with TargetNGC %s\n", NGCType)
		w.WriteHeader(http.StatusNotFound)
	}
}
ProxyAdd : add by proxy
package oam
import (
	"errors"
	logger "github.com/open-ness/common/log"
	"net/http"
)
var NGCType string  
var URLBase string
const apiStub = "APISTUB"
var log = logger.DefaultLogger.WithField("oam", nil)
func InitProxy(npcEndpoint string, redirectTarget string, path string) error {
	URLBase = "http://" + npcEndpoint
	NGCType = redirectTarget
	if NGCType == apiStub {
		if nil != APIStubInit(path) {
			return errors.New("init error")
		}
	} else {
		return errors.New("can't not support flexcore")
	}
	return nil
}
func ProxyGetAll(w http.ResponseWriter, r *http.Request) {
	log.Infof("URL GetAll: %s\n", URLBase+r.URL.Path)
	if NGCType == apiStub {
		APIStubGetAll(w, r)
	} else {
		log.Errf("GetAll Failed with TargetNGC %s\n", NGCType)
		w.WriteHeader(http.StatusNotFound)
	}
}