├── .gitignore
├── README.md
├── datagrid
├── 71
│ └── carmart
│ │ ├── README-openshift.md
│ │ ├── README-tomcat.md
│ │ ├── README.md
│ │ ├── pom.xml
│ │ └── src
│ │ ├── local
│ │ └── java
│ │ │ └── org
│ │ │ └── jboss
│ │ │ └── as
│ │ │ └── quickstarts
│ │ │ └── datagrid
│ │ │ └── carmart
│ │ │ └── session
│ │ │ ├── LocalCacheContainerProvider.java
│ │ │ └── LocalStatisticsProvider.java
│ │ ├── main
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── jboss
│ │ │ │ └── as
│ │ │ │ └── quickstarts
│ │ │ │ └── datagrid
│ │ │ │ └── carmart
│ │ │ │ ├── jsf
│ │ │ │ └── PopulateCache.java
│ │ │ │ ├── model
│ │ │ │ └── Car.java
│ │ │ │ └── session
│ │ │ │ ├── CacheContainerProvider.java
│ │ │ │ ├── CarManager.java
│ │ │ │ ├── CarTypeManager.java
│ │ │ │ ├── CountryManager.java
│ │ │ │ └── StatisticsProvider.java
│ │ ├── resources
│ │ │ └── META-INF
│ │ │ │ └── datagrid.properties
│ │ ├── webapp-tomcat7
│ │ │ ├── META-INF
│ │ │ │ └── context.xml
│ │ │ └── WEB-INF
│ │ │ │ └── web.xml
│ │ └── webapp
│ │ │ ├── WEB-INF
│ │ │ ├── beans.xml
│ │ │ └── faces-config.xml
│ │ │ ├── addcar.xhtml
│ │ │ ├── details.xhtml
│ │ │ ├── home.xhtml
│ │ │ ├── index.html
│ │ │ ├── resources
│ │ │ ├── css
│ │ │ │ └── style.css
│ │ │ └── gfx
│ │ │ │ └── divider.png
│ │ │ └── template.xhtml
│ │ ├── remote
│ │ └── java
│ │ │ └── org
│ │ │ └── jboss
│ │ │ └── as
│ │ │ └── quickstarts
│ │ │ └── datagrid
│ │ │ └── carmart
│ │ │ └── session
│ │ │ ├── RemoteCacheContainerProvider.java
│ │ │ └── RemoteStatisticsProvider.java
│ │ └── test
│ │ ├── java
│ │ └── org
│ │ │ └── jboss
│ │ │ └── as
│ │ │ └── quickstarts
│ │ │ └── datagrid
│ │ │ └── carmart
│ │ │ ├── CarmartTest.java
│ │ │ └── Deployments.java
│ │ └── resources
│ │ ├── arquillian.xml
│ │ └── logging.properties
└── carmart
│ ├── README-openshift.md
│ ├── README-tomcat.md
│ ├── README.md
│ ├── pom.xml
│ └── src
│ ├── local
│ └── java
│ │ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── datagrid
│ │ └── carmart
│ │ └── session
│ │ ├── LocalCacheContainerProvider.java
│ │ └── LocalStatisticsProvider.java
│ ├── main
│ ├── java
│ │ └── org
│ │ │ └── jboss
│ │ │ └── as
│ │ │ └── quickstarts
│ │ │ └── datagrid
│ │ │ └── carmart
│ │ │ ├── jsf
│ │ │ └── PopulateCache.java
│ │ │ ├── model
│ │ │ └── Car.java
│ │ │ └── session
│ │ │ ├── CacheContainerProvider.java
│ │ │ ├── CarManager.java
│ │ │ ├── CarTypeManager.java
│ │ │ ├── CountryManager.java
│ │ │ └── StatisticsProvider.java
│ ├── resources
│ │ └── META-INF
│ │ │ └── datagrid.properties
│ ├── webapp-tomcat7
│ │ ├── META-INF
│ │ │ └── context.xml
│ │ └── WEB-INF
│ │ │ └── web.xml
│ └── webapp
│ │ ├── WEB-INF
│ │ ├── beans.xml
│ │ └── faces-config.xml
│ │ ├── addcar.xhtml
│ │ ├── details.xhtml
│ │ ├── home.xhtml
│ │ ├── index.html
│ │ ├── resources
│ │ ├── css
│ │ │ └── style.css
│ │ └── gfx
│ │ │ └── divider.png
│ │ └── template.xhtml
│ ├── remote
│ └── java
│ │ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── datagrid
│ │ └── carmart
│ │ └── session
│ │ ├── RemoteCacheContainerProvider.java
│ │ └── RemoteStatisticsProvider.java
│ └── test
│ ├── java
│ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── datagrid
│ │ └── carmart
│ │ ├── CarmartTest.java
│ │ └── Deployments.java
│ └── resources
│ ├── arquillian.xml
│ └── logging.properties
├── datagrid71
└── carmart
│ ├── README-openshift.md
│ ├── README-tomcat.md
│ ├── README.md
│ ├── pom.xml
│ └── src
│ ├── local
│ └── java
│ │ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── datagrid
│ │ └── carmart
│ │ └── session
│ │ ├── LocalCacheContainerProvider.java
│ │ └── LocalStatisticsProvider.java
│ ├── main
│ ├── java
│ │ └── org
│ │ │ └── jboss
│ │ │ └── as
│ │ │ └── quickstarts
│ │ │ └── datagrid
│ │ │ └── carmart
│ │ │ ├── jsf
│ │ │ └── PopulateCache.java
│ │ │ ├── model
│ │ │ └── Car.java
│ │ │ └── session
│ │ │ ├── CacheContainerProvider.java
│ │ │ ├── CarManager.java
│ │ │ ├── CarTypeManager.java
│ │ │ ├── CountryManager.java
│ │ │ └── StatisticsProvider.java
│ ├── resources
│ │ └── META-INF
│ │ │ └── datagrid.properties
│ ├── webapp-tomcat7
│ │ ├── META-INF
│ │ │ └── context.xml
│ │ └── WEB-INF
│ │ │ └── web.xml
│ └── webapp
│ │ ├── WEB-INF
│ │ ├── beans.xml
│ │ └── faces-config.xml
│ │ ├── addcar.xhtml
│ │ ├── details.xhtml
│ │ ├── home.xhtml
│ │ ├── index.html
│ │ ├── resources
│ │ ├── css
│ │ │ └── style.css
│ │ └── gfx
│ │ │ └── divider.png
│ │ └── template.xhtml
│ ├── remote
│ └── java
│ │ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── datagrid
│ │ └── carmart
│ │ └── session
│ │ ├── RemoteCacheContainerProvider.java
│ │ └── RemoteStatisticsProvider.java
│ └── test
│ ├── java
│ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── datagrid
│ │ └── carmart
│ │ ├── CarmartTest.java
│ │ └── Deployments.java
│ └── resources
│ ├── arquillian.xml
│ └── logging.properties
├── datavirt
├── derby-driver-image
│ ├── Dockerfile
│ ├── README.md
│ ├── install.properties
│ ├── install.sh
│ └── modules
│ │ └── system
│ │ └── layers
│ │ └── openshift
│ │ └── org
│ │ └── apache
│ │ └── derby
│ │ └── main
│ │ └── module.xml
├── dynamicvdb-datafederation
│ ├── README.md
│ ├── app
│ │ ├── data
│ │ │ ├── databases
│ │ │ │ ├── derby
│ │ │ │ │ └── accounts
│ │ │ │ │ │ ├── README_DO_NOT_TOUCH_FILES.txt
│ │ │ │ │ │ ├── log
│ │ │ │ │ │ ├── README_DO_NOT_TOUCH_FILES.txt
│ │ │ │ │ │ ├── log.ctrl
│ │ │ │ │ │ ├── log1.dat
│ │ │ │ │ │ └── logmirror.ctrl
│ │ │ │ │ │ ├── seg0
│ │ │ │ │ │ ├── README_DO_NOT_TOUCH_FILES.txt
│ │ │ │ │ │ ├── c10.dat
│ │ │ │ │ │ ├── c101.dat
│ │ │ │ │ │ ├── c111.dat
│ │ │ │ │ │ ├── c121.dat
│ │ │ │ │ │ ├── c130.dat
│ │ │ │ │ │ ├── c141.dat
│ │ │ │ │ │ ├── c150.dat
│ │ │ │ │ │ ├── c161.dat
│ │ │ │ │ │ ├── c171.dat
│ │ │ │ │ │ ├── c180.dat
│ │ │ │ │ │ ├── c191.dat
│ │ │ │ │ │ ├── c1a1.dat
│ │ │ │ │ │ ├── c1b1.dat
│ │ │ │ │ │ ├── c1c0.dat
│ │ │ │ │ │ ├── c1d1.dat
│ │ │ │ │ │ ├── c1e0.dat
│ │ │ │ │ │ ├── c1f1.dat
│ │ │ │ │ │ ├── c20.dat
│ │ │ │ │ │ ├── c200.dat
│ │ │ │ │ │ ├── c211.dat
│ │ │ │ │ │ ├── c221.dat
│ │ │ │ │ │ ├── c230.dat
│ │ │ │ │ │ ├── c241.dat
│ │ │ │ │ │ ├── c251.dat
│ │ │ │ │ │ ├── c260.dat
│ │ │ │ │ │ ├── c271.dat
│ │ │ │ │ │ ├── c281.dat
│ │ │ │ │ │ ├── c290.dat
│ │ │ │ │ │ ├── c2a1.dat
│ │ │ │ │ │ ├── c2b1.dat
│ │ │ │ │ │ ├── c2c1.dat
│ │ │ │ │ │ ├── c2d0.dat
│ │ │ │ │ │ ├── c2e1.dat
│ │ │ │ │ │ ├── c2f0.dat
│ │ │ │ │ │ ├── c300.dat
│ │ │ │ │ │ ├── c31.dat
│ │ │ │ │ │ ├── c311.dat
│ │ │ │ │ │ ├── c321.dat
│ │ │ │ │ │ ├── c331.dat
│ │ │ │ │ │ ├── c340.dat
│ │ │ │ │ │ ├── c351.dat
│ │ │ │ │ │ ├── c361.dat
│ │ │ │ │ │ ├── c371.dat
│ │ │ │ │ │ ├── c380.dat
│ │ │ │ │ │ ├── c391.dat
│ │ │ │ │ │ ├── c3a1.dat
│ │ │ │ │ │ ├── c3b1.dat
│ │ │ │ │ │ ├── c3c0.dat
│ │ │ │ │ │ ├── c3d1.dat
│ │ │ │ │ │ ├── c3e1.dat
│ │ │ │ │ │ ├── c3f1.dat
│ │ │ │ │ │ ├── c400.dat
│ │ │ │ │ │ ├── c41.dat
│ │ │ │ │ │ ├── c411.dat
│ │ │ │ │ │ ├── c421.dat
│ │ │ │ │ │ ├── c430.dat
│ │ │ │ │ │ ├── c441.dat
│ │ │ │ │ │ ├── c451.dat
│ │ │ │ │ │ ├── c461.dat
│ │ │ │ │ │ ├── c470.dat
│ │ │ │ │ │ ├── c481.dat
│ │ │ │ │ │ ├── c490.dat
│ │ │ │ │ │ ├── c4a1.dat
│ │ │ │ │ │ ├── c4b0.dat
│ │ │ │ │ │ ├── c4c0.dat
│ │ │ │ │ │ ├── c4d0.dat
│ │ │ │ │ │ ├── c4e1.dat
│ │ │ │ │ │ ├── c4f0.dat
│ │ │ │ │ │ ├── c501.dat
│ │ │ │ │ │ ├── c51.dat
│ │ │ │ │ │ ├── c510.dat
│ │ │ │ │ │ ├── c521.dat
│ │ │ │ │ │ ├── c530.dat
│ │ │ │ │ │ ├── c541.dat
│ │ │ │ │ │ ├── c550.dat
│ │ │ │ │ │ ├── c60.dat
│ │ │ │ │ │ ├── c71.dat
│ │ │ │ │ │ ├── c81.dat
│ │ │ │ │ │ ├── c90.dat
│ │ │ │ │ │ ├── ca1.dat
│ │ │ │ │ │ ├── cb1.dat
│ │ │ │ │ │ ├── cc0.dat
│ │ │ │ │ │ ├── cd1.dat
│ │ │ │ │ │ ├── ce1.dat
│ │ │ │ │ │ └── cf0.dat
│ │ │ │ │ │ └── service.properties
│ │ │ │ └── h2
│ │ │ │ │ └── accounts.h2.db
│ │ │ └── teiidfiles
│ │ │ │ ├── data
│ │ │ │ ├── marketdata-price.txt
│ │ │ │ └── marketdata-price1.txt
│ │ │ │ └── excelFiles
│ │ │ │ └── otherholdings.xls
│ │ ├── datagrid-materialization
│ │ │ ├── pom.xml
│ │ │ └── src
│ │ │ │ ├── main
│ │ │ │ ├── java
│ │ │ │ │ └── org
│ │ │ │ │ │ └── jboss
│ │ │ │ │ │ └── as
│ │ │ │ │ │ └── quickstarts
│ │ │ │ │ │ └── datagrid
│ │ │ │ │ │ └── hotrod
│ │ │ │ │ │ └── query
│ │ │ │ │ │ ├── AddressBookManager.java
│ │ │ │ │ │ ├── domain
│ │ │ │ │ │ ├── Memo.java
│ │ │ │ │ │ ├── Person.java
│ │ │ │ │ │ ├── PhoneNumber.java
│ │ │ │ │ │ └── PhoneType.java
│ │ │ │ │ │ └── marshallers
│ │ │ │ │ │ ├── PersonMarshaller.java
│ │ │ │ │ │ ├── PhoneNumberMarshaller.java
│ │ │ │ │ │ └── PhoneTypeMarshaller.java
│ │ │ │ └── resources
│ │ │ │ │ ├── jdg.properties
│ │ │ │ │ └── quickstart
│ │ │ │ │ └── addressbook.proto
│ │ │ │ ├── module
│ │ │ │ └── module.xml
│ │ │ │ └── vdb
│ │ │ │ └── jdg-remote-cache-mat-vdb.xml
│ │ ├── hibernate-portfolio-vdb.xml
│ │ ├── pom.xml
│ │ └── portfolio-vdb.xml
│ ├── datasources.env
│ ├── derby
│ │ ├── README.md
│ │ └── customer-schema.sql
│ ├── h2
│ │ ├── README.md
│ │ └── customer-schema.sql
│ ├── mysql
│ │ ├── README.md
│ │ └── customer-schema.sql
│ └── postgresql
│ │ ├── README.md
│ │ └── customer-schema.sql
└── hibernate-webapp
│ ├── README.md
│ ├── datasources.env
│ ├── pom.xml
│ └── src
│ └── main
│ ├── java
│ └── com
│ │ └── client
│ │ └── quickstart
│ │ └── hibernate4
│ │ ├── controller
│ │ └── ProductRegistration.java
│ │ ├── data
│ │ └── ProductListProducer.java
│ │ ├── model
│ │ └── ProductInfo.java
│ │ └── util
│ │ └── Resources.java
│ ├── resources
│ └── META-INF
│ │ └── persistence.xml
│ └── webapp
│ ├── WEB-INF
│ ├── beans.xml
│ ├── faces-config.xml
│ └── templates
│ │ └── default.xhtml
│ ├── index.html
│ ├── index.xhtml
│ └── resources
│ ├── css
│ └── screen.css
│ └── gfx
│ ├── banner.png
│ └── logo.png
├── datavirt64
├── derby-driver-image
│ ├── Dockerfile
│ ├── README.md
│ ├── install.properties
│ ├── install.sh
│ └── modules
│ │ └── system
│ │ └── layers
│ │ └── openshift
│ │ └── org
│ │ └── apache
│ │ └── derby
│ │ └── main
│ │ └── module.xml
├── dynamicvdb-datafederation
│ ├── README.md
│ ├── app
│ │ ├── data
│ │ │ ├── databases
│ │ │ │ ├── derby
│ │ │ │ │ └── accounts
│ │ │ │ │ │ ├── README_DO_NOT_TOUCH_FILES.txt
│ │ │ │ │ │ ├── log
│ │ │ │ │ │ ├── README_DO_NOT_TOUCH_FILES.txt
│ │ │ │ │ │ ├── log.ctrl
│ │ │ │ │ │ ├── log1.dat
│ │ │ │ │ │ └── logmirror.ctrl
│ │ │ │ │ │ ├── seg0
│ │ │ │ │ │ ├── README_DO_NOT_TOUCH_FILES.txt
│ │ │ │ │ │ ├── c10.dat
│ │ │ │ │ │ ├── c101.dat
│ │ │ │ │ │ ├── c111.dat
│ │ │ │ │ │ ├── c121.dat
│ │ │ │ │ │ ├── c130.dat
│ │ │ │ │ │ ├── c141.dat
│ │ │ │ │ │ ├── c150.dat
│ │ │ │ │ │ ├── c161.dat
│ │ │ │ │ │ ├── c171.dat
│ │ │ │ │ │ ├── c180.dat
│ │ │ │ │ │ ├── c191.dat
│ │ │ │ │ │ ├── c1a1.dat
│ │ │ │ │ │ ├── c1b1.dat
│ │ │ │ │ │ ├── c1c0.dat
│ │ │ │ │ │ ├── c1d1.dat
│ │ │ │ │ │ ├── c1e0.dat
│ │ │ │ │ │ ├── c1f1.dat
│ │ │ │ │ │ ├── c20.dat
│ │ │ │ │ │ ├── c200.dat
│ │ │ │ │ │ ├── c211.dat
│ │ │ │ │ │ ├── c221.dat
│ │ │ │ │ │ ├── c230.dat
│ │ │ │ │ │ ├── c241.dat
│ │ │ │ │ │ ├── c251.dat
│ │ │ │ │ │ ├── c260.dat
│ │ │ │ │ │ ├── c271.dat
│ │ │ │ │ │ ├── c281.dat
│ │ │ │ │ │ ├── c290.dat
│ │ │ │ │ │ ├── c2a1.dat
│ │ │ │ │ │ ├── c2b1.dat
│ │ │ │ │ │ ├── c2c1.dat
│ │ │ │ │ │ ├── c2d0.dat
│ │ │ │ │ │ ├── c2e1.dat
│ │ │ │ │ │ ├── c2f0.dat
│ │ │ │ │ │ ├── c300.dat
│ │ │ │ │ │ ├── c31.dat
│ │ │ │ │ │ ├── c311.dat
│ │ │ │ │ │ ├── c321.dat
│ │ │ │ │ │ ├── c331.dat
│ │ │ │ │ │ ├── c340.dat
│ │ │ │ │ │ ├── c351.dat
│ │ │ │ │ │ ├── c361.dat
│ │ │ │ │ │ ├── c371.dat
│ │ │ │ │ │ ├── c380.dat
│ │ │ │ │ │ ├── c391.dat
│ │ │ │ │ │ ├── c3a1.dat
│ │ │ │ │ │ ├── c3b1.dat
│ │ │ │ │ │ ├── c3c0.dat
│ │ │ │ │ │ ├── c3d1.dat
│ │ │ │ │ │ ├── c3e1.dat
│ │ │ │ │ │ ├── c3f1.dat
│ │ │ │ │ │ ├── c400.dat
│ │ │ │ │ │ ├── c41.dat
│ │ │ │ │ │ ├── c411.dat
│ │ │ │ │ │ ├── c421.dat
│ │ │ │ │ │ ├── c430.dat
│ │ │ │ │ │ ├── c441.dat
│ │ │ │ │ │ ├── c451.dat
│ │ │ │ │ │ ├── c461.dat
│ │ │ │ │ │ ├── c470.dat
│ │ │ │ │ │ ├── c481.dat
│ │ │ │ │ │ ├── c490.dat
│ │ │ │ │ │ ├── c4a1.dat
│ │ │ │ │ │ ├── c4b0.dat
│ │ │ │ │ │ ├── c4c0.dat
│ │ │ │ │ │ ├── c4d0.dat
│ │ │ │ │ │ ├── c4e1.dat
│ │ │ │ │ │ ├── c4f0.dat
│ │ │ │ │ │ ├── c501.dat
│ │ │ │ │ │ ├── c51.dat
│ │ │ │ │ │ ├── c510.dat
│ │ │ │ │ │ ├── c521.dat
│ │ │ │ │ │ ├── c530.dat
│ │ │ │ │ │ ├── c541.dat
│ │ │ │ │ │ ├── c550.dat
│ │ │ │ │ │ ├── c60.dat
│ │ │ │ │ │ ├── c71.dat
│ │ │ │ │ │ ├── c81.dat
│ │ │ │ │ │ ├── c90.dat
│ │ │ │ │ │ ├── ca1.dat
│ │ │ │ │ │ ├── cb1.dat
│ │ │ │ │ │ ├── cc0.dat
│ │ │ │ │ │ ├── cd1.dat
│ │ │ │ │ │ ├── ce1.dat
│ │ │ │ │ │ └── cf0.dat
│ │ │ │ │ │ └── service.properties
│ │ │ │ └── h2
│ │ │ │ │ └── accounts.h2.db
│ │ │ └── teiidfiles
│ │ │ │ ├── data
│ │ │ │ ├── marketdata-price.txt
│ │ │ │ └── marketdata-price1.txt
│ │ │ │ └── excelFiles
│ │ │ │ └── otherholdings.xls
│ │ ├── datagrid-materialization
│ │ │ └── src
│ │ │ │ └── vdb
│ │ │ │ ├── jdg-mat-cache-vdb.xml
│ │ │ │ └── jdg-mat-cache-vdb.xml.dodeploy
│ │ ├── hibernate-portfolio-vdb.xml
│ │ ├── portfolio-vdb.xml
│ │ └── resources
│ │ │ └── secrets
│ │ │ └── datavirt-app-secret.yaml
│ ├── datasources.env
│ ├── derby
│ │ ├── README.md
│ │ └── customer-schema.sql
│ ├── h2
│ │ ├── README.md
│ │ └── customer-schema.sql
│ ├── mysql
│ │ ├── README.md
│ │ └── customer-schema.sql
│ └── postgresql
│ │ ├── README.md
│ │ └── customer-schema.sql
├── hibernate-webapp
│ ├── README.md
│ ├── datasources.env
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── com
│ │ │ └── client
│ │ │ └── quickstart
│ │ │ └── hibernate4
│ │ │ ├── controller
│ │ │ └── ProductRegistration.java
│ │ │ ├── data
│ │ │ └── ProductListProducer.java
│ │ │ ├── model
│ │ │ └── ProductInfo.java
│ │ │ └── util
│ │ │ └── Resources.java
│ │ ├── resources
│ │ └── META-INF
│ │ │ └── persistence.xml
│ │ └── webapp
│ │ ├── WEB-INF
│ │ ├── beans.xml
│ │ ├── faces-config.xml
│ │ └── templates
│ │ │ └── default.xhtml
│ │ ├── index.html
│ │ ├── index.xhtml
│ │ └── resources
│ │ ├── css
│ │ └── screen.css
│ │ └── gfx
│ │ ├── banner.png
│ │ └── logo.png
└── ldap
│ ├── README.md
│ ├── datavirt-security-secret.yaml
│ └── securitydomain.env
├── decisionserver
├── README.md
├── hellorules-client
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── openshift
│ │ │ │ └── quickstarts
│ │ │ │ └── decisionserver
│ │ │ │ └── hellorules
│ │ │ │ └── client
│ │ │ │ ├── HelloRulesCallback.java
│ │ │ │ ├── HelloRulesClient.java
│ │ │ │ └── HelloRulesServlet.java
│ │ └── webapp
│ │ │ └── WEB-INF
│ │ │ ├── jboss-deployment-structure.xml
│ │ │ ├── jboss-web.xml
│ │ │ └── web.xml
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── openshift
│ │ └── quickstarts
│ │ └── decisionserver
│ │ └── hellorules
│ │ └── client
│ │ └── HelloRulesTest.java
├── hellorules
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── org
│ │ │ └── openshift
│ │ │ └── quickstarts
│ │ │ └── decisionserver
│ │ │ └── hellorules
│ │ │ ├── Greeting.java
│ │ │ └── Person.java
│ │ └── resources
│ │ └── META-INF
│ │ ├── kmodule.xml
│ │ └── org
│ │ └── openshift
│ │ └── quickstarts
│ │ └── decisionserver
│ │ └── hellorules
│ │ └── HelloRules.drl
├── helloworld
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ └── resources
│ │ ├── META-INF
│ │ └── kmodule.xml
│ │ └── com.redhat.xpaas.brms
│ │ └── hello-world.drl
└── pom.xml
├── helloworld-mdb
├── README.md
├── pom.xml
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ ├── mdb
│ │ ├── HelloWorldQueueMDB.java
│ │ └── HelloWorldTopicMDB.java
│ │ └── servlet
│ │ └── HelloWorldMDBServletClient.java
│ └── webapp
│ └── index.html
├── jta-crash-rec-eap
├── README.md
├── eap64-qs-test-s2i.json
├── eap71-qs-test-s2i.json
├── extensions
│ └── byteman
│ │ └── install.sh
├── pom.xml
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── xa
│ │ ├── DbUpdaterMDB.java
│ │ ├── KVPair.java
│ │ ├── XAService.java
│ │ └── XAServlet.java
│ ├── resources
│ └── META-INF
│ │ └── persistence.xml
│ ├── scripts
│ └── xa.btm
│ └── webapp
│ ├── WEB-INF
│ ├── beans.xml
│ ├── jta-crash-rec-quickstart-ds.xml
│ ├── jta-crash-rec-quickstart-eap6-jms.xml
│ └── jta-crash-rec-quickstart-eap7-jms.xml
│ └── index.html
├── jta-crash-rec-eap7
├── kitchensink-managed-ds
├── .cheatsheet.xml
├── .factorypath
├── README.html
├── README.md
├── pom.xml
└── src
│ ├── main
│ ├── java
│ │ └── org
│ │ │ └── jboss
│ │ │ └── as
│ │ │ └── quickstarts
│ │ │ └── kitchensink
│ │ │ ├── controller
│ │ │ └── MemberController.java
│ │ │ ├── data
│ │ │ ├── MemberListProducer.java
│ │ │ └── MemberRepository.java
│ │ │ ├── model
│ │ │ └── Member.java
│ │ │ ├── rest
│ │ │ ├── JaxRsActivator.java
│ │ │ └── MemberResourceRESTService.java
│ │ │ ├── service
│ │ │ └── MemberRegistration.java
│ │ │ └── util
│ │ │ └── Resources.java
│ ├── resources
│ │ ├── META-INF
│ │ │ └── persistence.xml
│ │ └── import.sql
│ └── webapp
│ │ ├── WEB-INF
│ │ ├── beans.xml
│ │ ├── faces-config.xml
│ │ └── templates
│ │ │ └── default.xhtml
│ │ ├── index.html
│ │ ├── index.xhtml
│ │ └── resources
│ │ ├── css
│ │ └── screen.css
│ │ └── gfx
│ │ ├── asidebkg.png
│ │ ├── banner.png
│ │ ├── bkg-blkheader.png
│ │ ├── headerbkg.png
│ │ └── rhjb_eap_logo.png
│ └── test
│ ├── java
│ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── kitchensink
│ │ └── test
│ │ └── MemberRegistrationTest.java
│ └── resources
│ ├── META-INF
│ └── test-persistence.xml
│ ├── arquillian.xml
│ └── test-ds.xml
├── kitchensink-mongodb
├── .cheatsheet.xml
├── .factorypath
├── README.html
├── README.md
├── pom.xml
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── jboss
│ │ └── as
│ │ └── quickstarts
│ │ └── kitchensink
│ │ ├── controller
│ │ └── MemberController.java
│ │ ├── data
│ │ ├── MemberListProducer.java
│ │ └── MemberRepository.java
│ │ ├── mapper
│ │ └── MemberMapper.java
│ │ ├── model
│ │ └── Member.java
│ │ ├── rest
│ │ ├── JaxRsActivator.java
│ │ └── MemberResourceRESTService.java
│ │ ├── service
│ │ └── MemberRegistration.java
│ │ └── util
│ │ ├── DbServicePrefixMappingParser.java
│ │ └── Resources.java
│ └── webapp
│ ├── WEB-INF
│ ├── beans.xml
│ ├── faces-config.xml
│ └── templates
│ │ └── default.xhtml
│ ├── index.html
│ ├── index.xhtml
│ └── resources
│ ├── css
│ └── screen.css
│ └── gfx
│ ├── asidebkg.png
│ ├── banner.png
│ ├── bkg-blkheader.png
│ ├── headerbkg.png
│ └── rhjb_eap_logo.png
├── processserver
├── library-client
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── openshift
│ │ │ │ └── quickstarts
│ │ │ │ └── processserver
│ │ │ │ └── library
│ │ │ │ └── client
│ │ │ │ ├── LibraryClient.java
│ │ │ │ ├── LibraryConfig.java
│ │ │ │ └── LibraryServlet.java
│ │ └── webapp
│ │ │ └── WEB-INF
│ │ │ ├── jboss-deployment-structure.xml
│ │ │ ├── jboss-web.xml
│ │ │ └── web.xml
│ │ └── test
│ │ ├── java
│ │ └── org
│ │ │ └── openshift
│ │ │ └── quickstarts
│ │ │ └── processserver
│ │ │ └── library
│ │ │ └── client
│ │ │ └── LibraryTest.java
│ │ └── resources
│ │ └── META-INF
│ │ └── persistence.xml
├── library
│ ├── loan-process.jpg
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── org
│ │ │ └── openshift
│ │ │ └── quickstarts
│ │ │ └── processserver
│ │ │ └── library
│ │ │ ├── Library.java
│ │ │ ├── LibraryTransaction.java
│ │ │ └── types
│ │ │ ├── Book.java
│ │ │ ├── Loan.java
│ │ │ ├── LoanRequest.java
│ │ │ ├── LoanResponse.java
│ │ │ ├── ReturnRequest.java
│ │ │ ├── ReturnResponse.java
│ │ │ ├── Suggestion.java
│ │ │ ├── SuggestionRequest.java
│ │ │ └── SuggestionResponse.java
│ │ └── resources
│ │ └── META-INF
│ │ ├── LibraryTypes.xsd
│ │ ├── kmodule.xml
│ │ ├── org
│ │ └── openshift
│ │ │ └── quickstarts
│ │ │ └── processserver
│ │ │ └── library
│ │ │ ├── LibraryProcess.bpmn2
│ │ │ └── LibraryRules.drl
│ │ └── persistence.xml
├── pom.xml
└── timerprocess
│ ├── pom.xml
│ ├── src
│ ├── main
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── openshift
│ │ │ │ └── quickstarts
│ │ │ │ └── processserver
│ │ │ │ └── timerprocess
│ │ │ │ └── Inputs.java
│ │ └── resources
│ │ │ └── META-INF
│ │ │ ├── kie-deployment-descriptor.xml
│ │ │ ├── kmodule.xml
│ │ │ ├── org
│ │ │ └── openshift
│ │ │ │ └── quickstarts
│ │ │ │ └── processserver
│ │ │ │ └── timerprocess
│ │ │ │ └── timerProcess.bpmn2
│ │ │ └── persistence.xml
│ └── test
│ │ └── java
│ │ └── org
│ │ └── openshift
│ │ └── quickstarts
│ │ └── processserver
│ │ └── timerprocess
│ │ ├── TestWorkItemHandler.java
│ │ └── TimerProcessTest.java
│ └── timer-process.png
├── settings.xml
├── todolist
├── pom.xml
├── todolist-jdbc
│ ├── pom.xml
│ └── src
│ │ └── main
│ │ ├── java
│ │ └── org
│ │ │ └── openshift
│ │ │ └── quickstarts
│ │ │ └── todolist
│ │ │ ├── dao
│ │ │ ├── DataAccessException.java
│ │ │ ├── JdbcTodoListDAO.java
│ │ │ └── TodoListDAO.java
│ │ │ ├── model
│ │ │ └── TodoEntry.java
│ │ │ ├── service
│ │ │ └── TodoListService.java
│ │ │ └── servlet
│ │ │ └── MainServlet.java
│ │ └── webapp
│ │ ├── WEB-INF
│ │ ├── index.html
│ │ └── web.xml
│ │ └── resources
│ │ └── css
│ │ ├── bootstrap-theme.min.css
│ │ └── bootstrap.min.css
└── todolist-mongodb
│ ├── pom.xml
│ └── src
│ └── main
│ ├── java
│ └── org
│ │ └── openshift
│ │ └── quickstarts
│ │ └── todolist
│ │ ├── dao
│ │ ├── DbServicePrefixMappingParser.java
│ │ ├── MongoDbTodoListDAO.java
│ │ ├── TodoListDAO.java
│ │ └── TodoMapper.java
│ │ ├── model
│ │ └── TodoEntry.java
│ │ ├── service
│ │ └── TodoListService.java
│ │ ├── servlet
│ │ └── MainServlet.java
│ │ └── util
│ │ └── DbServicePrefixMappingParser.java
│ └── webapp
│ ├── WEB-INF
│ ├── index.html
│ └── web.xml
│ └── resources
│ └── css
│ ├── bootstrap-theme.min.css
│ └── bootstrap.min.css
├── tomcat-jdbc
├── pom.xml
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── openshift
│ │ └── quickstarts
│ │ └── tomcat
│ │ ├── dao
│ │ ├── JdbcTomcatDAO.java
│ │ └── TomcatDAO.java
│ │ ├── model
│ │ └── TomcatEntry.java
│ │ ├── service
│ │ └── TomcatService.java
│ │ └── servlet
│ │ └── MainServlet.java
│ └── webapp
│ ├── WEB-INF
│ ├── index.html
│ └── web.xml
│ └── resources
│ └── css
│ ├── bootstrap-theme.min.css
│ └── bootstrap.min.css
├── tomcat-websocket-chat
├── README.md
├── pom.xml
└── src
│ └── main
│ ├── java
│ ├── util
│ │ └── HTMLFilter.java
│ └── websocket
│ │ └── chat
│ │ └── ChatAnnotation.java
│ └── webapp
│ ├── WEB-INF
│ └── web.xml
│ └── index.xhtml
├── undertow-jdbc
├── pom.xml
├── resources
│ └── logging.properties
└── src
│ └── main
│ ├── java
│ └── org
│ │ └── openshift
│ │ └── quickstarts
│ │ └── undertow
│ │ └── servlet
│ │ ├── PhoneBookServlet.java
│ │ └── ServletServer.java
│ └── resources
│ └── logging.properties
└── undertow-servlet
├── README
├── pom.xml
└── src
└── main
├── java
└── org
│ └── openshift
│ └── quickstarts
│ └── undertow
│ └── servlet
│ ├── MessageServlet.java
│ └── ServletServer.java
└── resources
└── logging.properties
/.gitignore:
--------------------------------------------------------------------------------
1 | *.class
2 | *.ear
3 | *.iml
4 | *.ipr
5 | *.iws
6 | *.jar
7 | *.war
8 | *~
9 | .DS_Store
10 | .checkstyle
11 | .classpath
12 | .factorypath
13 | .fbExcludeFilterFile
14 | .idea/
15 | .metadata/
16 | .mtj.tmp/
17 | .project
18 | .settings/
19 | atlassian*
20 | hs_err_pid*
21 | target/
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # openshift-quickstarts
2 | Quickstarts used by templates in https://github.com/jboss-openshift/application-templates
3 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CarTypeManager.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | import javax.enterprise.inject.Produces;
20 | import javax.inject.Named;
21 |
22 | import org.jboss.as.quickstarts.datagrid.carmart.model.Car.CarType;
23 |
24 | /**
25 | * Produces an array of supported car types
26 | *
27 | * @author Martin Gencur
28 | *
29 | */
30 | public class CarTypeManager {
31 | @Produces
32 | @Named
33 | public CarType[] getCarTypes() {
34 | return CarType.values();
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CountryManager.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | import javax.enterprise.inject.Produces;
20 | import javax.inject.Named;
21 |
22 | import org.jboss.as.quickstarts.datagrid.carmart.model.Car.Country;
23 |
24 | /**
25 | * Produces an array of supported countries
26 | *
27 | * @author Martin Gencur
28 | *
29 | */
30 | public class CountryManager {
31 | @Produces
32 | @Named
33 | public Country[] getCountries() {
34 | return Country.values();
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/StatisticsProvider.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | /**
20 | *
21 | * Provides cache statistics.
22 | *
23 | * @author Martin Gencur
24 | *
25 | */
26 | public interface StatisticsProvider {
27 |
28 | public void getStatsObject();
29 |
30 | public String getRetrievals();
31 |
32 | public String getStores();
33 |
34 | public String getCurrentEntries();
35 |
36 | public String getHits();
37 |
38 | public String getMisses();
39 |
40 | public String getRemoveHits();
41 |
42 | }
43 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/main/resources/META-INF/datagrid.properties:
--------------------------------------------------------------------------------
1 | #
2 | # JBoss, Home of Professional Open Source
3 | # Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | # contributors by the @authors tag. See the copyright.txt in the
5 | # distribution for a full listing of individual contributors.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | #define the host where JDG is running
19 | #the service name for the cache's hotrod service
20 | datagrid.host=carcache-hotrod
21 |
22 | #define the (Hot Rod server) port.
23 | datagrid.hotrod.port=11333
24 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/main/webapp-tomcat7/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
24 |
25 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/main/webapp/WEB-INF/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/main/webapp/resources/gfx/divider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datagrid/71/carmart/src/main/webapp/resources/gfx/divider.png
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/test/java/org/jboss/as/quickstarts/datagrid/carmart/Deployments.java:
--------------------------------------------------------------------------------
1 | package org.jboss.as.quickstarts.datagrid.carmart;
2 |
3 | import org.jboss.shrinkwrap.api.ShrinkWrap;
4 | import org.jboss.shrinkwrap.api.importer.ZipImporter;
5 | import org.jboss.shrinkwrap.api.spec.WebArchive;
6 |
7 | import java.io.File;
8 |
9 |
10 | /**
11 | * Creates a deployment from a build Web Archive using ShrinkWrap ZipImporter
12 | *
13 | * @author tsykora@redhat.com
14 | *
15 | */
16 | public class Deployments {
17 | //properties defined in pom.xml
18 | private static final String ARCHIVE_NAME = System.getProperty("carmart.war.file");
19 | private static final String BUILD_DIRECTORY = System.getProperty("carmart.war.directory");
20 |
21 | public static WebArchive createDeployment() {
22 | System.out.println(BUILD_DIRECTORY + '/' + ARCHIVE_NAME);
23 | return ShrinkWrap.create(ZipImporter.class, ARCHIVE_NAME).importFrom(new File(BUILD_DIRECTORY + '/' + ARCHIVE_NAME))
24 | .as(WebArchive.class);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/datagrid/71/carmart/src/test/resources/logging.properties:
--------------------------------------------------------------------------------
1 | # Specify the handlers to create in the root logger
2 | # (all loggers are children of the root logger)
3 | # The following creates two handlers
4 | handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
5 |
6 | # Set the default logging level for new ConsoleHandler instances
7 | java.util.logging.ConsoleHandler.level= WARNING
8 | java.util.logging.ConsoleHandler.formatter= java.util.logging.SimpleFormatter
9 |
10 | # Set the default logging level for new FileHandler instances
11 | java.util.logging.FileHandler.level= INFO
12 | java.util.logging.FileHandler.pattern = target/jul-info.log
13 | java.util.logging.FileHandler.append=true
14 | java.util.logging.FileHandler.formatter= java.util.logging.SimpleFormatter
15 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CarTypeManager.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | import javax.enterprise.inject.Produces;
20 | import javax.inject.Named;
21 |
22 | import org.jboss.as.quickstarts.datagrid.carmart.model.Car.CarType;
23 |
24 | /**
25 | * Produces an array of supported car types
26 | *
27 | * @author Martin Gencur
28 | *
29 | */
30 | public class CarTypeManager {
31 | @Produces
32 | @Named
33 | public CarType[] getCarTypes() {
34 | return CarType.values();
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CountryManager.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | import javax.enterprise.inject.Produces;
20 | import javax.inject.Named;
21 |
22 | import org.jboss.as.quickstarts.datagrid.carmart.model.Car.Country;
23 |
24 | /**
25 | * Produces an array of supported countries
26 | *
27 | * @author Martin Gencur
28 | *
29 | */
30 | public class CountryManager {
31 | @Produces
32 | @Named
33 | public Country[] getCountries() {
34 | return Country.values();
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/StatisticsProvider.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | /**
20 | *
21 | * Provides cache statistics.
22 | *
23 | * @author Martin Gencur
24 | *
25 | */
26 | public interface StatisticsProvider {
27 |
28 | public void getStatsObject();
29 |
30 | public String getRetrievals();
31 |
32 | public String getStores();
33 |
34 | public String getCurrentEntries();
35 |
36 | public String getHits();
37 |
38 | public String getMisses();
39 |
40 | public String getRemoveHits();
41 |
42 | }
43 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/main/resources/META-INF/datagrid.properties:
--------------------------------------------------------------------------------
1 | #
2 | # JBoss, Home of Professional Open Source
3 | # Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | # contributors by the @authors tag. See the copyright.txt in the
5 | # distribution for a full listing of individual contributors.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | #define the host where JDG is running
19 | #the service name for the cache's hotrod service
20 | datagrid.host=carcache-hotrod
21 |
22 | #define the (Hot Rod server) port.
23 | datagrid.hotrod.port=11333
24 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/main/webapp-tomcat7/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
24 |
25 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/main/webapp/WEB-INF/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/main/webapp/resources/gfx/divider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datagrid/carmart/src/main/webapp/resources/gfx/divider.png
--------------------------------------------------------------------------------
/datagrid/carmart/src/test/java/org/jboss/as/quickstarts/datagrid/carmart/Deployments.java:
--------------------------------------------------------------------------------
1 | package org.jboss.as.quickstarts.datagrid.carmart;
2 |
3 | import org.jboss.shrinkwrap.api.ShrinkWrap;
4 | import org.jboss.shrinkwrap.api.importer.ZipImporter;
5 | import org.jboss.shrinkwrap.api.spec.WebArchive;
6 |
7 | import java.io.File;
8 |
9 |
10 | /**
11 | * Creates a deployment from a build Web Archive using ShrinkWrap ZipImporter
12 | *
13 | * @author tsykora@redhat.com
14 | *
15 | */
16 | public class Deployments {
17 | //properties defined in pom.xml
18 | private static final String ARCHIVE_NAME = System.getProperty("carmart.war.file");
19 | private static final String BUILD_DIRECTORY = System.getProperty("carmart.war.directory");
20 |
21 | public static WebArchive createDeployment() {
22 | System.out.println(BUILD_DIRECTORY + '/' + ARCHIVE_NAME);
23 | return ShrinkWrap.create(ZipImporter.class, ARCHIVE_NAME).importFrom(new File(BUILD_DIRECTORY + '/' + ARCHIVE_NAME))
24 | .as(WebArchive.class);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/datagrid/carmart/src/test/resources/logging.properties:
--------------------------------------------------------------------------------
1 | # Specify the handlers to create in the root logger
2 | # (all loggers are children of the root logger)
3 | # The following creates two handlers
4 | handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
5 |
6 | # Set the default logging level for new ConsoleHandler instances
7 | java.util.logging.ConsoleHandler.level= WARNING
8 | java.util.logging.ConsoleHandler.formatter= java.util.logging.SimpleFormatter
9 |
10 | # Set the default logging level for new FileHandler instances
11 | java.util.logging.FileHandler.level= INFO
12 | java.util.logging.FileHandler.pattern = target/jul-info.log
13 | java.util.logging.FileHandler.append=true
14 | java.util.logging.FileHandler.formatter= java.util.logging.SimpleFormatter
15 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CarTypeManager.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | import javax.enterprise.inject.Produces;
20 | import javax.inject.Named;
21 |
22 | import org.jboss.as.quickstarts.datagrid.carmart.model.Car.CarType;
23 |
24 | /**
25 | * Produces an array of supported car types
26 | *
27 | * @author Martin Gencur
28 | *
29 | */
30 | public class CarTypeManager {
31 | @Produces
32 | @Named
33 | public CarType[] getCarTypes() {
34 | return CarType.values();
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/CountryManager.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | import javax.enterprise.inject.Produces;
20 | import javax.inject.Named;
21 |
22 | import org.jboss.as.quickstarts.datagrid.carmart.model.Car.Country;
23 |
24 | /**
25 | * Produces an array of supported countries
26 | *
27 | * @author Martin Gencur
28 | *
29 | */
30 | public class CountryManager {
31 | @Produces
32 | @Named
33 | public Country[] getCountries() {
34 | return Country.values();
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/main/java/org/jboss/as/quickstarts/datagrid/carmart/session/StatisticsProvider.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.carmart.session;
18 |
19 | /**
20 | *
21 | * Provides cache statistics.
22 | *
23 | * @author Martin Gencur
24 | *
25 | */
26 | public interface StatisticsProvider {
27 |
28 | public void getStatsObject();
29 |
30 | public String getRetrievals();
31 |
32 | public String getStores();
33 |
34 | public String getCurrentEntries();
35 |
36 | public String getHits();
37 |
38 | public String getMisses();
39 |
40 | public String getRemoveHits();
41 |
42 | }
43 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/main/resources/META-INF/datagrid.properties:
--------------------------------------------------------------------------------
1 | #
2 | # JBoss, Home of Professional Open Source
3 | # Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | # contributors by the @authors tag. See the copyright.txt in the
5 | # distribution for a full listing of individual contributors.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | #define the host where JDG is running
19 | #the service name for the cache's hotrod service
20 | datagrid.host=carcache-hotrod
21 |
22 | #define the (Hot Rod server) port.
23 | datagrid.hotrod.port=11333
24 |
25 | datagrid.username=jdguser
26 | datagrid.password=P@ssword1
27 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/main/webapp-tomcat7/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
24 |
25 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/main/webapp/WEB-INF/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/main/webapp/resources/gfx/divider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datagrid71/carmart/src/main/webapp/resources/gfx/divider.png
--------------------------------------------------------------------------------
/datagrid71/carmart/src/test/java/org/jboss/as/quickstarts/datagrid/carmart/Deployments.java:
--------------------------------------------------------------------------------
1 | package org.jboss.as.quickstarts.datagrid.carmart;
2 |
3 | import org.jboss.shrinkwrap.api.ShrinkWrap;
4 | import org.jboss.shrinkwrap.api.importer.ZipImporter;
5 | import org.jboss.shrinkwrap.api.spec.WebArchive;
6 |
7 | import java.io.File;
8 |
9 |
10 | /**
11 | * Creates a deployment from a build Web Archive using ShrinkWrap ZipImporter
12 | *
13 | * @author tsykora@redhat.com
14 | *
15 | */
16 | public class Deployments {
17 | //properties defined in pom.xml
18 | private static final String ARCHIVE_NAME = System.getProperty("carmart.war.file");
19 | private static final String BUILD_DIRECTORY = System.getProperty("carmart.war.directory");
20 |
21 | public static WebArchive createDeployment() {
22 | System.out.println(BUILD_DIRECTORY + '/' + ARCHIVE_NAME);
23 | return ShrinkWrap.create(ZipImporter.class, ARCHIVE_NAME).importFrom(new File(BUILD_DIRECTORY + '/' + ARCHIVE_NAME))
24 | .as(WebArchive.class);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/datagrid71/carmart/src/test/resources/logging.properties:
--------------------------------------------------------------------------------
1 | # Specify the handlers to create in the root logger
2 | # (all loggers are children of the root logger)
3 | # The following creates two handlers
4 | handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
5 |
6 | # Set the default logging level for new ConsoleHandler instances
7 | java.util.logging.ConsoleHandler.level= WARNING
8 | java.util.logging.ConsoleHandler.formatter= java.util.logging.SimpleFormatter
9 |
10 | # Set the default logging level for new FileHandler instances
11 | java.util.logging.FileHandler.level= INFO
12 | java.util.logging.FileHandler.pattern = target/jul-info.log
13 | java.util.logging.FileHandler.append=true
14 | java.util.logging.FileHandler.formatter= java.util.logging.SimpleFormatter
15 |
--------------------------------------------------------------------------------
/datavirt/derby-driver-image/Dockerfile:
--------------------------------------------------------------------------------
1 | # Copyright 2016 Red Hat
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | #
15 | # ------------------------------------------------------------------------
16 | #
17 | # This is a Dockerfile for a Derby JDBC driver add-on for EAP.
18 |
19 | FROM scratch
20 |
21 | # Labels
22 | LABEL name="Derby JDBC Driver" \
23 | version="10.12.1.1"
24 |
25 | # Copy add-on details
26 | COPY install.sh \
27 | install.properties \
28 | /extensions/
29 | COPY modules /extensions/modules/
30 |
31 | # Download the driver into the module folder
32 | ADD https://repo1.maven.org/maven2/org/apache/derby/derbyclient/10.12.1.1/derbyclient-10.12.1.1.jar \
33 | https://repo1.maven.org/maven2/org/apache/derby/derby/10.12.1.1/derby-10.12.1.1.jar \
34 | /extensions/modules/system/layers/openshift/org/apache/derby/main/
35 |
--------------------------------------------------------------------------------
/datavirt/derby-driver-image/README.md:
--------------------------------------------------------------------------------
1 | An example of an extensions image that provides a Derby database driver for EAP.
--------------------------------------------------------------------------------
/datavirt/derby-driver-image/install.properties:
--------------------------------------------------------------------------------
1 | #DRIVERS
2 | DRIVERS=DERBY
3 |
4 | DERBY_DRIVER_NAME=derby
5 | DERBY_DRIVER_MODULE=org.apache.derby
6 | DERBY_DRIVER_CLASS=org.apache.derby.jdbc.EmbeddedDriver
7 | DERBY_XA_DATASOURCE_CLASS=org.apache.derby.jdbc.EmbeddedXADataSource
8 |
--------------------------------------------------------------------------------
/datavirt/derby-driver-image/install.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | # import the common functions for installing modules and configuring drivers
6 | source /usr/local/s2i/install-common.sh
7 |
8 | # should be the directory where this script is located
9 | injected_dir=$1
10 |
11 | # install the JDBC client module
12 | chmod -R ugo+rX ${injected_dir}/modules
13 | install_modules ${injected_dir}/modules
14 |
15 | # configure the JDBC driver in standalone.xml. Driver is named "derby"
16 | configure_drivers ${injected_dir}/install.properties
17 |
--------------------------------------------------------------------------------
/datavirt/derby-driver-image/modules/system/layers/openshift/org/apache/derby/main/module.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/README_DO_NOT_TOUCH_FILES.txt:
--------------------------------------------------------------------------------
1 |
2 | # *************************************************************************
3 | # *** DO NOT TOUCH FILES IN THIS DIRECTORY! ***
4 | # *** FILES IN THIS DIRECTORY AND SUBDIRECTORIES CONSTITUTE A DERBY ***
5 | # *** DATABASE, WHICH INCLUDES THE DATA (USER AND SYSTEM) AND THE ***
6 | # *** FILES NECESSARY FOR DATABASE RECOVERY. ***
7 | # *** EDITING, ADDING, OR DELETING ANY OF THESE FILES MAY CAUSE DATA ***
8 | # *** CORRUPTION AND LEAVE THE DATABASE IN A NON-RECOVERABLE STATE. ***
9 | # *************************************************************************
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/README_DO_NOT_TOUCH_FILES.txt:
--------------------------------------------------------------------------------
1 |
2 | # *************************************************************************
3 | # *** DO NOT TOUCH FILES IN THIS DIRECTORY! ***
4 | # *** FILES IN THIS DIRECTORY ARE USED BY THE DERBY DATABASE RECOVERY ***
5 | # *** SYSTEM. EDITING, ADDING, OR DELETING FILES IN THIS DIRECTORY ***
6 | # *** WILL CAUSE THE DERBY RECOVERY SYSTEM TO FAIL, LEADING TO ***
7 | # *** NON-RECOVERABLE CORRUPT DATABASES. ***
8 | # *************************************************************************
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/log.ctrl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/log.ctrl
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/log1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/log1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/logmirror.ctrl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/logmirror.ctrl
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/README_DO_NOT_TOUCH_FILES.txt:
--------------------------------------------------------------------------------
1 |
2 | # *************************************************************************
3 | # *** DO NOT TOUCH FILES IN THIS DIRECTORY! ***
4 | # *** FILES IN THIS DIRECTORY ARE USED BY THE DERBY DATABASE TO STORE ***
5 | # *** USER AND SYSTEM DATA. EDITING, ADDING, OR DELETING FILES IN THIS ***
6 | # *** DIRECTORY WILL CORRUPT THE ASSOCIATED DERBY DATABASE AND MAKE ***
7 | # *** IT NON-RECOVERABLE. ***
8 | # *************************************************************************
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c10.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c10.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c101.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c101.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c111.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c111.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c121.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c121.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c130.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c130.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c141.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c141.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c150.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c150.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c161.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c161.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c171.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c171.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c180.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c180.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c191.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c191.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1a1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1a1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1b1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1b1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1c0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1c0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1d1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1d1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1e0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1e0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1f1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1f1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c20.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c20.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c200.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c200.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c211.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c211.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c221.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c221.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c230.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c230.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c241.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c241.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c251.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c251.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c260.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c260.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c271.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c271.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c281.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c281.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c290.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c290.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2a1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2a1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2b1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2b1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2c1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2c1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2d0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2d0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2e1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2e1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2f0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2f0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c300.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c300.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c31.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c31.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c311.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c311.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c321.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c321.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c331.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c331.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c340.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c340.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c351.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c351.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c361.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c361.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c371.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c371.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c380.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c380.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c391.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c391.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3a1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3a1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3b1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3b1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3c0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3c0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3d1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3d1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3e1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3e1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3f1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3f1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c400.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c400.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c41.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c41.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c411.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c411.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c421.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c421.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c430.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c430.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c441.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c441.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c451.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c451.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c461.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c461.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c470.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c470.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c481.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c481.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c490.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c490.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4a1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4a1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4b0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4b0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4c0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4c0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4d0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4d0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4e1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4e1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4f0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4f0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c501.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c501.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c51.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c51.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c510.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c510.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c521.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c521.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c530.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c530.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c541.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c541.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c550.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c550.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c60.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c60.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c71.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c71.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c81.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c81.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c90.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c90.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/ca1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/ca1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cb1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cb1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cc0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cc0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cd1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cd1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/ce1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/ce1.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cf0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cf0.dat
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/derby/accounts/service.properties:
--------------------------------------------------------------------------------
1 | #/NotBackedUp/rcernich/src/git/jboss-openshift/openshift-quickstarts/datavirt/dynamicvdb-datafederation/derby/accounts
2 | # ********************************************************************
3 | # *** Please do NOT edit this file. ***
4 | # *** CHANGING THE CONTENT OF THIS FILE MAY CAUSE DATA CORRUPTION. ***
5 | # ********************************************************************
6 | #Thu Oct 13 12:27:00 MDT 2016
7 | SysschemasIndex2Identifier=225
8 | SyscolumnsIdentifier=144
9 | SysconglomeratesIndex1Identifier=49
10 | SysconglomeratesIdentifier=32
11 | SyscolumnsIndex2Identifier=177
12 | SysschemasIndex1Identifier=209
13 | SysconglomeratesIndex3Identifier=81
14 | SystablesIndex2Identifier=129
15 | SyscolumnsIndex1Identifier=161
16 | derby.serviceProtocol=org.apache.derby.database.Database
17 | SysschemasIdentifier=192
18 | derby.storage.propertiesId=16
19 | SysconglomeratesIndex2Identifier=65
20 | derby.serviceLocale=en_US
21 | SystablesIdentifier=96
22 | SystablesIndex1Identifier=113
23 | #--- last line, don't put anything after this line ---
24 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/databases/h2/accounts.h2.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/databases/h2/accounts.h2.db
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/teiidfiles/data/marketdata-price.txt:
--------------------------------------------------------------------------------
1 | SYMBOL,PRICE
2 | RHT,30.00
3 | BA,42.75
4 | MON,78.75
5 | PNRA,84.97
6 | SY,24.30
7 | BTU,41.25
8 | IBM,80.89
9 | DELL,10.75
10 | HPQ,31.52
11 | GE,16.45
12 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/teiidfiles/data/marketdata-price1.txt:
--------------------------------------------------------------------------------
1 | SYMBOL,PRICE
2 | MRK,27.20
3 | DIS,20.53
4 | MCD,54.55
5 | DOW,21.80
6 | GM,3.15
7 | SBGI,2.19
8 | COLM,33.89
9 | COLB,12.64
10 | BSY,23.81
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/data/teiidfiles/excelFiles/otherholdings.xls:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/dynamicvdb-datafederation/app/data/teiidfiles/excelFiles/otherholdings.xls
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/datagrid-materialization/src/main/java/org/jboss/as/quickstarts/datagrid/hotrod/query/domain/PhoneType.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.datagrid.hotrod.query.domain;
18 |
19 | /**
20 | * @author Adrian Nistor
21 | */
22 | public enum PhoneType {
23 | MOBILE,
24 | HOME,
25 | WORK
26 | }
27 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/datagrid-materialization/src/main/resources/jdg.properties:
--------------------------------------------------------------------------------
1 | #
2 | # JBoss, Home of Professional Open Source
3 | # Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
4 | # contributors by the @authors tag. See the copyright.txt in the
5 | # distribution for a full listing of individual contributors.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | jdg.host=localhost
19 | jdg.hotrod.port=11322
20 |
21 | # use one of 'addressbook_indexed' or 'addressbook'
22 | jdg.cache=addressbook_indexed
23 | jdg.mat.cache=addressbook_indexed_mat
24 | jdg.alias.cache=aliasCache
25 |
26 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/datagrid-materialization/src/main/resources/quickstart/addressbook.proto:
--------------------------------------------------------------------------------
1 | package quickstart;
2 |
3 | /* @Indexed */
4 | message Person {
5 |
6 | /* @IndexedField */
7 | required string name = 1;
8 |
9 | /* @IndexedField(index=true, store=false) */
10 | required int32 id = 2;
11 |
12 | optional string email = 3;
13 |
14 | enum PhoneType {
15 | MOBILE = 0;
16 | HOME = 1;
17 | WORK = 2;
18 | }
19 |
20 | /* @Indexed */
21 | message PhoneNumber {
22 |
23 | /* @IndexedField */
24 | required string number = 1;
25 |
26 | /* @IndexedField(index=false, store=false) */
27 | optional PhoneType type = 2 [default = HOME];
28 | }
29 |
30 | /* @IndexedField(index=true, store=false) */
31 | repeated PhoneNumber phone = 4;
32 | }
33 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/datagrid-materialization/src/module/module.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/hibernate-portfolio-vdb.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | This VDB is utilized by Hibernate on top
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/app/pom.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 | 4.0.0
5 | org.jboss.teiid.quickstart
6 | datavirt-dynamicvdb-parent
7 | 3.0.0
8 | pom
9 | JDV dyanmicvdb Quickstart Parent
10 | Parent pom for JDV dynamicvdb quickstart. Includes materialization module if enabled.
11 |
12 |
13 |
14 |
15 |
16 | env.VDB_DIRS
17 | .,datagrid-materialization/src/vdb
18 |
19 |
20 |
21 | datagrid-materialization
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/datavirt/dynamicvdb-datafederation/h2/README.md:
--------------------------------------------------------------------------------
1 | ##Overview
2 |
3 | This directory contains details specific to using this quickstart with a h2 database. It contains the [customer-schema.sql](./customer-schema.sql) file which includes the DDL and some seed data, along with this readme.
4 |
5 | ##Initializing the Database
6 |
7 | No extra steps are required to initialize the database as it is injected into the image during the s2i build (from [../app/data/databases/h2](../app/data/databases/h2)).
8 |
9 |
10 | ##Running the QuickStart
11 |
12 | Follow the instructions in the main [README](../README.md) and set `QS_DB_TYPE=h2`, e.g.:
13 |
14 | ```
15 | $ oc env dc/datavirt-app QS_DB_TYPE=h2
16 | ```
17 |
18 | > Note, if `QS_DB_TYPE` is not set, it defaults to `h2`.
19 |
--------------------------------------------------------------------------------
/datavirt/hibernate-webapp/README.md:
--------------------------------------------------------------------------------
1 | This project is derived from the [hibernate-on-top-of-teiid](https://github.com/teiid/teiid-quickstarts/tree/8.12/hibernate-on-top-of-teiid) quickstart. It has been modified in the following ways:
2 |
3 | * The datasource is defined externally, using the properties in [datasources.env](./datasources.env).
4 | * The pom.xml has been modified to no longer reference a parent pom.
5 | * The vdb has been moved to [hibernate-portfolio-vdb.xml](../dynamicvdb-datafederation/derby/vdb/hibernate-portfolio-vdb.xml)
6 | * EAP deployment.* dependencies are no longer specified in MANIFEST.MF.
7 | * The war file is now named: ROOT.war
8 |
9 | This application now connects to a remote VDB.
10 |
11 | Steps to install:
12 |
13 | 1. Follow the instructions for deploying the (dynamicvdb-datafederation/derby)[../dynamicvdb-datafederation/derby) quickstart on OpenShift.
14 | 2. Use the eap64-third-party-db-s2i template to build and deploy the hibernate-app in this directory.
15 | 3. Create a secret, which defines the configuration details for the datasource required by this application:
16 |
17 | ```
18 | $ oc secrets new eap-app-config datasources.env
19 | ```
20 |
21 | Once the pod is up and running, navigate to the URL specified in the route.
22 |
--------------------------------------------------------------------------------
/datavirt/hibernate-webapp/datasources.env:
--------------------------------------------------------------------------------
1 | # datasource definitions
2 | DATASOURCES=PORTFOLIO
3 |
4 | # the accounts database
5 | PORTFOLIO_DATABASE=Hibernate_Portfolio
6 | PORTFOLIO_JNDI=java:/jboss/datasources/Hibernate4TeiidQuickstartDS
7 | PORTFOLIO_DRIVER=teiid
8 | PORTFOLIO_USERNAME=teiidUser
9 | PORTFOLIO_PASSWORD=password1!
10 | PORTFOLIO_TX_ISOLATION=TRANSACTION_READ_UNCOMMITTED
11 | PORTFOLIO_JTA=true
12 |
13 | # Connection info for non-xa datasource
14 | PORTFOLIO_URL="jdbc:teiid:Hibernate_Portfolio@mm://jdv-app:${JDV_APP_SERVICE_PORT_JDBC};ApplicationName=eap-app;useCallingThread=false;autoCommitTxn=OFF;disableLocalTxn=true"
15 |
16 | # Connection info for xa datasource
17 | PORTFOLIO_XA_CONNECTION_PROPERTY_DatabaseName=Hibernate_Portfolio
18 | PORTFOLIO_XA_CONNECTION_PROPERTY_ServerName=jdv-app
19 | PORTFOLIO_XA_CONNECTION_PROPERTY_PortNumber=${JDV_APP_SERVICE_PORT_JDBC}
20 | PORTFOLIO_XA_CONNECTION_PROPERTY_ApplicationName=eap-app
21 | PORTFOLIO_XA_CONNECTION_PROPERTY_autoCommitTxn=OFF
22 | PORTFOLIO_XA_CONNECTION_PROPERTY_disableLocalTxn=true
23 |
24 | # Not used, but required for configuration to succeed. XA connection and URL props above.
25 | PORTFOLIO_SERVICE_HOST=jdv-app
26 | PORTFOLIO_SERVICE_PORT=${JDV_APP_SERVICE_PORT_JDBC}
27 |
--------------------------------------------------------------------------------
/datavirt/hibernate-webapp/src/main/webapp/WEB-INF/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/datavirt/hibernate-webapp/src/main/webapp/WEB-INF/faces-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
18 |
19 |
20 |
21 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/datavirt/hibernate-webapp/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/datavirt/hibernate-webapp/src/main/webapp/resources/css/screen.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | padding: 0;
4 | background-color: #EAECEE;
5 | font-family: Verdana, sans-serif;
6 | font-size: 0.9em;
7 | }
8 | #container {
9 | margin: 0 auto;
10 | padding: 0 20px 10px 20px;
11 | border: 1px solid #666666;
12 | width: 865px; /* subtract 40px from banner width for padding */
13 | background: #FFFFFF url(#{request.contextPath}/resources/gfx/banner.png) no-repeat;
14 | padding-top: 110px;
15 | }
16 | #sidebar {
17 | font-size: 0.9em;
18 | width: 225px;
19 | float: right;
20 | border: 1px solid #666666;
21 | background: #EAECEE;
22 | padding: 0 15px 5px 15px;
23 | }
24 | #sidebar ul {
25 | padding-left: 30px;
26 | }
27 | #footer {
28 | clear: both;
29 | text-align: center;
30 | color: #666666;
31 | font-size: 0.85em;
32 | padding: 3em 0 0 0;
33 | }
34 | code {
35 | font-size: 1.1em;
36 | }
37 | span.invalid {
38 | padding-left: 3px;
39 | color: red;
40 | }
41 |
--------------------------------------------------------------------------------
/datavirt/hibernate-webapp/src/main/webapp/resources/gfx/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/hibernate-webapp/src/main/webapp/resources/gfx/banner.png
--------------------------------------------------------------------------------
/datavirt/hibernate-webapp/src/main/webapp/resources/gfx/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt/hibernate-webapp/src/main/webapp/resources/gfx/logo.png
--------------------------------------------------------------------------------
/datavirt64/derby-driver-image/Dockerfile:
--------------------------------------------------------------------------------
1 | # Copyright 2016 Red Hat
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 | #
15 | # ------------------------------------------------------------------------
16 | #
17 | # This is a Dockerfile for a Derby JDBC driver add-on for EAP.
18 |
19 | FROM scratch
20 |
21 | # Labels
22 | LABEL name="Derby JDBC Driver" \
23 | version="10.12.1.1"
24 |
25 | # Copy add-on details
26 | COPY install.sh \
27 | install.properties \
28 | /extensions/
29 | COPY modules /extensions/modules/
30 |
31 | # Download the driver into the module folder
32 | ADD https://repo1.maven.org/maven2/org/apache/derby/derbyclient/10.12.1.1/derbyclient-10.12.1.1.jar \
33 | https://repo1.maven.org/maven2/org/apache/derby/derby/10.12.1.1/derby-10.12.1.1.jar \
34 | /extensions/modules/system/layers/openshift/org/apache/derby/main/
35 |
--------------------------------------------------------------------------------
/datavirt64/derby-driver-image/README.md:
--------------------------------------------------------------------------------
1 | An example of an extensions image that provides a Derby database driver for EAP.
--------------------------------------------------------------------------------
/datavirt64/derby-driver-image/install.properties:
--------------------------------------------------------------------------------
1 | #DRIVERS
2 | DRIVERS=DERBY
3 |
4 | DERBY_DRIVER_NAME=derby
5 | DERBY_DRIVER_MODULE=org.apache.derby
6 | DERBY_DRIVER_CLASS=org.apache.derby.jdbc.EmbeddedDriver
7 | DERBY_XA_DATASOURCE_CLASS=org.apache.derby.jdbc.EmbeddedXADataSource
8 |
--------------------------------------------------------------------------------
/datavirt64/derby-driver-image/install.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | # import the common functions for installing modules and configuring drivers
6 | source /usr/local/s2i/install-common.sh
7 |
8 | # should be the directory where this script is located
9 | injected_dir=$1
10 |
11 | # install the JDBC client module
12 | chmod -R ugo+rX ${injected_dir}/modules
13 | install_modules ${injected_dir}/modules
14 |
15 | # configure the JDBC driver in standalone.xml. Driver is named "derby"
16 | configure_drivers ${injected_dir}/install.properties
17 |
--------------------------------------------------------------------------------
/datavirt64/derby-driver-image/modules/system/layers/openshift/org/apache/derby/main/module.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/README_DO_NOT_TOUCH_FILES.txt:
--------------------------------------------------------------------------------
1 |
2 | # *************************************************************************
3 | # *** DO NOT TOUCH FILES IN THIS DIRECTORY! ***
4 | # *** FILES IN THIS DIRECTORY AND SUBDIRECTORIES CONSTITUTE A DERBY ***
5 | # *** DATABASE, WHICH INCLUDES THE DATA (USER AND SYSTEM) AND THE ***
6 | # *** FILES NECESSARY FOR DATABASE RECOVERY. ***
7 | # *** EDITING, ADDING, OR DELETING ANY OF THESE FILES MAY CAUSE DATA ***
8 | # *** CORRUPTION AND LEAVE THE DATABASE IN A NON-RECOVERABLE STATE. ***
9 | # *************************************************************************
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/README_DO_NOT_TOUCH_FILES.txt:
--------------------------------------------------------------------------------
1 |
2 | # *************************************************************************
3 | # *** DO NOT TOUCH FILES IN THIS DIRECTORY! ***
4 | # *** FILES IN THIS DIRECTORY ARE USED BY THE DERBY DATABASE RECOVERY ***
5 | # *** SYSTEM. EDITING, ADDING, OR DELETING FILES IN THIS DIRECTORY ***
6 | # *** WILL CAUSE THE DERBY RECOVERY SYSTEM TO FAIL, LEADING TO ***
7 | # *** NON-RECOVERABLE CORRUPT DATABASES. ***
8 | # *************************************************************************
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/log.ctrl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/log.ctrl
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/log1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/log1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/logmirror.ctrl:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/log/logmirror.ctrl
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/README_DO_NOT_TOUCH_FILES.txt:
--------------------------------------------------------------------------------
1 |
2 | # *************************************************************************
3 | # *** DO NOT TOUCH FILES IN THIS DIRECTORY! ***
4 | # *** FILES IN THIS DIRECTORY ARE USED BY THE DERBY DATABASE TO STORE ***
5 | # *** USER AND SYSTEM DATA. EDITING, ADDING, OR DELETING FILES IN THIS ***
6 | # *** DIRECTORY WILL CORRUPT THE ASSOCIATED DERBY DATABASE AND MAKE ***
7 | # *** IT NON-RECOVERABLE. ***
8 | # *************************************************************************
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c10.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c10.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c101.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c101.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c111.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c111.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c121.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c121.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c130.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c130.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c141.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c141.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c150.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c150.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c161.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c161.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c171.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c171.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c180.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c180.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c191.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c191.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1a1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1a1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1b1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1b1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1c0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1c0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1d1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1d1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1e0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1e0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1f1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c1f1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c20.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c20.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c200.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c200.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c211.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c211.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c221.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c221.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c230.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c230.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c241.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c241.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c251.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c251.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c260.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c260.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c271.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c271.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c281.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c281.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c290.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c290.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2a1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2a1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2b1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2b1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2c1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2c1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2d0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2d0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2e1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2e1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2f0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c2f0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c300.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c300.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c31.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c31.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c311.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c311.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c321.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c321.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c331.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c331.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c340.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c340.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c351.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c351.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c361.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c361.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c371.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c371.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c380.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c380.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c391.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c391.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3a1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3a1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3b1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3b1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3c0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3c0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3d1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3d1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3e1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3e1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3f1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c3f1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c400.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c400.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c41.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c41.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c411.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c411.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c421.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c421.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c430.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c430.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c441.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c441.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c451.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c451.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c461.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c461.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c470.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c470.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c481.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c481.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c490.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c490.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4a1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4a1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4b0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4b0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4c0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4c0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4d0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4d0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4e1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4e1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4f0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c4f0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c501.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c501.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c51.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c51.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c510.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c510.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c521.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c521.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c530.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c530.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c541.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c541.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c550.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c550.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c60.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c60.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c71.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c71.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c81.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c81.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c90.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/c90.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/ca1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/ca1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cb1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cb1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cc0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cc0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cd1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cd1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/ce1.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/ce1.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cf0.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/seg0/cf0.dat
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/derby/accounts/service.properties:
--------------------------------------------------------------------------------
1 | #/NotBackedUp/rcernich/src/git/jboss-openshift/openshift-quickstarts/datavirt/dynamicvdb-datafederation/derby/accounts
2 | # ********************************************************************
3 | # *** Please do NOT edit this file. ***
4 | # *** CHANGING THE CONTENT OF THIS FILE MAY CAUSE DATA CORRUPTION. ***
5 | # ********************************************************************
6 | #Thu Oct 13 12:27:00 MDT 2016
7 | SysschemasIndex2Identifier=225
8 | SyscolumnsIdentifier=144
9 | SysconglomeratesIndex1Identifier=49
10 | SysconglomeratesIdentifier=32
11 | SyscolumnsIndex2Identifier=177
12 | SysschemasIndex1Identifier=209
13 | SysconglomeratesIndex3Identifier=81
14 | SystablesIndex2Identifier=129
15 | SyscolumnsIndex1Identifier=161
16 | derby.serviceProtocol=org.apache.derby.database.Database
17 | SysschemasIdentifier=192
18 | derby.storage.propertiesId=16
19 | SysconglomeratesIndex2Identifier=65
20 | derby.serviceLocale=en_US
21 | SystablesIdentifier=96
22 | SystablesIndex1Identifier=113
23 | #--- last line, don't put anything after this line ---
24 |
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/databases/h2/accounts.h2.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/databases/h2/accounts.h2.db
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/teiidfiles/data/marketdata-price.txt:
--------------------------------------------------------------------------------
1 | SYMBOL,PRICE
2 | RHT,30.00
3 | BA,42.75
4 | MON,78.75
5 | PNRA,84.97
6 | SY,24.30
7 | BTU,41.25
8 | IBM,80.89
9 | DELL,10.75
10 | HPQ,31.52
11 | GE,16.45
12 |
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/teiidfiles/data/marketdata-price1.txt:
--------------------------------------------------------------------------------
1 | SYMBOL,PRICE
2 | MRK,27.20
3 | DIS,20.53
4 | MCD,54.55
5 | DOW,21.80
6 | GM,3.15
7 | SBGI,2.19
8 | COLM,33.89
9 | COLB,12.64
10 | BSY,23.81
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/data/teiidfiles/excelFiles/otherholdings.xls:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/data/teiidfiles/excelFiles/otherholdings.xls
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/datagrid-materialization/src/vdb/jdg-mat-cache-vdb.xml.dodeploy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/dynamicvdb-datafederation/app/datagrid-materialization/src/vdb/jdg-mat-cache-vdb.xml.dodeploy
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/app/hibernate-portfolio-vdb.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | This VDB is utilized by Hibernate on top
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/datavirt64/dynamicvdb-datafederation/h2/README.md:
--------------------------------------------------------------------------------
1 | ##Overview
2 |
3 | This directory contains details specific to using this quickstart with a h2 database. It contains the [customer-schema.sql](./customer-schema.sql) file which includes the DDL and some seed data, along with this readme.
4 |
5 | ##Initializing the Database
6 |
7 | No extra steps are required to initialize the database as it is injected into the image during the s2i build (from [../app/data/databases/h2](../app/data/databases/h2)).
8 |
9 |
10 | ##Running the QuickStart
11 |
12 | Follow the instructions in the main [README](../README.md) and set `QS_DB_TYPE=h2`, e.g.:
13 |
14 | ```
15 | $ oc env dc/datavirt-app QS_DB_TYPE=h2
16 | ```
17 |
18 | > Note, if `QS_DB_TYPE` is not set, it defaults to `h2`.
19 |
--------------------------------------------------------------------------------
/datavirt64/hibernate-webapp/README.md:
--------------------------------------------------------------------------------
1 | This project is derived from the [hibernate-on-top-of-teiid](https://github.com/teiid/teiid-quickstarts/tree/8.12/hibernate-on-top-of-teiid) quickstart. It has been modified in the following ways:
2 |
3 | * The datasource is defined externally, using the properties in [datasources.env](./datasources.env).
4 | * The pom.xml has been modified to no longer reference a parent pom.
5 | * The vdb has been moved to [hibernate-portfolio-vdb.xml](../dynamicvdb-datafederation/derby/vdb/hibernate-portfolio-vdb.xml)
6 | * EAP deployment.* dependencies are no longer specified in MANIFEST.MF.
7 | * The war file is now named: ROOT.war
8 |
9 | This application now connects to a remote VDB.
10 |
11 | Steps to install:
12 |
13 | 1. Follow the instructions for deploying the (dynamicvdb-datafederation/derby)[../dynamicvdb-datafederation/derby) quickstart on OpenShift.
14 | 2. Use the eap64-third-party-db-s2i template to build and deploy the hibernate-app in this directory.
15 | 3. Create a secret, which defines the configuration details for the datasource required by this application:
16 |
17 | ```
18 | $ oc secrets new eap-app-config datasources.env
19 | ```
20 |
21 | Once the pod is up and running, navigate to the URL specified in the route.
22 |
--------------------------------------------------------------------------------
/datavirt64/hibernate-webapp/datasources.env:
--------------------------------------------------------------------------------
1 | # datasource definitions
2 | DATASOURCES=PORTFOLIO
3 |
4 | # the accounts database
5 | PORTFOLIO_DATABASE=Hibernate_Portfolio
6 | PORTFOLIO_JNDI=java:/jboss/datasources/Hibernate4TeiidQuickstartDS
7 | PORTFOLIO_DRIVER=teiid
8 | PORTFOLIO_USERNAME=teiidUser
9 | PORTFOLIO_PASSWORD=JBoss.123
10 | PORTFOLIO_TX_ISOLATION=TRANSACTION_READ_UNCOMMITTED
11 | PORTFOLIO_JTA=true
12 |
13 | # Connection info for non-xa datasource
14 | PORTFOLIO_URL="jdbc:teiid:Hibernate_Portfolio@mm://jdv-app:${DATAVIRT_APP_SERVICE_PORT_JDBC};ApplicationName=eap-app;useCallingThread=false;autoCommitTxn=OFF;disableLocalTxn=true"
15 |
16 | # Connection info for xa datasource
17 | PORTFOLIO_XA_CONNECTION_PROPERTY_DatabaseName=Hibernate_Portfolio
18 | PORTFOLIO_XA_CONNECTION_PROPERTY_ServerName=datavirt-app
19 | PORTFOLIO_XA_CONNECTION_PROPERTY_PortNumber=${DATAVIRT_APP_SERVICE_PORT_JDBC}
20 | PORTFOLIO_XA_CONNECTION_PROPERTY_ApplicationName=eap-app
21 | PORTFOLIO_XA_CONNECTION_PROPERTY_autoCommitTxn=OFF
22 | PORTFOLIO_XA_CONNECTION_PROPERTY_disableLocalTxn=true
23 |
24 | # Not used, but required for configuration to succeed. XA connection and URL props above.
25 | PORTFOLIO_SERVICE_HOST=jdv-app
26 | PORTFOLIO_SERVICE_PORT=${DATAVIRT_APP_SERVICE_PORT_JDBC}
27 |
--------------------------------------------------------------------------------
/datavirt64/hibernate-webapp/src/main/webapp/WEB-INF/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/datavirt64/hibernate-webapp/src/main/webapp/WEB-INF/faces-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
18 |
19 |
20 |
21 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/datavirt64/hibernate-webapp/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/datavirt64/hibernate-webapp/src/main/webapp/resources/css/screen.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | padding: 0;
4 | background-color: #EAECEE;
5 | font-family: Verdana, sans-serif;
6 | font-size: 0.9em;
7 | }
8 | #container {
9 | margin: 0 auto;
10 | padding: 0 20px 10px 20px;
11 | border: 1px solid #666666;
12 | width: 865px; /* subtract 40px from banner width for padding */
13 | background: #FFFFFF url(#{request.contextPath}/resources/gfx/banner.png) no-repeat;
14 | padding-top: 110px;
15 | }
16 | #sidebar {
17 | font-size: 0.9em;
18 | width: 225px;
19 | float: right;
20 | border: 1px solid #666666;
21 | background: #EAECEE;
22 | padding: 0 15px 5px 15px;
23 | }
24 | #sidebar ul {
25 | padding-left: 30px;
26 | }
27 | #footer {
28 | clear: both;
29 | text-align: center;
30 | color: #666666;
31 | font-size: 0.85em;
32 | padding: 3em 0 0 0;
33 | }
34 | code {
35 | font-size: 1.1em;
36 | }
37 | span.invalid {
38 | padding-left: 3px;
39 | color: red;
40 | }
41 |
--------------------------------------------------------------------------------
/datavirt64/hibernate-webapp/src/main/webapp/resources/gfx/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/hibernate-webapp/src/main/webapp/resources/gfx/banner.png
--------------------------------------------------------------------------------
/datavirt64/hibernate-webapp/src/main/webapp/resources/gfx/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/datavirt64/hibernate-webapp/src/main/webapp/resources/gfx/logo.png
--------------------------------------------------------------------------------
/datavirt64/ldap/README.md:
--------------------------------------------------------------------------------
1 | ## Overview
2 |
3 | These are exammple configuration files for configuring one or more security domains. These example demonstrate configuring an LDAP security domain.
4 |
5 | ### Configure LDAP using configProps
6 |
7 | The properties file is loaded as configProps. The datavirt64-basic-s2i.json (or non-ldap) template can be used as an example application deployment.
8 |
9 | file: securitydomain.env
10 |
11 | example:
12 |
13 | the following will load the env file as environment properties into the project
14 |
15 | oc new-app -f {path}/datavirt64-basic-s2i.json \
16 | -p TEIID_USERNAME=teiidUser -p TEIID_PASSWORD=P@ssword1 -p IMAGE_STREAM_NAMESPACE={projectname} --build-env-file=securitydomain.env
17 |
18 |
19 | ### Configurre LDAP using secret
20 |
21 | The properties are loaded using a secret file, The datavirt64-ldap-s2i.json template can be used to for the application deployment.
22 |
23 | file: datavirt-security-secret.yaml the secret file defines the datavirt-security-config secret that corresponds to the secret name property value for property "CONFIG_SECURITY_DOMAIN_NAME"
24 |
25 | example:
26 |
27 | the followinig will load the secret and link it
28 |
29 | oc create -f {path}/datavirt-security-secret.yaml
30 |
31 | # this is assuming the jdv quickstarts are also being loaded, hence including datavirt-app-config
32 | oc secrets link datavirt-service-account datavirt-app-config datavirt-security-config
33 |
--------------------------------------------------------------------------------
/decisionserver/hellorules-client/src/main/webapp/WEB-INF/jboss-deployment-structure.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/decisionserver/hellorules-client/src/main/webapp/WEB-INF/jboss-web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | hellorules
4 |
5 |
--------------------------------------------------------------------------------
/decisionserver/hellorules-client/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | HelloRulesServlet
5 | org.openshift.quickstarts.decisionserver.hellorules.client.HelloRulesServlet
6 |
7 |
8 | HelloRulesServlet
9 | /*
10 |
11 |
12 |
--------------------------------------------------------------------------------
/decisionserver/hellorules-client/src/test/java/org/openshift/quickstarts/decisionserver/hellorules/client/HelloRulesTest.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.decisionserver.hellorules.client;
2 |
3 | import static org.junit.Assert.assertEquals;
4 |
5 | import org.junit.Test;
6 | import org.slf4j.Logger;
7 | import org.slf4j.LoggerFactory;
8 |
9 | public class HelloRulesTest {
10 |
11 | private static final Logger logger = LoggerFactory.getLogger(HelloRulesTest.class);
12 |
13 | @Test
14 | public void testLocal() {
15 | HelloRulesClient client = new HelloRulesClient();
16 | HelloRulesCallback callback = new HelloRulesCallback();
17 | client.runLocal(callback);
18 | assertEquals(1, callback.getQueryResultsSize());
19 | assertEquals("Hello " + System.getProperty("user.name") + "!", callback.getSalutation());
20 | logger.info("********** " + callback.getSalutation() + " **********");
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/decisionserver/hellorules/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | org.openshift.quickstarts
7 | decisionserver-hellorules
8 | 1.4.0.Final
9 | jar
10 |
11 | OpenShift Quickstarts: Decision Server: Hello Rules
12 | A simple example application demonstrating the use of a business rule.
13 |
14 |
15 |
16 | Apache License, Version 2.0
17 | repo
18 | http://www.apache.org/licenses/LICENSE-2.0.html
19 |
20 |
21 |
22 |
23 |
24 |
25 | UTF-8
26 |
27 | 1.8
28 | 1.8
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/decisionserver/hellorules/src/main/java/org/openshift/quickstarts/decisionserver/hellorules/Greeting.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.decisionserver.hellorules;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 | @SuppressWarnings("serial")
11 | @XmlAccessorType(XmlAccessType.FIELD)
12 | @XmlType(name = "greeting", propOrder = {"salutation"})
13 | @XmlRootElement(name = "greeting")
14 | public class Greeting implements Serializable {
15 |
16 | private String salutation;
17 |
18 | public Greeting() {}
19 |
20 | public Greeting(String salutation) {
21 | setSalutation(salutation);
22 | }
23 |
24 | public String getSalutation() {
25 | return salutation;
26 | }
27 |
28 | public void setSalutation(String salutation) {
29 | this.salutation = salutation;
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/decisionserver/hellorules/src/main/java/org/openshift/quickstarts/decisionserver/hellorules/Person.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.decisionserver.hellorules;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 | @SuppressWarnings("serial")
11 | @XmlAccessorType(XmlAccessType.FIELD)
12 | @XmlType(name = "person", propOrder = {"name"})
13 | @XmlRootElement(name = "person")
14 | public class Person implements Serializable {
15 |
16 | private String name;
17 |
18 | public Person() {}
19 |
20 | public Person(String name) {
21 | setName(name);
22 | }
23 |
24 | public String getName() {
25 | return name;
26 | }
27 |
28 | public void setName(String name) {
29 | this.name = name;
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/decisionserver/hellorules/src/main/resources/META-INF/kmodule.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/decisionserver/hellorules/src/main/resources/META-INF/org/openshift/quickstarts/decisionserver/hellorules/HelloRules.drl:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.decisionserver.hellorules
2 |
3 | query "get greeting"()
4 | greeting : Greeting()
5 | end
6 |
7 | rule "greet person"
8 | when
9 | person : Person()
10 | then
11 | String salutation = "Hello " + person.getName() + "!";
12 | System.out.println("********** HelloRules DRL: " + salutation + " **********");
13 | insert(new Greeting(salutation));
14 | end
15 |
--------------------------------------------------------------------------------
/decisionserver/helloworld/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 |
5 | com.redhat.xpaas.brms
6 | hello-world
7 | 1.0-SNAPSHOT
8 | kjar
9 |
10 |
11 | 6.4.0.Final-redhat-6
12 |
13 |
14 |
15 |
16 | org.kie
17 | kie-api
18 | ${drools.version}
19 |
20 |
21 |
22 |
23 |
24 |
25 | org.kie
26 | kie-maven-plugin
27 | ${drools.version}
28 | true
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/decisionserver/helloworld/src/main/resources/META-INF/kmodule.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/decisionserver/helloworld/src/main/resources/com.redhat.xpaas.brms/hello-world.drl:
--------------------------------------------------------------------------------
1 | package com.redhat.xpaas.brms
2 |
3 | rule "Greet the world"
4 | when
5 | $name: String()
6 | not String(this != $name)
7 | then
8 | insert("Hello world from " + $name + "!");
9 | end
10 |
--------------------------------------------------------------------------------
/decisionserver/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | org.openshift.quickstarts
7 | decisionserver-parent
8 | 1.4.0.Final
9 | pom
10 |
11 | OpenShift Quickstarts: Decision Server: Parent
12 | OpenShift Quickstarts: Decision Server: Parent
13 |
14 |
15 |
16 | Apache License, Version 2.0
17 | repo
18 | http://www.apache.org/licenses/LICENSE-2.0.html
19 |
20 |
21 |
22 |
23 | hellorules
24 | hellorules-client
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/helloworld-mdb/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/jta-crash-rec-eap/extensions/byteman/install.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | INSTALL_DIR="$1"
4 |
5 | cp -p "${INSTALL_DIR}"/byteman.jar "${JBOSS_HOME}"
6 |
--------------------------------------------------------------------------------
/jta-crash-rec-eap/src/main/webapp/WEB-INF/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
24 |
25 |
--------------------------------------------------------------------------------
/jta-crash-rec-eap/src/main/webapp/WEB-INF/jta-crash-rec-quickstart-eap6-jms.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | true
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/jta-crash-rec-eap/src/main/webapp/WEB-INF/jta-crash-rec-quickstart-eap7-jms.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | true
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/jta-crash-rec-eap/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/jta-crash-rec-eap7:
--------------------------------------------------------------------------------
1 | jta-crash-rec-eap
--------------------------------------------------------------------------------
/kitchensink-managed-ds/.factorypath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/java/org/jboss/as/quickstarts/kitchensink/rest/JaxRsActivator.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.kitchensink.rest;
18 |
19 | import javax.ws.rs.ApplicationPath;
20 | import javax.ws.rs.core.Application;
21 |
22 | /**
23 | * A class extending {@link Application} and annotated with @ApplicationPath is the Java EE 6 "no XML" approach to activating
24 | * JAX-RS.
25 | *
26 | *
27 | * Resources are served relative to the servlet path specified in the {@link ApplicationPath} annotation.
28 | *
29 | */
30 | @ApplicationPath("/rest")
31 | public class JaxRsActivator extends Application {
32 | /* class body intentionally left blank */
33 | }
34 |
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/resources/import.sql:
--------------------------------------------------------------------------------
1 | --
2 | -- JBoss, Home of Professional Open Source
3 | -- Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual
4 | -- contributors by the @authors tag. See the copyright.txt in the
5 | -- distribution for a full listing of individual contributors.
6 | --
7 | -- Licensed under the Apache License, Version 2.0 (the "License");
8 | -- you may not use this file except in compliance with the License.
9 | -- You may obtain a copy of the License at
10 | -- http://www.apache.org/licenses/LICENSE-2.0
11 | -- Unless required by applicable law or agreed to in writing, software
12 | -- distributed under the License is distributed on an "AS IS" BASIS,
13 | -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | -- See the License for the specific language governing permissions and
15 | -- limitations under the License.
16 | --
17 |
18 | -- You can use this file to load seed data into the database using SQL statements
19 | insert into Member (id, name, email, phone_number) values (0, 'John Smith', 'john.smith@mailinator.com', '2125551212')
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/webapp/WEB-INF/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
21 |
25 |
26 |
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/webapp/resources/gfx/asidebkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-managed-ds/src/main/webapp/resources/gfx/asidebkg.png
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/webapp/resources/gfx/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-managed-ds/src/main/webapp/resources/gfx/banner.png
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/webapp/resources/gfx/bkg-blkheader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-managed-ds/src/main/webapp/resources/gfx/bkg-blkheader.png
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/webapp/resources/gfx/headerbkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-managed-ds/src/main/webapp/resources/gfx/headerbkg.png
--------------------------------------------------------------------------------
/kitchensink-managed-ds/src/main/webapp/resources/gfx/rhjb_eap_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-managed-ds/src/main/webapp/resources/gfx/rhjb_eap_logo.png
--------------------------------------------------------------------------------
/kitchensink-mongodb/.factorypath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/java/org/jboss/as/quickstarts/kitchensink/mapper/MemberMapper.java:
--------------------------------------------------------------------------------
1 | package org.jboss.as.quickstarts.kitchensink.mapper;
2 |
3 | import org.bson.Document;
4 | import org.bson.types.ObjectId;
5 | import org.jboss.as.quickstarts.kitchensink.model.Member;
6 |
7 | public class MemberMapper {
8 |
9 | public static final String ATTR_NAME = "name";
10 | public static final String ATTR_ID = "_id";
11 | public static final String ATTR_EMAIL = "email";
12 | public static final String ATTR_PHONE_NUMBER = "phoneNumber";
13 |
14 | public Document toDocument(Member member) {
15 | Document document = new Document();
16 | if (member.getId() != null) {
17 | document.append(ATTR_ID, new ObjectId(member.getId()));
18 | }
19 | return document
20 | .append(ATTR_NAME, member.getName())
21 | .append(ATTR_EMAIL, member.getEmail())
22 | .append(ATTR_PHONE_NUMBER, member.getPhoneNumber());
23 | }
24 |
25 | public Member toMember(Document document) {
26 | Member member = new Member();
27 | member.setId(document.getObjectId(ATTR_ID).toHexString());
28 | member.setName(document.getString(ATTR_NAME));
29 | member.setEmail(document.getString(ATTR_EMAIL));
30 | member.setPhoneNumber(document.getString(ATTR_PHONE_NUMBER));
31 | return member;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/java/org/jboss/as/quickstarts/kitchensink/rest/JaxRsActivator.java:
--------------------------------------------------------------------------------
1 | /*
2 | * JBoss, Home of Professional Open Source
3 | * Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual
4 | * contributors by the @authors tag. See the copyright.txt in the
5 | * distribution for a full listing of individual contributors.
6 | *
7 | * Licensed under the Apache License, Version 2.0 (the "License");
8 | * you may not use this file except in compliance with the License.
9 | * You may obtain a copy of the License at
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | package org.jboss.as.quickstarts.kitchensink.rest;
18 |
19 | import javax.ws.rs.ApplicationPath;
20 | import javax.ws.rs.core.Application;
21 |
22 | /**
23 | * A class extending {@link Application} and annotated with @ApplicationPath is the Java EE 6 "no XML" approach to activating
24 | * JAX-RS.
25 | *
26 | *
27 | * Resources are served relative to the servlet path specified in the {@link ApplicationPath} annotation.
28 | *
29 | */
30 | @ApplicationPath("/rest")
31 | public class JaxRsActivator extends Application {
32 | /* class body intentionally left blank */
33 | }
34 |
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/webapp/WEB-INF/beans.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
21 |
25 |
26 |
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/webapp/WEB-INF/faces-config.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
24 |
25 |
26 |
27 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/webapp/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/webapp/resources/gfx/asidebkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-mongodb/src/main/webapp/resources/gfx/asidebkg.png
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/webapp/resources/gfx/banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-mongodb/src/main/webapp/resources/gfx/banner.png
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/webapp/resources/gfx/bkg-blkheader.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-mongodb/src/main/webapp/resources/gfx/bkg-blkheader.png
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/webapp/resources/gfx/headerbkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-mongodb/src/main/webapp/resources/gfx/headerbkg.png
--------------------------------------------------------------------------------
/kitchensink-mongodb/src/main/webapp/resources/gfx/rhjb_eap_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/kitchensink-mongodb/src/main/webapp/resources/gfx/rhjb_eap_logo.png
--------------------------------------------------------------------------------
/processserver/library-client/src/main/webapp/WEB-INF/jboss-deployment-structure.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/processserver/library-client/src/main/webapp/WEB-INF/jboss-web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | library
4 |
5 |
--------------------------------------------------------------------------------
/processserver/library-client/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | LibraryServlet
5 | org.openshift.quickstarts.processserver.library.client.LibraryServlet
6 |
7 |
8 | LibraryServlet
9 | /*
10 |
11 |
12 |
--------------------------------------------------------------------------------
/processserver/library-client/src/test/resources/META-INF/persistence.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | org.hibernate.ejb.HibernatePersistence
9 | org.openshift.quickstarts.processserver.library.types.Book
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/processserver/library/loan-process.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/processserver/library/loan-process.jpg
--------------------------------------------------------------------------------
/processserver/library/src/main/java/org/openshift/quickstarts/processserver/library/types/LoanRequest.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.library.types;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlElement;
8 | import javax.xml.bind.annotation.XmlRootElement;
9 | import javax.xml.bind.annotation.XmlType;
10 |
11 | @SuppressWarnings("serial")
12 | @XmlAccessorType(XmlAccessType.FIELD)
13 | @XmlType(name = "loanRequest", propOrder = {"isbn"})
14 | @XmlRootElement(name = "loanRequest")
15 | public class LoanRequest implements Serializable {
16 |
17 | @XmlElement(required = true)
18 | protected String isbn;
19 |
20 | /**
21 | * Gets the value of the isbn property.
22 | *
23 | * @return
24 | * possible object is
25 | * {@link String }
26 | *
27 | */
28 | public String getIsbn() {
29 | return isbn;
30 | }
31 |
32 | /**
33 | * Sets the value of the isbn property.
34 | *
35 | * @param value
36 | * allowed object is
37 | * {@link String }
38 | *
39 | */
40 | public void setIsbn(String value) {
41 | this.isbn = value;
42 | }
43 |
44 | @Override
45 | public String toString() {
46 | return "LoanRequest [isbn=" + isbn + "]";
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/processserver/library/src/main/java/org/openshift/quickstarts/processserver/library/types/LoanResponse.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.library.types;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlElement;
8 | import javax.xml.bind.annotation.XmlRootElement;
9 | import javax.xml.bind.annotation.XmlType;
10 |
11 | @SuppressWarnings("serial")
12 | @XmlAccessorType(XmlAccessType.FIELD)
13 | @XmlType(name = "loanResponse", propOrder = {"loan"})
14 | @XmlRootElement(name = "loanResponse")
15 | public class LoanResponse implements Serializable {
16 |
17 | @XmlElement(required = true)
18 | protected Loan loan;
19 |
20 | /**
21 | * Gets the value of the loan property.
22 | *
23 | * @return
24 | * possible object is
25 | * {@link Loan }
26 | *
27 | */
28 | public Loan getLoan() {
29 | return loan;
30 | }
31 |
32 | /**
33 | * Sets the value of the loan property.
34 | *
35 | * @param value
36 | * allowed object is
37 | * {@link Loan }
38 | *
39 | */
40 | public void setLoan(Loan value) {
41 | this.loan = value;
42 | }
43 |
44 | @Override
45 | public String toString() {
46 | return "LoanResponse [loan=" + loan + "]";
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/processserver/library/src/main/java/org/openshift/quickstarts/processserver/library/types/ReturnRequest.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.library.types;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlElement;
8 | import javax.xml.bind.annotation.XmlRootElement;
9 | import javax.xml.bind.annotation.XmlType;
10 |
11 | @SuppressWarnings("serial")
12 | @XmlAccessorType(XmlAccessType.FIELD)
13 | @XmlType(name = "returnRequest", propOrder = {"loan"})
14 | @XmlRootElement(name = "returnRequest")
15 | public class ReturnRequest implements Serializable {
16 |
17 | @XmlElement(required = true)
18 | protected Loan loan;
19 |
20 | /**
21 | * Gets the value of the loan property.
22 | *
23 | * @return
24 | * possible object is
25 | * {@link Loan }
26 | *
27 | */
28 | public Loan getLoan() {
29 | return loan;
30 | }
31 |
32 | /**
33 | * Sets the value of the loan property.
34 | *
35 | * @param value
36 | * allowed object is
37 | * {@link Loan }
38 | *
39 | */
40 | public void setLoan(Loan value) {
41 | this.loan = value;
42 | }
43 |
44 | @Override
45 | public String toString() {
46 | return "ReturnRequest [loan=" + loan + "]";
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/processserver/library/src/main/java/org/openshift/quickstarts/processserver/library/types/ReturnResponse.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.library.types;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlRootElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 | @SuppressWarnings("serial")
11 | @XmlAccessorType(XmlAccessType.FIELD)
12 | @XmlType(name = "returnResponse", propOrder = {"acknowledged"})
13 | @XmlRootElement(name = "returnResponse")
14 | public class ReturnResponse implements Serializable {
15 |
16 | protected boolean acknowledged;
17 |
18 | /**
19 | * Gets the value of the acknowledged property.
20 | *
21 | */
22 | public boolean isAcknowledged() {
23 | return acknowledged;
24 | }
25 |
26 | /**
27 | * Sets the value of the acknowledged property.
28 | *
29 | */
30 | public void setAcknowledged(boolean value) {
31 | this.acknowledged = value;
32 | }
33 |
34 | @Override
35 | public String toString() {
36 | return "ReturnResponse [acknowledged=" + acknowledged + "]";
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/processserver/library/src/main/java/org/openshift/quickstarts/processserver/library/types/Suggestion.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.library.types;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlElement;
8 | import javax.xml.bind.annotation.XmlType;
9 |
10 | @SuppressWarnings("serial")
11 | @XmlAccessorType(XmlAccessType.FIELD)
12 | @XmlType(name = "suggestion", propOrder = {"book"})
13 | public class Suggestion implements Serializable {
14 |
15 | @XmlElement
16 | protected Book book;
17 |
18 | /**
19 | * Gets the value of the book property.
20 | *
21 | * @return
22 | * possible object is
23 | * {@link Book }
24 | *
25 | */
26 | public Book getBook() {
27 | return book;
28 | }
29 |
30 | /**
31 | * Sets the value of the book property.
32 | *
33 | * @param value
34 | * allowed object is
35 | * {@link Book }
36 | *
37 | */
38 | public void setBook(Book value) {
39 | this.book = value;
40 | }
41 |
42 | @Override
43 | public String toString() {
44 | return "Suggestion [book=" + book + "]";
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/processserver/library/src/main/java/org/openshift/quickstarts/processserver/library/types/SuggestionRequest.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.library.types;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlElement;
8 | import javax.xml.bind.annotation.XmlRootElement;
9 | import javax.xml.bind.annotation.XmlType;
10 |
11 | @SuppressWarnings("serial")
12 | @XmlAccessorType(XmlAccessType.FIELD)
13 | @XmlType(name = "suggestionRequest", propOrder = {"keyword"})
14 | @XmlRootElement(name = "suggestionRequest")
15 | public class SuggestionRequest implements Serializable {
16 |
17 | @XmlElement(required = true)
18 | protected String keyword;
19 |
20 | /**
21 | * Gets the value of the keyword property.
22 | *
23 | * @return
24 | * possible object is
25 | * {@link String }
26 | *
27 | */
28 | public String getKeyword() {
29 | return keyword;
30 | }
31 |
32 | /**
33 | * Sets the value of the keyword property.
34 | *
35 | * @param value
36 | * allowed object is
37 | * {@link String }
38 | *
39 | */
40 | public void setKeyword(String value) {
41 | this.keyword = value;
42 | }
43 |
44 | @Override
45 | public String toString() {
46 | return "SuggestionRequest [keyword=" + keyword + "]";
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/processserver/library/src/main/java/org/openshift/quickstarts/processserver/library/types/SuggestionResponse.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.library.types;
2 |
3 | import java.io.Serializable;
4 |
5 | import javax.xml.bind.annotation.XmlAccessType;
6 | import javax.xml.bind.annotation.XmlAccessorType;
7 | import javax.xml.bind.annotation.XmlElement;
8 | import javax.xml.bind.annotation.XmlRootElement;
9 | import javax.xml.bind.annotation.XmlType;
10 |
11 | @SuppressWarnings("serial")
12 | @XmlAccessorType(XmlAccessType.FIELD)
13 | @XmlType(name = "suggestionResponse", propOrder = {"suggestion"})
14 | @XmlRootElement(name = "suggestionResponse")
15 | public class SuggestionResponse implements Serializable {
16 |
17 | @XmlElement
18 | protected Suggestion suggestion;
19 |
20 | /**
21 | * Gets the value of the suggestion property.
22 | *
23 | * @return
24 | * possible object is
25 | * {@link Suggestion }
26 | *
27 | */
28 | public Suggestion getSuggestion() {
29 | return suggestion;
30 | }
31 |
32 | /**
33 | * Sets the value of the suggestion property.
34 | *
35 | * @param value
36 | * allowed object is
37 | * {@link Suggestion }
38 | *
39 | */
40 | public void setSuggestion(Suggestion value) {
41 | this.suggestion = value;
42 | }
43 |
44 | @Override
45 | public String toString() {
46 | return "SuggestionResponse [suggestion=" + suggestion + "]";
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/processserver/library/src/main/resources/META-INF/kmodule.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/processserver/library/src/main/resources/META-INF/org/openshift/quickstarts/processserver/library/LibraryRules.drl:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.library
2 |
3 | import java.util.LinkedList
4 | import java.util.Map
5 | import org.openshift.quickstarts.processserver.library.types.Book
6 | import org.openshift.quickstarts.processserver.library.types.Suggestion
7 | import org.openshift.quickstarts.processserver.library.types.SuggestionRequest
8 | import org.openshift.quickstarts.processserver.library.types.SuggestionResponse
9 |
10 | import function org.openshift.quickstarts.processserver.library.Library.library
11 |
12 | query "get suggestion"()
13 | suggestionResponse : SuggestionResponse()
14 | end
15 |
16 | rule "init library"
17 | when
18 | then
19 | library().init(kcontext);
20 | end
21 |
22 | rule "make suggestion"
23 | when
24 | suggestionRequest : SuggestionRequest(keyword : keyword)
25 | books : LinkedList() from collect( Book() from library().getFirstAvailableBooks(keyword) )
26 | then
27 | Suggestion suggestion = new Suggestion();
28 | if (books.size() > 0) {
29 | suggestion.setBook((Book)books.iterator().next());
30 | }
31 | SuggestionResponse suggestionResponse = new SuggestionResponse();
32 | suggestionResponse.setSuggestion(suggestion);
33 | insert(suggestionResponse);
34 | end
35 |
--------------------------------------------------------------------------------
/processserver/library/src/main/resources/META-INF/persistence.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | org.hibernate.ejb.HibernatePersistence
9 | java:jboss/datasources/ExampleDS
10 | org.openshift.quickstarts.processserver.library.types.Book
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/processserver/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | org.openshift.quickstarts
7 | processserver-parent
8 | 1.4.0.Final
9 | pom
10 |
11 | OpenShift Quickstarts: Intelligent Process Server: Parent
12 | OpenShift Quickstarts: Intelligent Process Server: Parent
13 |
14 |
15 |
16 | Apache License, Version 2.0
17 | repo
18 | http://www.apache.org/licenses/LICENSE-2.0.html
19 |
20 |
21 |
22 |
23 | library
24 | library-client
25 | timerprocess
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/processserver/timerprocess/src/main/resources/META-INF/kmodule.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/processserver/timerprocess/src/main/resources/META-INF/persistence.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | org.hibernate.ejb.HibernatePersistence
5 | java:jboss/datasources/ExampleDS
6 | true
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/processserver/timerprocess/src/test/java/org/openshift/quickstarts/processserver/timerprocess/TestWorkItemHandler.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.processserver.timerprocess;
2 |
3 | import org.kie.api.runtime.process.WorkItem;
4 | import org.kie.api.runtime.process.WorkItemHandler;
5 | import org.kie.api.runtime.process.WorkItemManager;
6 |
7 | import java.util.ArrayList;
8 | import java.util.List;
9 |
10 | public class TestWorkItemHandler implements WorkItemHandler {
11 |
12 | private List workItems = new ArrayList();
13 |
14 | public void executeWorkItem(WorkItem workItem, WorkItemManager manager) {
15 | workItems.add(workItem);
16 | }
17 |
18 | public void abortWorkItem(WorkItem workItem, WorkItemManager manager) {
19 | }
20 |
21 | public WorkItem getWorkItem() {
22 | if (workItems.size() == 0) {
23 | return null;
24 | }
25 | if (workItems.size() == 1) {
26 | WorkItem result = workItems.get(0);
27 | this.workItems.clear();
28 | return result;
29 | } else {
30 | throw new IllegalArgumentException("More than one work item active");
31 | }
32 | }
33 |
34 | public List getWorkItems() {
35 | List result = new ArrayList(workItems);
36 | workItems.clear();
37 | return result;
38 | }
39 | }
--------------------------------------------------------------------------------
/processserver/timerprocess/timer-process.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jboss-openshift/openshift-quickstarts/c50731b7dcdf70240a8bd047b181f2188c336c4a/processserver/timerprocess/timer-process.png
--------------------------------------------------------------------------------
/todolist/todolist-jdbc/src/main/java/org/openshift/quickstarts/todolist/dao/DataAccessException.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.todolist.dao;
2 |
3 | /**
4 | *
5 | */
6 | public class DataAccessException extends RuntimeException {
7 |
8 | public DataAccessException() {
9 | }
10 |
11 | public DataAccessException(String message) {
12 | super(message);
13 | }
14 |
15 | public DataAccessException(String message, Throwable cause) {
16 | super(message, cause);
17 | }
18 |
19 | public DataAccessException(Throwable cause) {
20 | super(cause);
21 | }
22 |
23 | public DataAccessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
24 | super(message, cause, enableSuppression, writableStackTrace);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/todolist/todolist-jdbc/src/main/java/org/openshift/quickstarts/todolist/dao/TodoListDAO.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.todolist.dao;
2 |
3 | import org.openshift.quickstarts.todolist.model.TodoEntry;
4 |
5 | import java.util.List;
6 |
7 | /**
8 | *
9 | */
10 | public interface TodoListDAO {
11 |
12 | void save(TodoEntry entry);
13 |
14 | List list();
15 | }
16 |
--------------------------------------------------------------------------------
/todolist/todolist-jdbc/src/main/java/org/openshift/quickstarts/todolist/service/TodoListService.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.todolist.service;
2 |
3 | import org.openshift.quickstarts.todolist.dao.JdbcTodoListDAO;
4 | import org.openshift.quickstarts.todolist.dao.TodoListDAO;
5 | import org.openshift.quickstarts.todolist.model.TodoEntry;
6 |
7 | import java.util.List;
8 |
9 | /**
10 | *
11 | */
12 | public class TodoListService {
13 |
14 | private TodoListDAO dao = new JdbcTodoListDAO();
15 |
16 | public void addEntry(TodoEntry entry) {
17 | dao.save(entry);
18 | }
19 |
20 | public List getAllEntries() {
21 | return dao.list();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/todolist/todolist-jdbc/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | MainServlet
7 | MainServlet
8 | org.openshift.quickstarts.todolist.servlet.MainServlet
9 |
10 |
11 |
12 | MainServlet
13 | /index.html
14 |
15 |
16 | index.html
17 |
18 |
19 |
--------------------------------------------------------------------------------
/todolist/todolist-mongodb/src/main/java/org/openshift/quickstarts/todolist/dao/TodoListDAO.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.todolist.dao;
2 |
3 | import org.openshift.quickstarts.todolist.model.TodoEntry;
4 |
5 | import java.util.List;
6 |
7 | /**
8 | *
9 | */
10 | public interface TodoListDAO {
11 |
12 | void save(TodoEntry entry);
13 |
14 | List list();
15 | }
16 |
--------------------------------------------------------------------------------
/todolist/todolist-mongodb/src/main/java/org/openshift/quickstarts/todolist/dao/TodoMapper.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.todolist.dao;
2 |
3 | import org.bson.Document;
4 | import org.bson.types.ObjectId;
5 | import org.openshift.quickstarts.todolist.model.TodoEntry;
6 |
7 | /**
8 | *
9 | */
10 | public class TodoMapper {
11 |
12 | private static final String ATTR_ID = "_id";
13 | private static final String ATTR_SUMMARY = "summary";
14 | private static final String ATTR_DESCRIPTION = "description";
15 |
16 | public TodoEntry fromDocument(Document document) {
17 | TodoEntry entry = new TodoEntry();
18 | entry.setId(document.getObjectId(ATTR_ID).toHexString());
19 | entry.setSummary(document.getString(ATTR_SUMMARY));
20 | entry.setDescription(document.getString(ATTR_DESCRIPTION));
21 | return entry;
22 | }
23 |
24 | public Document toDocument(TodoEntry entry) {
25 | Document document = new Document();
26 | if (entry.getId() != null) {
27 | document.append(ATTR_ID, new ObjectId((String)entry.getId()));
28 | }
29 | return document
30 | .append(ATTR_SUMMARY, entry.getSummary())
31 | .append(ATTR_DESCRIPTION, entry.getDescription());
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/todolist/todolist-mongodb/src/main/java/org/openshift/quickstarts/todolist/model/TodoEntry.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.todolist.model;
2 |
3 | import java.io.Serializable;
4 |
5 | /**
6 | *
7 | */
8 | public class TodoEntry {
9 |
10 | private Serializable id;
11 |
12 | private String summary;
13 |
14 | private String description;
15 |
16 | public TodoEntry() {
17 | }
18 |
19 | public TodoEntry(String summary, String description) {
20 | this(null, summary, description);
21 | }
22 |
23 | public TodoEntry(Serializable id, String summary, String description) {
24 | this.id = id;
25 | this.summary = summary;
26 | this.description = description;
27 | }
28 |
29 |
30 | public String getSummary() {
31 | return summary;
32 | }
33 |
34 | public void setSummary(String summary) {
35 | this.summary = summary;
36 | }
37 |
38 | public String getDescription() {
39 | return description;
40 | }
41 |
42 | public void setDescription(String description) {
43 | this.description = description;
44 | }
45 |
46 | public Serializable getId() {
47 | return id;
48 | }
49 |
50 | public void setId(Serializable id) {
51 | this.id = id;
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/todolist/todolist-mongodb/src/main/java/org/openshift/quickstarts/todolist/service/TodoListService.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.todolist.service;
2 |
3 | import org.openshift.quickstarts.todolist.dao.MongoDbTodoListDAO;
4 | import org.openshift.quickstarts.todolist.dao.TodoListDAO;
5 | import org.openshift.quickstarts.todolist.model.TodoEntry;
6 |
7 | import java.util.List;
8 |
9 | /**
10 | *
11 | */
12 | public class TodoListService {
13 |
14 | private TodoListDAO dao = new MongoDbTodoListDAO();
15 |
16 | public void addEntry(TodoEntry entry) {
17 | dao.save(entry);
18 | }
19 |
20 | public List getAllEntries() {
21 | return dao.list();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/todolist/todolist-mongodb/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | MainServlet
7 | MainServlet
8 | org.openshift.quickstarts.todolist.servlet.MainServlet
9 |
10 |
11 |
12 | MainServlet
13 | /index.html
14 |
15 |
16 | index.html
17 |
18 |
19 |
--------------------------------------------------------------------------------
/tomcat-jdbc/src/main/java/org/openshift/quickstarts/tomcat/dao/TomcatDAO.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.tomcat.dao;
2 |
3 | import org.openshift.quickstarts.tomcat.model.TomcatEntry;
4 |
5 | import java.util.List;
6 |
7 | /**
8 | *
9 | */
10 | public interface TomcatDAO {
11 |
12 | void save(TomcatEntry entry);
13 |
14 | List list();
15 | }
16 |
--------------------------------------------------------------------------------
/tomcat-jdbc/src/main/java/org/openshift/quickstarts/tomcat/model/TomcatEntry.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.tomcat.model;
2 |
3 | import java.io.Serializable;
4 |
5 | /**
6 | *
7 | */
8 | public class TomcatEntry {
9 |
10 | private Serializable id;
11 |
12 | private String summary;
13 |
14 | private String description;
15 |
16 | public TomcatEntry() {
17 | }
18 |
19 | public TomcatEntry(String summary, String description) {
20 | this(null, summary, description);
21 | }
22 |
23 | public TomcatEntry(Serializable id, String summary, String description) {
24 | this.id = id;
25 | this.summary = summary;
26 | this.description = description;
27 | }
28 |
29 |
30 | public String getSummary() {
31 | return summary;
32 | }
33 |
34 | public void setSummary(String summary) {
35 | this.summary = summary;
36 | }
37 |
38 | public String getDescription() {
39 | return description;
40 | }
41 |
42 | public void setDescription(String description) {
43 | this.description = description;
44 | }
45 |
46 | public Serializable getId() {
47 | return id;
48 | }
49 |
50 | public void setId(Serializable id) {
51 | this.id = id;
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/tomcat-jdbc/src/main/java/org/openshift/quickstarts/tomcat/service/TomcatService.java:
--------------------------------------------------------------------------------
1 | package org.openshift.quickstarts.tomcat.service;
2 |
3 | import org.openshift.quickstarts.tomcat.dao.JdbcTomcatDAO;
4 | import org.openshift.quickstarts.tomcat.dao.TomcatDAO;
5 | import org.openshift.quickstarts.tomcat.model.TomcatEntry;
6 |
7 | import java.util.List;
8 |
9 | /**
10 | *
11 | */
12 | public class TomcatService {
13 |
14 | private TomcatDAO dao = new JdbcTomcatDAO();
15 |
16 | public void addEntry(TomcatEntry entry) {
17 | dao.save(entry);
18 | }
19 |
20 | public List getAllEntries() {
21 | return dao.list();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/tomcat-jdbc/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 | MainServlet
7 | MainServlet
8 | org.openshift.quickstarts.tomcat.servlet.MainServlet
9 |
10 |
11 |
12 | MainServlet
13 | /index.html
14 |
15 |
16 | index.html
17 |
18 |
19 |
--------------------------------------------------------------------------------
/tomcat-websocket-chat/README.md:
--------------------------------------------------------------------------------
1 | Websocket Chat Example
2 | ======================
3 |
4 | This example can be used to demonstrate a working Tomcat deployment on OpenShift. The example is derived from the Apache Tomcat Websocket Chat example, packaged for compilation and deployment using the Red Hat Tomcat images on OpenShift.
5 |
6 | Access the application
7 | ---------------------
8 |
9 | Once deployed on OpenShift the application can be access through the URL http:///websocket-chat
10 |
--------------------------------------------------------------------------------
/tomcat-websocket-chat/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
24 |
25 |
26 | Chat websocket example
27 |
28 | Chat websocket example
29 |
30 |
31 | index.xhtml
32 |
33 |
34 |
--------------------------------------------------------------------------------
/undertow-servlet/README:
--------------------------------------------------------------------------------
1 | Undertow Servlet Example
2 |
3 | This is a simple standalone application based on the Undertow Examples. It is used to test the OpenShift Java S2I image.
4 |
--------------------------------------------------------------------------------