iPortal 11i(2024) Interface Changes

Feedback


Java API Changes

Package Class/Interface Field/Method/Property/Event Note

com.supermap.iportal.web.commontypes

Design3DSearchParameter New Field CheckStatus Parent class adds the field
GPAModelSearchParameter
NotebookSearchParameter
ResourceMigrationParameter New Class Resource migration parameter class
InsightsWorkspaceSearchParameter

New Field CheckStatus

Insight audit

MessageObjectType

New Enumeration:INSIGHTS_WORKSPACE_CHECK

Insight audit news

SceneSearchParameter

New Field CheckStatus

Scene audit

MessageObjectType

New Enumeration:SCENE_CHECK

Scene audit news

WebAppObject

New Field String checkUserNick

Auditor nickname

DataItemSearchParameter New Field CheckStatus

Data audit

MessageObjectType New Enumeration:DATA_CHECK Data audit news
MapDashboardSearchParameter New Field CheckStatus Dashboard audit
ConfigCostant New Field String RESOURCE_AUDIT_SETTINGS Resource audit configuration
SpriteInfo New Class Sprite parameters
DatabaseInfo New Class Database data request body
RegisterDBConnectionInfo New Class Database connection parameters
RegisterDBTypeEnum New Class Database type
DataMetaInfo New Field DatabaseInfo databaseInfo Metadata field storage information
CheckInfo New Field Long checkTime Audit time
CheckInfoSearchParameter New Field Integer[] resourceIds Query which resources audit information
MessageObjectType New Enumeration:MAP_DASHBOARD_CHECK Dashboard audit news
ResourceCheckStatusSetting New Class Resource audit status parameter class
DBVersion New Enumeration:V00_130 Add check_time,check_user,verify_reason fields to dataitems,scenes,insightworkspaces, map_dashboard,gpa_model ,notebooks,design_3d tables
WebAppObject New Field String checkUser Auditor
New Field String checkUser Audit time
New Field String verifyReason Audit reason
CheckInfoBase New Class Audit related basic content
CheckInfoSearchParameter New Enumeration:SCENE Quary scene audit information
New Enumeration:DATA Quary data audit information
New Enumeration:INSIGHTS_WORKSPACE Quary insight audit information
New Enumeration:MAP_DASHBOARD Quary dashboard audit information
New Enumeration:NOTEBOOK Quary notebook audit information
New Enumeration:GPA_MODEL Quary GPA audit information
New Enumeration:IMAGE_X Quary imagex audit information
New Enumeration:DESIGN_3D Quary 3D design audit information
RegisteredUserCheckInfo New Class Registered user audit information
ResourceCheckInfo New Class Resource audit information
Constant New Field String TABLENAME_RESOURCE_CHECK_INFO New resource audit table
New Field String TABLENAME_REGISTERED_USER_CHECK_INFO New registered user audit form
DBVersion New Enumeration:V00_129 Delete checkinfos table,add resource_check_info and registered_user_check_info tables, add  checkStatus field for dataitems ,scenes,insightworkspaces ,map_dashboard,gpa_model ,notebooks,design_3d tables
DataItemAttributes

New Field CheckStatus checkStatus

Audit status

GPAModelAttributes

 

SceneInfoAttributes

 

WebAppAttributes

 

WebAppObject

 

TableNameSearchParameter

New Class

Query the patameters of the table name in the database

RegisterDBConnectionInfo

New Class

Register database connection information

com.supermap.server.config IportalSetting New Field List<ResourceAuditSetting> resourceAuditSettings Resource audit settings
ResourceAuditSetting New Class Resource audit settings category

IportalSettingParser

New Field String RESOURCE_AUDIT_SETTINGS

New Field String RESOURCE_AUDIT_SETTING

Resource audit settings

MapViewerSetting

New Field int maxSpriteSize

New Field SpriteStoreType spriteStoreType

 

ModulesConfig

New Attribute:jdbcDataServerConfig

The configuration of jdbc-data-server dependent on iportal
IportalJDBCDataServerConfig New Class jdbc-data-server related configuration

REST  API Changes

Module Resource Name Resource/Parameter/Request/Representation Note

iportal

searchResource

GET:resource search

New request parameter:TextSearchField[] textSearchFields:Specify the fields to be searched for keywords

Change Resource

/gateway/catalog/resource/search.json

globalSearch

Change Resource

/gateway/catalog/search.json

addDataItem

POST:upload data

Request body patameter type new enumeration:GDB。

Change Resource

/iportal/web/mycontent/datas.json

migrateResource

POST:Migrate a user's resources to another user

Path parameters:none

Request body:com.supermap.iportal.web.commontypes.ResourceMigrationParameter

Response:com.supermap.services.rest.MethodResult

New Resource

/manager/resourceMigration.json

getResourceContent

GET: Data resources the current user can manage

New query patameters:CheckStatus checkStatus:audit status

Change Resource

/iportal/manager/iportalconfig/datasmanage.json

GET: Scene resources the current user can manage

New query patameters:CheckStatus checkStatus:audit status

Change Resource

/iportal/manager/iportalconfig/scenesmanage .json

GET: Insight resources the current user can manage

New query patameters:CheckStatus checkStatus:audit status

Change Resource

/iportal/manager/iportalconfig/insightsmanage .json

GET: Dashboard resources the current user can manage

New query patameters:CheckStatus checkStatus:audit status

Change Resource

/iportal/manager/iportalconfig/mapdashboardsmanage .json

GET: GPA resources the current user can manage

New query patameters:CheckStatus checkStatus:audit status

Change Resource

/iportal/manager/iportalconfig/gpamodelsmanage .json

GET: Notebook resources the current user can manage

New query patameters:CheckStatus checkStatus:audit status

Change Resource

/iportal/manager/iportalconfig/notebooksmanage .json

GET: 3D design resources the current user can manage

New query patameters:CheckStatus checkStatus:audit status

Change Resource

/iportal/manager/iportalconfig/design3dsmanage.json

getResourceCheckStatusResource

PUT:update resource audit status

Path parameters:none

Request body:com.supermap.iportal.web.commontypes.ResourceCheckStatusSetting

Response:com.supermap.services.rest.MethodResult

New Resource

/web/resources/checkstatus.json

update

PUT:enable/disable some resource audit function

Path parameters:none

Request body:List<com.supermap.server.config.ResourceAuditSetting>

Response:void

New Resource

/manager/iportalconfig/resourcecheck.json

searchResource

GET:resource search

New request parameter: dirLevel : the directory level used to distinguish the search is a site-level directory or a personal directory

Change Resource

/gateway/catalog/resource/search.json

getSprite

GET:sprite chart

Path parameters:id

Response:javax.ws.rs.core.Response

New Resource

/iportal/web/maps/{mapid}/sprites/sprite

addSprite

GET:add or modify sprite chart

Path parameters:id

Request body:SpriteInfo

Response:javax.ws.rs.core.Response

New Resource

/iportal/web/maps/{mapid}/sprites

oAuthLogin

GET:third party login

New 'WX' type for loginType interface

Change Resource
/iportal/services/security/login/{loginType}
IportalDatasResource

POST:paging query for table name in database

Path parameters:none

Request body:com.supermap.iportal.web.commontypes.TableNameSearchParameter

Response:Page<String>

/iportal/datas/db/tablenames.json

Configuration File Changes

File Path

File Name

Configuration Item Note

webapps\iportal\WEB-INF

iportal.xml

resourceAuditSettings

Redesign the configuration of resource audit, put all the configuration of resource audit in a label, but the label name is fixed, and the distinguish the resource type according to the value

webapps\iportal\WEB-INF

iportal.xml

jdbcDataServerConfig

Added jdbc-data-server configuration for iportal dependencies to specify whether to start built-in services and sevice address