Author: angelo.vandersijpt at luminis.eu
Date: Mon Jan 24 14:25:20 2011
New Revision: 699

Log:
AMDATU-273 Added basic metatype information to the shindig service.

Added:
   trunk/amdatu-opensocial/shindig/src/main/resources/OSGI-INF/
   trunk/amdatu-opensocial/shindig/src/main/resources/OSGI-INF/metatype/
   
trunk/amdatu-opensocial/shindig/src/main/resources/OSGI-INF/metatype/metatype.xml

Added: 
trunk/amdatu-opensocial/shindig/src/main/resources/OSGI-INF/metatype/metatype.xml
==============================================================================
--- (empty file)
+++ 
trunk/amdatu-opensocial/shindig/src/main/resources/OSGI-INF/metatype/metatype.xml
   Mon Jan 24 14:25:20 2011
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0";>
+    <OCD id="org.amdatu.opensocial.shindig" name="Amdatu Shindig">
+        <AD id="shindig.features.default" name="shindig.features.default" 
type="String" description="Location of feature manifests (comma separated)"/>
+
+        <AD id="shindig.containers.default" name="shindig.containers.default" 
type="String" description="Location of container configurations (comma 
separated)"/>
+
+        <AD id="shindig.blacklist.file" name="shindig.blacklist.file" 
type="String" description="A file containing blacklisted gadgets."/>
+
+        <AD id="shindig.oauth.base-url" name="shindig.oauth.base-url" 
type="String" description="The URL base to use for full OAuth support 
(three-legged)"/>
+        <AD id="shindig.oauth.authorize-action" 
name="shindig.oauth.authorize-action" type="String"/>
+
+        <AD id="shindig.signing.state-key" name="shindig.signing.state-key" 
type="String"/>
+        <AD id="shindig.signing.key-name" name="shindig.signing.key-name" 
type="String"/>
+        <AD id="shindig.signing.global-callback-url" 
name="shindig.signing.global-callback-url" type="String"/>
+        <AD id="shindig.signing.enable-signed-callbacks" 
name="shindig.signing.enable-signed-callbacks" type="String"/>
+
+        <AD id="shindig.signing.viewer-access-tokens-enabled" 
name="shindig.signing.viewer-access-tokens-enabled" type="String" 
description="Set to true if you want to allow the use of 3-legged OAuth tokens 
when viewer != owner. This setting is not recommeneded for pages that allow 
user-controlled javascript, since that javascript could be used to make 
unauthorized requests on behalf of the viewer of the page"/>
+
+        <AD id="shindig.locked-domain.enabled" 
name="shindig.locked-domain.enabled" type="String" description="If enabled 
here, configuration values can be found in container configuration files."/>
+      
+        <AD id="shindig.content-rewrite.only-allow-excludes" 
name="shindig.content-rewrite.only-allow-excludes" type="String"/>
+        <AD id="shindig.content-rewrite.include-urls" 
name="shindig.content-rewrite.include-urls" type="String"/>
+        <AD id="shindig.content-rewrite.exclude-urls" 
name="shindig.content-rewrite.exclude-urls" type="String"/>
+        <AD id="shindig.content-rewrite.include-tags" 
name="shindig.content-rewrite.include-tags" type="String"/>
+        <AD id="shindig.content-rewrite.expires" 
name="shindig.content-rewrite.expires" type="String"/>
+        <AD id="shindig.content-rewrite.proxy-url" 
name="shindig.content-rewrite.proxy-url" type="String"/>
+        <AD id="shindig.content-rewrite.concat-url" 
name="shindig.content-rewrite.concat-url" type="String"/>
+        <AD id="shindig.content-rewrite.enable-split-js-concat" 
name="shindig.content-rewrite.enable-split-js-concat" type="String"/>
+
+        <AD id="shindig.gadget-rewrite.default-forced-libs" 
name="shindig.gadget-rewrite.default-forced-libs" type="String" 
description="Default set of forced libs to allow for better caching NOTE: 
setting this causes the EndToEnd test to fail the opensocial-templates test"/>
+
+        <AD id="shindig.gadget-rewrite.externalize-feature-libs" 
name="shindig.gadget-rewrite.externalize-feature-libs" type="String" 
description="Allow supported JavaScript features required by a gadget to be 
externalized on demand"/>
+
+        <AD id="shindig.image-rewrite.max-inmem-bytes" 
name="shindig.image-rewrite.max-inmem-bytes" type="String" 
description="Configuration for image rewriter"/>
+        <AD id="shindig.image-rewrite.max-palette-size" 
name="shindig.image-rewrite.max-palette-size" type="String" 
description="Configuration for image rewriter"/>
+        <AD id="shindig.image-rewrite.allow-jpeg-conversion" 
name="shindig.image-rewrite.allow-jpeg-conversion" type="String" 
description="Configuration for image rewriter"/>
+        <AD id="shindig.image-rewrite.jpeg-compression" 
name="shindig.image-rewrite.jpeg-compression" type="String" 
description="Configuration for image rewriter"/>
+        <AD id="shindig.image-rewrite.min-threshold-bytes" 
name="shindig.image-rewrite.min-threshold-bytes" type="String" 
description="Configuration for image rewriter"/>
+
+        <AD id="shindig.flash.min-version" name="shindig.flash.min-version" 
type="String" description="Configuration for the os:Flash tag"/>
+      
+        <AD id="shindig.template-rewrite.extension-tag-namespace" 
name="shindig.template-rewrite.extension-tag-namespace" type="String" 
description="Configuration for template rewriter"/>
+
+        <AD id="shindig.cache.http.defaultTtl" 
name="shindig.cache.http.defaultTtl" type="String" description="These values 
provide default TTLs for HTTP responses that don't use caching headers."/>
+        <AD id="shindig.cache.http.negativeCacheTtl" 
name="shindig.cache.http.negativeCacheTtl" type="String" description="These 
values provide default TTLs for HTTP responses that don't use caching 
headers."/>
+      
+        <AD id="shindig.cache.xml.refreshInterval" 
name="shindig.cache.xml.refreshInterval" type="String" description="A default 
refresh interval for XML files, since there is no natural way for developers to 
specify this value, and most HTTP responses don't include good cache control 
headers. this setting (1) prevents the XML files to be cached forever, handy 
during development"/>
+
+        <AD id="shindig.cache.lru.default.capacity" 
name="shindig.cache.lru.default.capacity" type="String" description="Add 
entries in the form shindig.cache.lru.<name>.capacity to specify capacities for 
different caches when using the LruCacheProvider. It is highly recommended that 
the EhCache implementation be used instead of the LRU cache."/>
+        <AD id="shindig.cache.lru.expressions.capacity" 
name="shindig.cache.lru.expressions.capacity" type="String" description="Add 
entries in the form shindig.cache.lru.<name>.capacity to specify capacities for 
different caches when using the LruCacheProvider. It is highly recommended that 
the EhCache implementation be used instead of the LRU cache."/>
+        <AD id="shindig.cache.lru.gadgetSpecs.capacity" 
name="shindig.cache.lru.gadgetSpecs.capacity" type="String" description="Add 
entries in the form shindig.cache.lru.<name>.capacity to specify capacities for 
different caches when using the LruCacheProvider. It is highly recommended that 
the EhCache implementation be used instead of the LRU cache."/>
+        <AD id="shindig.cache.lru.messageBundles.capacity" 
name="shindig.cache.lru.messageBundles.capacity" type="String" description="Add 
entries in the form shindig.cache.lru.<name>.capacity to specify capacities for 
different caches when using the LruCacheProvider. It is highly recommended that 
the EhCache implementation be used instead of the LRU cache."/>
+        <AD id="shindig.cache.lru.httpResponses.capacity" 
name="shindig.cache.lru.httpResponses.capacity" type="String" description="Add 
entries in the form shindig.cache.lru.<name>.capacity to specify capacities for 
different caches when using the LruCacheProvider. It is highly recommended that 
the EhCache implementation be used instead of the LRU cache."/>
+
+        <AD id="shindig.cache.ehcache.config" 
name="shindig.cache.ehcache.config" type="String" description="The location of 
the EhCache configuration file."/>
+      
+        <AD id="shindig.cache.ehcache.jmx.enabled" 
name="shindig.cache.ehcache.jmx.enabled" type="String" description="True to 
enable JMX integration with cache stats"/>
+      
+        <AD id="shindig.cache.ehcache.jmx.stats" 
name="shindig.cache.ehcache.jmx.stats" type="String" description="true to 
enable JMX stats."/>
+      
+        <AD id="shindig.http.fast-encoding-detection" 
name="shindig.http.fast-encoding-detection" type="String" description="true to 
skip expensive encoding detection. if true, will only attempt to validate 
utf-8. Assumes all other encodings are ISO-8859-1."/>
+      
+        <AD id="shindig.http.client.connection-timeout-ms" 
name="shindig.http.client.connection-timeout-ms" type="String" 
description="Configuration for the HttpFetcher Connection timeout, in 
milliseconds, for requests."/>
+      
+        <AD id="shindig.http.client.max-object-size-bytes" 
name="shindig.http.client.max-object-size-bytes" type="String" 
description="Maximum size, in bytes, of the object we fetched, 0 == no limit"/>
+
+        <AD id="shindig.uri.proxy.use-strict-parsing" 
name="shindig.uri.proxy.use-strict-parsing" type="String" 
description="Strict-mode parsing for proxy and concat URIs ensures that the 
authority/host and path for the URIs match precisely what is found in the 
container config for it. This is useful where statistics and traffic routing 
patterns, typically in large installations, key on hostname (and occasionally 
path). Enforcing this does come at the cost that mismatches break, which in 
turn mandates that URI generation always happen in consistent fashion, ie. by 
the class itself or tightly controlled code."/>
+        <AD id="shindig.uri.concat.use-strict-parsing" 
name="shindig.uri.concat.use-strict-parsing" type="String" 
description="Strict-mode parsing for proxy and concat URIs ensures that the 
authority/host and path for the URIs match precisely what is found in the 
container config for it. This is useful where statistics and traffic routing 
patterns, typically in large installations, key on hostname (and occasionally 
path). Enforcing this does come at the cost that mismatches break, which in 
turn mandates that URI generation always happen in consistent fashion, ie. by 
the class itself or tightly controlled code."/>
+
+        <AD id="org.apache.shindig.gadgets.http.basicHttpFetcherProxy" 
name="org.apache.shindig.gadgets.http.basicHttpFetcherProxy" type="String" 
description="Host:port of the proxy to use while fetching urls. Leave blank if 
proxy is not to be used."/>
+        <AD id="org.apache.shindig.serviceExpirationDurationMinutes" 
name="org.apache.shindig.serviceExpirationDurationMinutes" type="String"/>
+        <AD id="shindig.json-rpc.result-field" 
name="shindig.json-rpc.result-field" type="String" description="Older versions 
of shindig used 'data' in the json-rpc response format The spec calls for using 
'result' instead, however to avoid breakage we allow you to set it back to the 
old way here">
+            <Option label="new form" value="result"/>
+            <Option label="old broken form" value="data"/>
+            <Option label="return both fields for full compatibility" 
value="both"/>
+         </AD>
+        <AD id="shindig.host" name="shindig.host" type="String"/>
+        <AD id="shindig.port" name="shindig.port" type="String"/>
+    </OCD>
+    <Designate pid="org.amdatu.opensocial.shindig">
+        <Object ocdref="org.amdatu.opensocial.shindig"/>
+    </Designate>
+</metatype:MetaData>
\ No newline at end of file

Reply via email to