[
https://issues.jboss.org/browse/TEIID-4404?page=com.atlassian.jira.plugin...
]
Kylin Soong updated TEIID-4404:
-------------------------------
Component/s: Embedded
Description:
The wildfly maven plugin can start, stop wildfly server
{code}
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>${version.org.wildfly.plugins.maven}</version>
<executions>
<execution>
<id>start</id>
<goals>
<goal>start</goal>
</goals>
<phase>validate</phase>
<configuration>
<version>${version.wildfly}</version>
<server-config>standalone-full-ha.xml</server-config>
</configuration>
</execution>
<execution>
<id>stop</id>
<goals>
<goal>shutdown</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
{code}
This Issue will add a teiid maven plugin, which can start, stop teiid server, in develop
swarm teiid, generate config api [1] depend on runtime teiid server, add this will made
swarm develop more automatic.
[1]
https://github.com/teiid/wildfly-swarm-teiid/tree/master/config-api
was:
In teiid we have provide a server
dist(http://teiid.jboss.org/downloads/, With WildFly),
but it not install teiid in advanced, after download the dist, we have to execute
{code}
./bin/standalone.sh
./bin/jboss-cli.sh --connect --file=bin/scripts/teiid-standalone-mode-install.cli
./bin/domain.sh
./bin/jboss-cli.sh --connect --file=bin/scripts/teiid-domain-mode-install.cli
./bin/add-user.sh -a -u dashboardAdmin -p password1! -g admin
./bin/add-user.sh -a -u teiidUser -p password1! -g user
./bin/add-user.sh -a -u restUser -p password1! -g rest
./bin/add-user.sh -a -u odataUser -p password1! -g odata
./bin/add-user.sh admin password1!
{code}
However, in other JBoss product, like
infinispan(http://infinispan.org/download/), jbpm,
the server dist, download can run directly, do not need run any install cli.
So, I do wonder if we can do some adjustment that make teiid compatible with other jboss
product.
In addition, as [1], configure api depend on a server dist which can run directly, now, it
have to start teiid server manually.
[1]
https://github.com/teiid/wildfly-swarm-teiid/tree/master/config-api
Fix Version/s: 9.1
Summary: Add a maven plugin which can start, stop teiid serrver (was:
Install CLI should pre-run before dist build)
Affects Version/s: (was: 9.1)
Add a maven plugin which can start, stop teiid serrver
------------------------------------------------------
Key: TEIID-4404
URL:
https://issues.jboss.org/browse/TEIID-4404
Project: Teiid
Issue Type: Feature Request
Components: Embedded
Reporter: Kylin Soong
Assignee: Kylin Soong
Fix For: 9.1
The wildfly maven plugin can start, stop wildfly server
{code}
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>${version.org.wildfly.plugins.maven}</version>
<executions>
<execution>
<id>start</id>
<goals>
<goal>start</goal>
</goals>
<phase>validate</phase>
<configuration>
<version>${version.wildfly}</version>
<server-config>standalone-full-ha.xml</server-config>
</configuration>
</execution>
<execution>
<id>stop</id>
<goals>
<goal>shutdown</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
{code}
This Issue will add a teiid maven plugin, which can start, stop teiid server, in develop
swarm teiid, generate config api [1] depend on runtime teiid server, add this will made
swarm develop more automatic.
[1]
https://github.com/teiid/wildfly-swarm-teiid/tree/master/config-api
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)