<?xml version="1.0" ?>

<feature-spec xmlns="urn:jboss:galleon:feature-spec:2.0" name="subsystem.undertow" stability="default">
    <annotation name="jboss-op">
        <elem name="name" value="add"/>
        <elem name="op-params" value="default-security-domain,default-server,default-servlet-container,default-virtual-host,instance-id,obfuscate-session-route,statistics-enabled"/>
        <elem name="addr-params" value="profile,subsystem"/>
    </annotation>
    <annotation name="feature-branch">
        <elem name="id" value="subsystem.undertow"/>
    </annotation>
    <provides>
        <capability name="$profile.org.wildfly.undertow"/>
        <capability name="$profile.org.wildfly.undertow.http-invoker"/>
    </provides>
    <requires>
        <capability name="$profile.org.wildfly.undertow.host.$default-server.$default-virtual-host" optional="true"/>
        <capability name="$profile.org.wildfly.undertow.servlet-container.$default-servlet-container" optional="true"/>
        <capability name="$profile.org.wildfly.undertow.server.$default-server" optional="true"/>
    </requires>
    <refs>
        <ref feature="extension" include="true"/>
        <ref feature="profile" nillable="true"/>
    </refs>
    <params>
        <param name="obfuscate-session-route" nillable="true" stability="default"/>
        <param name="extension" default="org.wildfly.extension.undertow"/>
        <param name="default-virtual-host" nillable="true" default="default-host" stability="default"/>
        <param name="instance-id" nillable="true" stability="default"/>
        <param name="profile" feature-id="true" default="GLN_UNDEFINED"/>
        <param name="default-servlet-container" nillable="true" default="default" stability="default"/>
        <param name="host" default="GLN_UNDEFINED"/>
        <param name="subsystem" feature-id="true" default="undertow"/>
        <param name="default-server" nillable="true" default="default-server" stability="default"/>
        <param name="default-security-domain" nillable="true" stability="default"/>
        <param name="statistics-enabled" nillable="true" stability="default"/>
    </params>
    <packages>
        <package name="org.wildfly.extension.undertow"/>
    </packages>
</feature-spec>