...
Automatics Partner Implementation
- Add the “Automatics Core” project as the dependency to the pom.xml of Partner Project.
- After partner project development is completed, deploy the project to partner repository by executing “mvn clean deploy”.
Partner XML configuration file
- Using Spring DI without modifying Automatics framework classes, we can configure partner-applicationContext.xml file in partner implementation project so that without any changes in framework, DI can be done. Partner implementation classes are injected into core without modifying code.
- All Java API implementations to be injected into should be configured here.
- partner-applicationContext.xml file contains the bean id with respective implementation class and lazy-init as true, since the instance to be created during runtime and scope is prototype if new instance to be created for each device.
Following are the mandatory or optional instance to be created.
Bean Id (Instance to be created) | Mandatory or Optional |
|
|
testInitializer | Mandatory |
deviceConnectionProvider | Mandatory |
deviceAccessValidator | Mandatory |
deviceConnectionBasedTrace | Mandatory |
serialConnectionBasedTrace | Optional |
powerProvider | Optional |
deviceProvider | Mandatory |
imageUpgradeProviderFactory | Optional |
serialCommandExecutionProvider | Optional |
credentialCryptoProvider | Optional |
Automatics Orchestration - User Manual
...