/OSGIFactoryConfigOCD.java Secret
Created
April 12, 2020 22:31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ObjectClassDefinition(name="OCD for Factory Config Demo", description="OCD for Factory config demo") | |
public @interface OSGIFactoryConfigOCD { | |
@AttributeDefinition(name="Endpoint URL", description="Sample Endpoint URL for connecting to third party", type=AttributeType.STRING) | |
String apiEndpoint() default "http://xyz.com"; | |
@AttributeDefinition(name="API Key", description="Sample API key for connecting to third party", type=AttributeType.STRING) | |
String apiKey() default "XYZ"; | |
@AttributeDefinition(name="SiteName", description="Sample Site name used as an identifier for respective factory config", type=AttributeType.STRING) | |
String siteNameIdentifier() default "demosite"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment