GeoServer改造Springboot源码三(数据源管理代码)

一、Controller

package com.gs.springboot.gmserver.datastore.controller;

import cn.hutool.core.convert.Convert;
import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONObject;
import cn.hutool.json.JSONUtil;
import com.gs.springboot.gmserver.core.CommonConstants;
import com.gs.springboot.gmserver.core.PageUtil;
import com.gs.springboot.gmserver.core.R;
import com.gs.springboot.gmserver.core.ValidationGroup;
import com.gs.springboot.gmserver.datastore.vo.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.SneakyThrows;
import org.geoserver.catalog.*;
import org.geotools.coverage.grid.io.GridFormatFinder;
import org.geotools.coverage.grid.io.StructuredGridCoverage2DReader;
import org.geotools.data.DataAccess;
import org.geotools.data.DataAccessFactory;
import org.geotools.data.postgis.PostgisNGDataStoreFac

你可能感兴趣的:(GeoServer付费,spring,boot,Geoserver,数据源管理,封装)