Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.trulia.aem.dam.core;
- import org.osgi.service.metatype.annotations.AttributeDefinition;
- import org.osgi.service.metatype.annotations.AttributeType;
- import org.osgi.service.metatype.annotations.ObjectClassDefinition;
- @ObjectClassDefinition(name = "com.trulia.aem.dam.TruliaDAMSettingsConfiguration", description = "Service Configuration")
- public @interface TruliaDAMSettingsConfiguration {
- @AttributeDefinition(name ="Google Maps API Key", description="Google Maps API Key", type = AttributeType.STRING)
- String getGoogleMapsAPIKey() default "" ;
- @AttributeDefinition(name ="Google Maps Zoom Level", description="Google Maps Zoom Level for DAM Map View", type = AttributeType.INTEGER)
- int getGoogleMapsZoomLevel() default 13;
- @AttributeDefinition(name ="Location API Headers", description="")
- String[] getLocationAPIHeaders() default {"x-api-key,8277ec85-b52e-4521-b986-6dc137749d03","Accept,application/json","Cookie,GARBAGE","User-Agent,Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0","x-plugin-version,1.0.1"};
- @AttributeDefinition(name ="Media API Headers", description="")
- String[] getMediaAPIHeaders() default {"x-api-key,8277ec85-b52e-4521-b986-6dc137749d03","Accept,application/json","Cookie,GARBAGE","User-Agent,Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0","x-plugin-version,1.0.1"};
- @AttributeDefinition(name ="API - LocationsforLatLong", description="", type = AttributeType.STRING)
- String getAPILocationsforLatLong() default "";
- @AttributeDefinition(name ="API - LookupNeighborhoodByID", description="", type = AttributeType.STRING)
- String getAPILookupNeighborhoodByID() default "";
- @AttributeDefinition(name ="API - GenerateURL", description="", type = AttributeType.STRING)
- String getUrlForGenerateURL() default "https://neighborhood-media-service-stage.trulia-local.com/admin/neighborhoods/%s/collections/%s";
- @AttributeDefinition(name ="API - CreateCollectionInNeighborhood", description="", type = AttributeType.STRING)
- String getUrlForCreateCollectionInNeighborhood() default "https://neighborhood-media-service-stage.trulia-local.com/admin/neighborhoods/%s/collections";
- @AttributeDefinition(name ="API - GetCollectionById", description="", type = AttributeType.STRING)
- String getUrlForGetCollectionById() default "https://neighborhood-media-service-stage.trulia-local.com/admin/neighborhoods/%s/collections/%s";
- @AttributeDefinition(name ="API - UpdateCollectionOrder", description="", type = AttributeType.STRING)
- String getUrlForUpdateCollectionOrder() default "";
- @AttributeDefinition(name ="API - GetCollectionStatus", description="", type = AttributeType.STRING)
- String getUrlForGetCollectionStatus() default "https://neighborhood-media-service-stage.trulia-local.com/admin/neighborhoods/%s/collections/%s/status";
- @AttributeDefinition(name ="API - AddMediaItemToCollection", description="", type = AttributeType.STRING)
- String getUrlForAddMediaItemToCollection() default "https://neighborhood-media-service-stage.trulia-local.com/admin/neighborhoods/%s/collections/%s/items";
- @AttributeDefinition(name ="API - PreviewURL", description="", type = AttributeType.STRING)
- String getUrlForPreviewURL() default "";
- @AttributeDefinition(name ="API - GetCollectionItems", description="", type = AttributeType.STRING)
- String getUrlForGetCollectionItems() default "";
- @AttributeDefinition(name ="API - UpdateItemInCollection", description="", type = AttributeType.STRING)
- String getUrlForUpdateItemInCollection() default "";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement