mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
More code cleanups
This commit is contained in:
parent
1a1700d219
commit
92198a40c0
@ -27,6 +27,18 @@ import javax.xml.bind.annotation.XmlTransient;
|
||||
/**
|
||||
* This bean class carries the properties used by some API that needs to be published within the underlying
|
||||
* API-Management infrastructure.
|
||||
*
|
||||
* A sample API configuration accepted by this particular bean class would look like what's shown below.
|
||||
* e.g.
|
||||
*
|
||||
* <API>
|
||||
* <Name>enrollment</Name>
|
||||
* <Owner>admin</Owner>
|
||||
* <Context>/enrol</Context>
|
||||
* <Version>1.0.0</Version>
|
||||
* <Endpoint>http://localhost:9763/</Endpoint>
|
||||
* <Transports>http,https</Transports>
|
||||
* </API>
|
||||
*/
|
||||
@XmlRootElement(name = "API")
|
||||
public class APIConfig {
|
||||
|
||||
@ -36,6 +36,10 @@ import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* This class carries all API configurations used by device management components, that need to be published within
|
||||
* the underlying API-Management infrastructure.
|
||||
*/
|
||||
@XmlRootElement(name = "APIPublisherConfig")
|
||||
public class APIPublisherConfig {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user