-
-
Save skoussou/1b9e70a4a2e1be2397ad6b5a250b5cbe to your computer and use it in GitHub Desktop.
Initial |
cd bc/bin
./add-user.sh --user admin --password admin710!! --role admin
./standalone.sh -c standalone-full.xml -b 127.0.0.1
BC: http://localhost:8080/business-centraL (login with rhpamadmin)
eap admin console http://locahost:9990 (login with admin)
org.uberfire.nio.git.daemon.host | 127.0.0.1
org.uberfire.nio.git.ssh.host | 127.0.0.1
cd bc/bin
./jboss-cli.bat
connect 127.0.0.1:9990
/deployment=business-central.war:redeploy
<property name="org.uberfire.nio.git.daemon.host" value="127.0.0.1"/>
<property name="org.uberfire.nio.git.ssh.host" value="127.0.0.1"/>
<profiles>
<profile>
<id>jboss-ga-repository</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>jboss-ga-repository</id>
<url>https://maven.repository.redhat.com/ga/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-ga-plugin-repository</id>
<url>https://maven.repository.redhat.com/ga/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<!-- Configure the JBoss Early Access Maven repository -->
<profile>
<id>jboss-earlyaccess-repository</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>jboss-earlyaccess-repository</id>
<url>http://maven.repository.redhat.com/earlyaccess/all/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-earlyaccess-plugin-repository</id>
<url>http://maven.repository.redhat.com/earlyaccess/all/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>rhpam-profile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>rhpam-local-maven-repository</id>
file:///home/stkousso/Stelios/sw10/BPMS/Distros/7.0.2/rhpam-7.0.2-maven-repo/maven-repository
false
true
rhpam-local-maven--plugin-repository
file:///home/stkousso/Stelios/sw10/BPMS/Distros/7.0.2/rhpam-7.0.2-maven-repo/maven-repository
true
false
<activeProfiles>
<activeProfile>jboss-ga-repository</activeProfile>
<activeProfile>jboss-earlyaccess-repository</activeProfile>
<activeProfile>rhpam-profile</activeProfile>
</activeProfiles>
<property name="kie.maven.settings.custom" value="/home/stkousso/Stelios/sw10/EAP/Distros/EAP/7.1.0/jboss-eap-7.1-pam702/settings.xml"/>
<property name="kie.maven.settings.custom" value="/home/stkousso/Stelios/sw10/EAP/Distros/EAP/7.1.0/jboss-eap-7.1-pam702/settings.xml"/>
git remote -v
git remote rename origin bc
git remote add gitlab https://gitlab.consulting.redhat.com/stkousso/rts.git
./standalone.sh -c standalone-full.xml -b 127.0.0.1 -Djboss.socket.binding.port-offset=100
BC SERVER SIDE (a user to control the KIE SERVERs, the installation of this user HAS TO HAPPEN on the KIE SERVER side with ./add-user command see below)
<property name="org.kie.server.user" value="kieserverController"/> <property name="org.kie.server.pwd" value="kieserver1!"/>
KIE SERVER SIDE
./add-user.sh -a --user kieserverController --password kieserver1! --role kie-server (the installation of the controller user)
./add-user.sh -a --user pamAdmin --password pamAdmin123! --role kie-server (the installation of the user we login in BC - like a controller user on the UI)
KIE SERVER SIDE
<property name="org.kie.server.controller.user" value="pamAdmin"/>
<property name="org.kie.server.controller.pwd" value="pamAdmin123!"/>
<property name="org.kie.server.id" value="pam-kie-server-1"/>
<property name="org.kie.server.location" value="http://localhost:8180/kie-server/services/rest/server"/>
<property name="org.kie.server.controller" value="http://localhost:8080/business-central/rest/controller"
module add --name=com.microsoft --resources=D:/dev/lib/sqljdbc42.jar --dependencies=javax.api,javax.transaction.api,javax.xml.bind.api
/subsystem=datasources/jdbc-driver=sqlserver:add(driver-name=sqlserver,driver-module-name=com.microsoft,driver-xa-datasource-class-name=com.microsoft.sqlserver.jdbc.SQLServerXADataSource)
xa-data-source add --name=KIEXADS --jndi-name=java:jboss/KIEXADS --driver-name=sqlserver --user-name=rhpam_i --password=rhpam_i --validate-on-match=true --background-validation=false --background-validation=false --valid-connection-checker-class-name=org.jboss.jca.adapters.jdbc.extensions.mssql.MSSQLValidConnectionChecker --exception-sorter-class-name=org.jboss.jca.adapters.jdbc.extensions.mssql.MSSQLExceptionSorter --same-rm-override=false --xa-datasource-properties={"ServerName"=>"gico-vm-sqlint","DatabaseName"=>"rhpam_i","SelectMethod"=>"cursor","PortNumber"=>"49921"}
<property name="org.kie.server.persistence.ds" value="java:jboss/datasources/KIEDS"/>
<property name="org.kie.server.persistence.dialect" value="org.hibernate.dialect.SQLServer2012Dialect"/>
Red Hat Container Catalogue: https://access.redhat.com/containers/#/product/RedHatProcessAutomationManager