Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFLY-13887 Add http-connections element to jboss-ejb-client_1_4.xsd s… #13598

Merged
merged 1 commit into from Oct 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/src/main/asciidoc/_client-guide/jboss-ejb-client.adoc
Expand Up @@ -11,6 +11,9 @@ should be located in jar's `META-INF` directory.
<ejb-receivers exclude-local-receiver="false" local-receiver-pass-by-value="true">
<remoting-ejb-receiver outbound-connection-ref="connection" connection-timeout="3000"/>
</ejb-receivers>
<http-connections>
<http-connection uri="http://localhost:8180/wildfly-services"/>
</http-connections>
<profile name="test-profile"/>
</client-context>
</jboss-ejb-client>
Expand Down Expand Up @@ -50,6 +53,18 @@ client context, should use pass-by-reference (instead of pass-by-value) semantic
* `outbound-connection-ref` Reference to an outbound connection configured in the remoting subsystem.
* `connect-timeout` The timeout, in milliseconds, to be used while creating a connection.

[[http-connections]]
=== <http-connections>

Configures remote http-connection for EJB invocation

[[http-connection]]
==== <http-connection>

HTTP Connection for EJB invocation.

* `uri` Uniform Resource Identifier for the HTTP connection should be defined.

[[profile]]
=== <profile>

Expand Down
30 changes: 30 additions & 0 deletions ejb3/src/main/resources/schema/jboss-ejb-client_1_4.xsd
Expand Up @@ -79,6 +79,13 @@
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="http-connections" type="http-connectionsType" >
<xsd:annotation>
<xsd:documentation>
Configures remote http-connection for EJB invocation
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
<xsd:attribute name="invocation-timeout" type="xsd:long" use="optional">
<xsd:annotation>
Expand Down Expand Up @@ -162,6 +169,29 @@
</xsd:attribute>
</xsd:complexType>

<xsd:complexType name="http-connectionsType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="http-connection" type="http-connectionType" >
<xsd:annotation>
<xsd:documentation>
Configures remote HTTP Connection for EJB invocation
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:complexType>

<xsd:complexType name="http-connectionType">
<xsd:attribute name="uri" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
Uniform Resource Identifier for the HTTP connection
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the indentation is a bit off. Need to reformat the addition.


<xsd:complexType name="clustersType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="cluster" type="clusterType">
Expand Down