apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/server/service/ServerReleaseOpenApiService.java/ServerReleaseOpenApiService/publishNamespace
class ServerReleaseOpenApiService:  @Override
  public OpenReleaseDTO publishNamespace(String appId, String env, String clusterName,
      String namespaceName, NamespaceReleaseDTO releaseDTO) {
    NamespaceReleaseModel releaseModel = BeanUtils.transform(NamespaceReleaseModel.class, releaseDTO);

    releaseModel.setAppId(appId);
    releaseModel.setEnv(Env.valueOf(env).toString());
    releaseModel.setClusterName(clusterName);
    releaseModel.setNamespaceName(namespaceName);

    return OpenApiBeanUtils.transformFromReleaseDTO(releaseService.publish(releaseModel));
  }