Develop Partner Implementation Rest Project

Providers with REST API Support

"partner.impl.deviceManager=true”  - When set to true, Automatics expects Java based implementation of device management and it should be configured in partner-applicationContext.xml against bean "deviceProvider".

partner.impl.powerProvider=true”  - When set to true, Automatics expects Java based implementation of power provider and it should be configured in partner-applicationContext.xml against bean "powerProvider".

“partner.impl.deviceConnectionProvider=true”  - When set to true, Automatics expects Java based implementation of device connection provider and it should be configured in partner-applicationContext.xml against bean "deviceConnectionProvider".

Please refer Automatics Properties for all supported properties.


Following providers can be implemented in REST API form.

ProviderRequest PathConsumed By

Implementation Type Expected from Partner

Configuration in Automatics Properties
DeviceManagement

/deviceManagement/validateDevice

/deviceManagement/queryDevices

/deviceManagement/getDeviceInfo

/deviceManagement/getDeviceDetails

Orchestration


REST API Only
DeviceManagement

/deviceManagement/getDeviceDetails

/deviceManagement/getAccountDetails

/deviceManagement/getDeviceProps

/deviceManagement/device/lock

/deviceManagement/device/release

/deviceManagement/device/allocationStatus

/deviceManagement/device/updateAllocationDuration

 Core

REST API or

JAVA API

if partner.impl.deviceManager=false,

Automatics expects, REST API implementation.

if partner.impl.deviceManager=true,

Automatics expects, JAVA API implementation.


PowerProvider

All Power REST APIs

Core

REST API or

JAVA API

if partner.impl.powerProvider=false,

Automatics expects, REST API implementation.

if partner.impl.powerProvider=true,

Automatics expects, JAVA API implementation.

RemoteProviderAll Remote REST APIsCore

REST API or

JAVA API


Issue/Defect Management ProviderREST APIsOrchestration & CoreREST API Only
DeviceConnectionProvider

/deviceConnection/execute

/deviceConnection/copyFile

 Core

REST API or

JAVA API

if partner.impl.deviceConnectionProvider=false,

Automatics expects, REST API implementation.

if partner.impl.deviceConnectionProvider=true,

Automatics expects, JAVA API implementation.