Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfogell2006-02-03 16:33:43 -0500
committerjfogell2006-02-03 16:33:43 -0500
commit1421712c7fcb100341a4b5deeb4afa9250a0c5a0 (patch)
tree8c4cb96f90e38f86a023c6354b227616ac71fbb9
parent0fa6a2047b095f5ecc82817b2613299bb2b1b1c3 (diff)
downloadrt.equinox.bundles-1421712c7fcb100341a4b5deeb4afa9250a0c5a0.tar.gz
rt.equinox.bundles-1421712c7fcb100341a4b5deeb4afa9250a0c5a0.tar.xz
rt.equinox.bundles-1421712c7fcb100341a4b5deeb4afa9250a0c5a0.zip
update metadata miles for httpservice
-rw-r--r--bundles/org.eclipse.equinox.http/META-INF/METADATA.XML158
-rw-r--r--bundles/org.eclipse.equinox.http/OSGI-INF/l10n/bundle_en.properties (renamed from bundles/org.eclipse.equinox.http/src/META-INF/METADATA_en.properties)0
-rw-r--r--bundles/org.eclipse.equinox.http/OSGI-INF/metatype/METADATA.XML20
3 files changed, 20 insertions, 158 deletions
diff --git a/bundles/org.eclipse.equinox.http/META-INF/METADATA.XML b/bundles/org.eclipse.equinox.http/META-INF/METADATA.XML
deleted file mode 100644
index bd66fd36..00000000
--- a/bundles/org.eclipse.equinox.http/META-INF/METADATA.XML
+++ /dev/null
@@ -1,158 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<METADATA>
-
- <ATTRIBUTEDEFINITION ID='http.minThreads' TYPE='Integer' DEFAULTVALUE='4'>
- <NAME>
- <STRING KEY="MIN_THREADS" DEFAULT="Minimum Threads" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="MIN_THREADS_DESC" DEFAULT="The minimum number of threads allotted to the Http Service" />
- </DESCRIPTION>
- <CARDINALITY TYPE='SCALAR' SIZE='' />
- <VALIDATE>
- <RANGE MIN='0' MAX='63' />
- </VALIDATE>
- </ATTRIBUTEDEFINITION>
- <ATTRIBUTEDEFINITION ID='http.maxThreads' TYPE='Integer' DEFAULTVALUE='20'>
- <NAME>
- <STRING KEY="MAX_THREADS" DEFAULT="Maximum Threads" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="MAX_THREADS_DESC" DEFAULT="The maximum number of threads allotted to the Http Service" />
- </DESCRIPTION>
- <CARDINALITY TYPE='SCALAR' SIZE='' />
- <VALIDATE>
- <RANGE MIN='0' MAX='63' />
- </VALIDATE>
- </ATTRIBUTEDEFINITION>
- <ATTRIBUTEDEFINITION ID='http.threadPriority' TYPE='Integer' DEFAULTVALUE='5'>
- <NAME>
- <STRING KEY="THREAD_PRIORITY" DEFAULT="Thread Priority" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="THREAD_PRIORITY_DESC" DEFAULT="The priority of the Http Service Threads" />
- </DESCRIPTION>
- <CARDINALITY TYPE='SCALAR' SIZE='' />
- <VALIDATE>
- <RANGE MIN='1' MAX='10' />
- </VALIDATE>
- </ATTRIBUTEDEFINITION>
- <ATTRIBUTEDEFINITION ID='http.address' TYPE='String' DEFAULTVALUE='ALL'>
- <NAME>
- <STRING KEY="ADDRESS" DEFAULT="Host Address" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="ADDRESS_DESC" DEFAULT="The Host Address to listen on" />
- </DESCRIPTION>
- <CARDINALITY TYPE='SCALAR' SIZE='' />
- </ATTRIBUTEDEFINITION>
- <ATTRIBUTEDEFINITION ID='http.port' TYPE='Integer' DEFAULTVALUE='80'>
- <NAME>
- <STRING KEY="PORT_NUMBER" DEFAULT="Port Number" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="PORT_NUMBERY_DESC" DEFAULT="The port number" />
- </DESCRIPTION>
- <CARDINALITY TYPE='SCALAR' SIZE='' />
- <VALIDATE>
- <RANGE MIN='0' MAX='65535' />
- </VALIDATE>
- </ATTRIBUTEDEFINITION>
- <ATTRIBUTEDEFINITION ID='http.scheme' TYPE='String' DEFAULTVALUE='http'>
- <NAME>
- <STRING KEY="PORT_SCHEME" DEFAULT="Port Scheme" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="PORT_SCHEME_DESC" DEFAULT="The protocol" />
- </DESCRIPTION>
- <CARDINALITY TYPE='SCALAR' SIZE='' />
- <VALIDATE>
- <SET>
- <OPTION VALUE='http'>
- <LABEL>
- <STRING KEY="HTTP" DEFAULT="http" />
- </LABEL>
- </OPTION>
- <OPTION VALUE='https'>
- <LABEL>
- <STRING KEY="HTTPS" DEFAULT="https" />
- </LABEL>
- </OPTION>
- </SET>
- </VALIDATE>
- </ATTRIBUTEDEFINITION>
- <ATTRIBUTEDEFINITION ID='http.timeout' TYPE='Integer' DEFAULTVALUE='30'>
- <NAME>
- <STRING KEY="THREAD_TIMEOUT" DEFAULT="Keep-Alive thread timeout" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="THREAD_TIMEOUT_DESC" DEFAULT="The number of seconds to wait for another request before reclaiming the thread" />
- </DESCRIPTION>
- <CARDINALITY TYPE='SCALAR' SIZE='' />
- <VALIDATE>
- <RANGE MIN='0' MAX='600' />
- </VALIDATE>
- </ATTRIBUTEDEFINITION>
- <ATTRIBUTEDEFINITION ID='service.ranking' TYPE='Integer' DEFAULTVALUE='0'>
- <NAME>
- <STRING KEY="SERVICE_RANKING" DEFAULT="Service Ranking" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="SERVICE_RANKING_DESC" DEFAULT="The service ranking framework property" />
- </DESCRIPTION>
- <CARDINALITY TYPE='SCALAR' SIZE='' />
- </ATTRIBUTEDEFINITION>
-
- <OBJECTCLASSDEFINITION ID='org.eclipse.equinox.http.Http' TYPE="PID">
- <NAME>
- <STRING KEY="HTTP_GEN_SETTINGS" DEFAULT="Http Service General Settings" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="HTTP_GEN_SETTINGS_DESC" DEFAULT="The general settings for the Http Service" />
- </DESCRIPTION>
- <ATTRIBUTE ID="http.minThreads" REQUIRED="yes" />
- <ATTRIBUTE ID="http.maxThreads" REQUIRED="yes" />
- <ATTRIBUTE ID="http.threadPriority" REQUIRED="yes" />
- </OBJECTCLASSDEFINITION>
- <OBJECTCLASSDEFINITION ID='org.eclipse.equinox.http.HttpFactory' TYPE="FACTORYPID">
- <NAME>
- <STRING KEY="HTTP_SETTINGS" DEFAULT="Http Service Settings" />
- </NAME>
- <DESCRIPTION>
- <STRING KEY="HTTP_SETTINGS_DESC" DEFAULT="The configurable settings for each registered Http Service" />
- </DESCRIPTION>
- <ATTRIBUTE ID="http.address" REQUIRED="yes"/>
- <ATTRIBUTE ID="http.port" REQUIRED="yes"/>
- <ATTRIBUTE ID="http.scheme" REQUIRED="yes"/>
- <ATTRIBUTE ID="http.timeout" REQUIRED="yes"/>
- <ATTRIBUTE ID="service.ranking" REQUIRED="yes"/>
- </OBJECTCLASSDEFINITION>
-
- <LOCALES>
- <LOCALE NAME="en" />
- <LOCALE NAME="de" />
- <LOCALE NAME="es" />
- <LOCALE NAME="fr" />
- <LOCALE NAME="it" />
- <LOCALE NAME="ja" />
- <LOCALE NAME="ko" />
- <LOCALE NAME="pt_BR" />
- <LOCALE NAME="zh_CN" />
- <LOCALE NAME="zh_TW" />
- <LOCALE NAME="ar" />
- <LOCALE NAME="cs" />
- <LOCALE NAME="da" />
- <LOCALE NAME="el" />
- <LOCALE NAME="fi" />
- <LOCALE NAME="hu" />
- <LOCALE NAME="nl" />
- <LOCALE NAME="pl" />
- <LOCALE NAME="pt" />
- <LOCALE NAME="nb" />
- <LOCALE NAME="no" />
- <LOCALE NAME="ru" />
- <LOCALE NAME="sv" />
- <LOCALE NAME="tr" />
- </LOCALES>
-
-</METADATA>
diff --git a/bundles/org.eclipse.equinox.http/src/META-INF/METADATA_en.properties b/bundles/org.eclipse.equinox.http/OSGI-INF/l10n/bundle_en.properties
index c363862d..c363862d 100644
--- a/bundles/org.eclipse.equinox.http/src/META-INF/METADATA_en.properties
+++ b/bundles/org.eclipse.equinox.http/OSGI-INF/l10n/bundle_en.properties
diff --git a/bundles/org.eclipse.equinox.http/OSGI-INF/metatype/METADATA.XML b/bundles/org.eclipse.equinox.http/OSGI-INF/metatype/METADATA.XML
new file mode 100644
index 00000000..3b64d2ea
--- /dev/null
+++ b/bundles/org.eclipse.equinox.http/OSGI-INF/metatype/METADATA.XML
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0">
+ <OCD id="org.eclipse.equinox.http.Http" name="%HTTP_GEN_SETTINGS" description="%HTTP_GEN_SETTINGS_DESC">
+ <AD id="http.minThreads" type="Integer" default="4" name="%MIN_THREADS" description="%MIN_THREADS_DESC" cardinality="0" min="0" max="63" />
+ <AD id="http.maxThreads" type="Integer" default="20" name="%MAX_THREADS" description="%MAX_THREADS_DESC" cardinality="0" min="0" max="63" />
+ <AD id="http.threadPriority" type="Integer" default="5" name="%THREAD_PRIORITY" description="%THREAD_PRIORITY_DESC" cardinality="0" min="1" max="10" />
+ </OCD>
+ <OCD id="org.eclipse.equinox.http.HttpFactory" name="%HTTP_SETTINGS" description="%HTTP_SETTINGS_DESC">
+ <AD id="http.address" type="String" default="ALL" name="%ADDRESS" description="%ADDRESS_DESC" cardinality="0" />
+ <AD id="http.port" type="Integer" default="80" name="%PORT_NUMBER" description="%PORT_NUMBER_DESC" cardinality="0" min="0" max="65535"/>
+ <AD id="http.timeout" type="Integer" default="30" name="%THREAD_TIMEOUT" description="%THREAD_TIMEOUT_DESC" cardinality="0" min="0" max="600" />
+ <AD id="service.ranking" type="Integer" default="0" name="%SERVICE_RANKING" description="%SERVICE_RANKING_DESC" cardinality="0"/>
+ </OCD>
+ <Designate pid="org.eclipse.equinox.http.Http">
+ <Object ocdref="org.eclipse.equinox.http.Http"/>
+ </Designate>
+ <Designate pid="org.eclipse.equinox.http.HttpFactory" factoryPid="org.eclipse.equinox.http.HttpFactory">
+ <Object ocdref="org.eclipse.equinox.http.HttpFactory"/>
+ </Designate>
+</metatype:MetaData>

Back to the top