iServer 10i Interface Change

Feedback


Java API changes

 

The bag Class/Interface Fields/Methods/Properties/Events Remark
com.supermap.server.config GlobalSettings   Add global attribute configuration class
repositorySetting Added repository setting

properties

Add new properties
serviceStorage New service configuration information storage
mqInfo New message middleware setting
ServiceStorageInfo   New service configuration information storage class
connInfo Database connection pool information, valid only when storage type is database type

type

storage type
version Service configuration information version number
tableName The table name of service configuration information storage, which is valid only when the storage type is database type
metaTableName Metadata table name of service configuration information storage, which is valid only when the storage type is database type

ServiceStorageType

  Service configuration information storage type enumeration
ServiceSynchronizingConfigInfo   Add the setting class of synchronization service configuration information
ServiceSynchronizingType   New service configuration information synchronization type

ServiceStorageConfigWriter

  New service configuration information storage interface
boolean updateServiceStorageConfigInfo(ServiceStorageInfo info) Update service store config file content
ServerConfiguration

void updateServiceStorageConfig(ServiceStorageInfo info)

Service storage configuration storage information

ServiceStorageInfo getServiceStorageConfigInfo()

Get service storage configuration storage information
updateMQInfo(MQInfo info) Update message queue configuration information
getMQInfo() Get the service message queue configuration information

DistributeAnalysisSetting

datacatalogServiceAddress The root address of datacatalog service address, which is the same as the local service address by default
Config MQInfo getMQInfo() Obtain message-oriented middleware configuration information
ConfigWriter boolean updateMQInfo(MQInfo info) Update message-oriented middleware configuration information
MQConnectionConfig   Message queue connection info

MQInfo

  Message queue configuration information
MQMiddlewType   middleware type
OperationType   Message action type
ServiceConfigWriter   Service Configuration Storage Interface
com.supermap.server.host.webapp.handlers.distributeanalyst

AnalystStartParam

datacatalogServiceAddress The root address of datacatalog service address, which is the same as the local service address by default
com.supermap.services.components.commontypes EngineType DSF New distribute spatial format (DSF)
com.supermap.services.providers DSFMapProvider   DSF map service providers
DSFMapProviderSetting   DSF map service providers and related configuration

HBaseMapProviderSetting

Added support for authentication and hbaseKerberosSetting fields Added support for publishing vector data stored in HBase with Kerberos authentication enabled as map services
HBaseDataProviderSetting Added support for authentication and hbaseKerberosSetting fields Added support for publishing vector data stored in HBase with Kerberos authentication enabled as data services
GeoTrellisMapProvider Added the ability to publish raster data as map services based on Geotrellis technology Supports publishing grid tiles stored in HDFS, HBase, and locally as map services

GeoTrellisMapProviderSetting

Setting configuration class of GeoTrellisMapProvider Publish grid tile as map services parameter setting class, support custom map status (map name, layer), and support multi-temporal
VTPKMapProvider VTPKMapProvider class is added to implement the MapProvider interface Added support for publishing VTPK vector tiles packages as map services
VTPKMapProviderSetting New VTPKMapProviderSetting Class Settings class for VTPKMapProvider

TiledVectorProvider

Added TiledVectorProvider interface Interface to the SPI layer of the vector tiles service
ArcGISCacheV2MapProvider New ArcGISCacheV2MapProvider class The new compact cache that supports the release of ArcGIS V2 is map services
UGCMapProviderSetting Added support for DPI field Setting map DPI is supported when workspace is published as map services
WMSMapProviderSetting Added support for reverseCoordinateSRS field Added support for users to set the coordinate system of the map to determine whether the coordinates need to be flipped.
com.supermap.services.components.spi MVTSupportedProvider New MVTSupportedProvider interface The data services vector slice SPI layer interface
com.supermap.server.common MessageType   Shared Message Type
ServiceConfigMessage Message type of the service configuration

 

REST API changes

Module The name of the resource Resource/Parameter/Request/Expression Remark URL template
/services-rest datasetTileFeature DatasetTileFeatureResource Vector map tile resource added in data services /data/datasources/[index|name]/{datasourceName}/datasets/[index|name]/{datasetName}/tilefeature;
/data/datasources/{datasourceName}/datasets/{datasetName}/tilefeature|
tileFeature prjCoordSys Target projection of new dynamic projection /maps/{mapName}/tileFeature

entireImage

The request of GET operation supports the raster function parameter. Added support for automatic raster operation on raster layers during dynamic plotting /iserver/services/map-world/rest/maps/world map/entireimage.png
image /iserver/services/map-world/rest/maps/world map/image. PNG
tileImage /iserver/services/map-world/rest/maps/world map/entireimage.png
zxyTileImage /iserver/services/map-world/rest/maps/world map/zxyTileImage.png

tilefeature

New tile feature resource for data services Support for dynamic generation of MVTvector tiles is added, which supports Web App to access data services and browse data in vector tiles /iserver/services/data-China100/rest/data/datasources/China/datasets/China_Nation_B_pt/tilefeature.rjson
The request of map services GET operation supports the new prjCoordSys parameter. Add the ability of tileFeature resource query to support dynamic projection /iserver/services/map-world/rest/maps/world map/tile Feature.rjson
/services-rest-management globalSettings GlobalSettingsResource Add global attribute configuration resource /iserver/manager/globalsettings
serviceStorage ServiceStorageResource New service configuration information storage resource /iserver/manager/servicestorage
serviceSynchronizing ServiceSynchronizingResource New service configuration information synchronization resource /iserver/manager/serviceSynchronizingJobs
/manager-rest datastores Added support for authentication and hbaseKerberosSetting fields for request parameters of POST operations Added support for registering Hbase storage with Kerberos authentication, which is used to access the vector data of Hbase storage with KB authentication /iserver/manager/datastores
globalsetting Added globalsetting resource Support for global settings is added, which supports unified settings for global configurations such as system attributes, temporary resource storage methods, and service configuration storage methods /iserver/manager/gloablsetting
datastores The request parameter engineType of the POST operation adds support for GEOTRELLISHDFS enumeration. Support for registering hdfs directory as spatial database is added, which is used to access the raster data stored in hdfs /iserver/manager/datastores
/distributeanalyst-rest copyrasterdata Added copyrasterdata resource Create Copy Grid Data Task /iserver/services/distributedanalyst/rest/v1/jobs/dataprocessing/buildRasterPyramid

 

Config file changes

file path

file name

Configuration item

Remark

{ISERVER_HOME}\webapps\iserver\WEB-INF

iserver-system.xml

server >> < serviceStorage> Configure under the node:

< connInfo> : database connection info

< Username>: The username of the database owner.

< Password>: The password of the database owner

< dbType>:enginetype

< DriverClass>: database-driven class

< JdbcUrl>: The service address of the database

< MaxPool Size >: Maximum number of connections in the connection pool

< InitialPool Size >: The number of connection pool initialization connections

< MinPoolSize:> The minimum number of connections in the connection pool.

< MaxIdleTime>: Maximum idle time of the connection pool

< MaxWait>: connection pool maximum wait time

< Type >: The storage type expected to be imported

< TableName>: the name of the service storage table

< MetaTableName>: the name of the metadata table

< schemaName> : schema name, only if PostgreSQL is configured Database, this item needs to be configured.

New Service Storage Configuration Node
Configure under the server > > < messsageQueueSetting > node:

< Enabled> : Whether the message middleware is available

< config> : message-oriented middleware configuration information

< host>:service address

< Port> : port number

< UserName> : User name, RabbitMQ is expected to be remotely accessible Server The user name of the owner of the messaging server

< Password> : RabbitMQ is expected to be remotely accessible Server The password for the owner of the messaging server

< mqType>:middleware type

Add message-oriented middleware configuration node

Configure under the < com.supermap.services.providers.GeoTrellisMapProvider> node:

< config > : class identifies the configuration class corresponding to the GeoTrellis service providers, that is, GeoTrellisProviderSetting。

< Output Path >: The output path of the image.

< OutputSite>: The root URI to access the image.

< cacheDisabled>:enable cache。

< connInfo> : Data source configuration information.

< EngineType >: Data source engine type, which can be set as HBASE, GEOTRELLISFILE, GEOTRELLISHDFS.

< Server & gt;: specific address of data.

< dataBase>:name.

< MapSettings>: Map setting information. Currently, only data source engines with data registration are supported.

< com.supermap.services.providers.GeotrellisMapSetting> : This node is used to set the to-be-published map name information, and supports setting multiple.

< MapName >: name to be published map name.

< EnableMultiVersion>: whether to enable the multi-version capability. The default value is false.

<layerIds>:tileset name. When < enableMultiVersion> set to true, multiple tileset names are supported.

VersionNames: a list of version names. This parameter is set only when < enableMultiVersion & > is set to true, and the number of settings must be the same as < layerIds> , and they correspond one by one in order.

New map service configuration node (grid data)

Add configuration under the < com.supermap.services.providers.HBaseMapProvider> node.

< authentication >: Whether Kerberos authentication is enabled in HBase.

< hbaseKerberosSetting> : Kerberos authentication settings for HBase.

< CoreXml>: config file for Hadoop cluster Core-Path of the site. XML in the iServer host.

< HDfsXml>: config file hdfs for HDFS cluster-site.xml. The path in the iServer host.

< HbaseXml>: config file for HBase cluster Hbase-Path of the site. XML in the iServer host.

< krb5ConfPath>:Kerberos The path of the client's config file krb5.ini in the iServer host.

Add HBase configuration for enable Kerberos authentication.