Java API Changes

Package Class/Interface Field/Method/Property/Event Note
com.supermap.iportal.web.commontypes ServiceRootUrl Added property: credentialId (Integer) Credential associated with the batch-registered services
ServiceRootUrl Added property: isCredentialValid(Boolean) Whether the credential associated with the batch-registered services is valid, default value true
BatchRegisterSetting Added property: credentialId (Integer) Credential associated with the batch-registered services
SourceType Added enumeration values: ARCGIS_REST_BIGDATACATALOG_SERVICE,
    ARCGIS_REST_FEATURE_SERVICE,
    ARCGIS_REST_GEOCODE_SERVICE,
    ARCGIS_REST_GEODATA_SERVICE,
    ARCGIS_REST_GP_SERVICE,
    ARCGIS_REST_GLOBE_SERVICE,
    ARCGIS_REST_IMAGE_SERVICE,
    ARCGIS_REST_KNOWLEDGEGRAPH_SERVICE,
    ARCGIS_REST_LR_SERVICE,
    ARCGIS_REST_MAP_SERVICE,
    ARCGIS_REST_MOBILE_SERVICE,
    ARCGIS_REST_NETWORKDIAGRAM_SERVICE,
    ARCGIS_REST_PARCELFABRIC_SERVICE,
    ARCGIS_REST_RELATIONALCATALOG_SERVICE,
    ARCGIS_REST_NA_SERVICE,
    ARCGIS_REST_SCENE_SERVICE,
    ARCGIS_REST_STREAM_SERVICE,
    ARCGIS_REST_TOPOGRAPHICPRODUCTION_SERVICE,
    ARCGIS_REST_TRACENETWORK_SERVICE,
    ARCGIS_REST_UTILITYNETWORK_SERVICE,
    ARCGIS_REST_VALIDATION_SERVICE,
    ARCGIS_REST_VECTORTILE_SERVICE,
    ARCGIS_REST_VERSIONMANAGEMENT_SERVICE
Added ArcGIS service subtypes. Enumeration value format specification: ARCGIS_REST_***
com.supermap.iportal.web.commontypes DataItem Added enumeration value: DB_WORKSPACE Database-type workspace
PublishData Added property: workspacePath(String) workspacePath used when publishing services

 

REST API Changes

Module Resource Name Resource/Parameter/Request/Representation Note

iportal

IportalServicesResource PUT: Update the address and bound credential of the directory service
  Path parameter: rooturlid ID of the directory service to update
  Request body: com.supermap.iportal.web.commontypes.ServiceRootUrl
  Response: com.supermap.iportal.web.commontypes.MethodResult
The request body only retrieves rootUrl and
credentialId parameters
IportalWebSFSResource POST: User uploads files to share directory
  Path parameter: id ID of the file directory to upload to
  Response: com.supermap.iportal.web.commontypes.TreeResourceCatalogResponse
 
GET: User downloads files from share directory
  Path parameter: id ID of the file to download
  Request parameter: downloadAndRemove Remove the original file after download, default value false
  Response: File stream
 

Config File Changes

File Path

File Name

Configuration Item Note
webapps\iportal\WEB-INF iportal.xml <uploadSetting> 
   <fileSuffixWhiteList></fileSuffixWhiteList>
</uploadSetting>
Added configuration: fileSuffixWhiteList node, upload file suffix whitelist configuration

webapps\iportal\WEB-INF

iportal.xml

<captchaConfig><!-- Captcha Configuration -->
            <enable>false</enable><!-- Enable captcha -->
            <length>4</length><!-- Captcha length -->
            <expire>120</expire><!-- Captcha expiration time (in seconds) -->
        </captchaConfig>
Removed the captchaConfig node from the iPortal.xml config file, migrated to iserver-system.xml

webapps\iportal\WEB-INF

iportal.xml

<loginSetting> 
    <disableAnonymous>false</disableAnonymous>
</loginSetting>
Prohibit anonymous users from accessing pages other than the iPortal login page

webapps\iportal\WEB-INF

iportal.xml

<defaultUserResourceQuotas> 
   <resourceQuota>   
      <maxQuota>500</maxQuota>    
      <quotaType>WEB_SFS_DOWNLOAD_FILE_SIZE</quotaType>   
   </resourceQuota>     
  <resourceQuota>   
      <maxQuota>500</maxQuota>    
      <quotaType>WEB_SFS_UPLOAD_FILE_SIZE</quotaType>   
  </resourceQuota>  
</defaultUserResourceQuotas>
Added enumeration
WEB_SFS_DOWNLOAD_FILE_SIZE: Quota for the file size downloaded by users from the share directory, in MB
WEB_SFS_UPLOAD_FILE_SIZE: Quota for the single file size uploaded by users to the share directory