【解决办法】可以的,需要分为创建服务提供者和服务组件两个步骤。参考请求示例
POST http://localhost:8090/iserver/manager/providers.json?token=?
{"type":"com.supermap.services.providers.SuperMapTilesRealspaceProvider","name":"test-provider1","config":{"s3ConnectionInfo":{"accessKey":"minioadmin","secretKey":"minioadmin","region":null,"endpoint":"http://localhost:9090"},"configFile":"test/Lake@CBD/Lake@CBD.scp","cacheKey":null}}
POST http://localhost:8090/iserver/manager/components.json?token=?
{"type":"com.supermap.services.components.impl.RealspaceImpl","alias":"","name":"test-component1","interfaceNames":"rest","providers":"test-provider1"}