Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ARQ-1289 #9

Open
wants to merge 353 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
353 commits
Select commit Hold shift + click to select a range
b5181b7
[JBAS-9305] ARQ tests using ArchiveDeployer may hang in deployment API
Apr 13, 2011
24c294f
[JBAS-9209] Consider storing OSGi bundles outside the modules hirarchy
Apr 14, 2011
b589a0b
Prepare 7.0.0.Beta3
n1hility Apr 20, 2011
456e2a4
Onward to Beta4
wolfc Apr 20, 2011
f1e1c21
Fixup standalone and subsystem operation descriptions
kabir Apr 18, 2011
a37e350
[JBAS-8931] Make packages from OSGi deployments visible to EE
Apr 20, 2011
c0c3778
[AS7-616] Re-enable checking for server start
bstansberry Apr 29, 2011
9a43bbc
Control testsuite execution with -DskipTests
bstansberry May 14, 2011
c135833
[AS7-828] Update POMs to use maven plugin versions inherited from jbo…
pgier May 18, 2011
c8bb83b
[AS7-856] Replace -DskipTests=true with -DallTests
May 20, 2011
86d6cc5
[AS7-858] Cannot load module when applying resolver results
May 24, 2011
f696fe8
AS7-730: increased timeout of legacy Arquillian setup to 30 seconds a…
wolfc Jun 2, 2011
40779db
[AS7-773] Deploy arquillian service on demand
May 17, 2011
8bf4ac0
[AS7-734] Remove dependency on Arquillian Alpha4.SPx - Build with -Ds…
May 30, 2011
750b20e
[AS7-734] ARQ service deploys. JMXTestRunner receives request. Cannot…
May 31, 2011
aa3e288
[AS7-734] Remove unwanted depedencies
Jun 1, 2011
76c9acc
[AS7-734] ArquillianExtensionLoader added
Jun 1, 2011
920362f
[AS7-734] Migrate to dynamically generates arquillian-service deployment
Jun 1, 2011
189171d
[AS7-734] Arquillian Managed Container pass. Next: migrate smoke and …
Jun 1, 2011
27fd582
[AS7-734] Migrate smoke+integration tests to arquillian Beta1 - compi…
Jun 1, 2011
e99e287
[AS7-734] Re-enable CDI injection into Arquillian test cases. Remote…
Jun 2, 2011
86a57a9
Remove invalid Arquillian deployment processors.
Jun 2, 2011
a0739a6
Always overwrite jbossas config before surefire test run
Jun 2, 2011
1b5cf09
Don't enhance application archive for @RunAsClient ...
Jun 2, 2011
057e011
Fix legacy webapp support ...
Jun 2, 2011
d865966
Add support for general BundleContext injection ...
Jun 2, 2011
872105f
Major protocol and contaier cleanup ...
Jun 2, 2011
f123ca5
Attempt to fix EC2 Hudson issue with InetAddress.getLocalHost()
Jun 3, 2011
61ce183
Fix major arq-core issue where FAILED tests may get reported as PASS ...
Jun 3, 2011
e89c0eb
Make ArquillianConfig a service which can have dependencies ...
Jun 3, 2011
1e8bb24
Add ability for non OSGi modules to register with OSGi layer ...
Jun 4, 2011
b6611c4
Add basic support for OSGi bundle testing ...
Jun 6, 2011
f7f15b8
Fix rebase on master conflicts
Jun 7, 2011
1c7e466
Upgrade to arquillian 1.0.0.Beta2-SNAPSHOT ...
Jun 7, 2011
41fdaae
Restore testenricher msc for injection of ServiceTarget & ServiceCont…
Jun 7, 2011
7ce6c4e
Add support for injected StartLevel and PackageAdmin ...
Jun 8, 2011
2fa80f1
Upgrade to arquillian-1.0.0.CR1-SNAPSHOT - WIP
Jun 8, 2011
c52df1a
Revert "Upgrade to arquillian-1.0.0.CR1-SNAPSHOT - WIP"
Jun 8, 2011
1bcc1dc
Restore domain mode integration tests
bstansberry Jun 9, 2011
3d41c54
Remove dependency on old arquillian2 module
bstansberry Jun 11, 2011
205040e
Fix compile issue exposed now that proper dependency is used
bstansberry Jun 11, 2011
e584ae7
Synchronize arquillian-service deployment/undeployment
Jun 11, 2011
c897ac2
[AS7-972] arquillian-service not getting undeployed
Jun 11, 2011
16acd49
Use explicit IP address rather than 'localhost'. Make arquillian-serv…
Jun 11, 2011
17feefd
[AS7-1020] Enable piping of remote process output to stdout by defaul…
Jun 15, 2011
547b9f2
Fix problem with arquillian packager when manifest has no version
stuartwdouglas Jun 15, 2011
133ba42
Remove listener on service stop
stuartwdouglas Jun 16, 2011
c08cc91
AS7-1022 Use a different ShrinkWrap API to workaround build failures …
jaikiran Jun 16, 2011
bb90aae
Distributed web session support
pferraro May 9, 2011
133adf2
For clustering tests, set java.net.preferIPv4Stack=true on the comman…
bstansberry Jun 19, 2011
e5b7fd5
Specify which jbossHome could not be used.
wolfc Jun 10, 2011
cef574c
Remove a lot of usages of old ModelControllerClient interface
bstansberry Jun 3, 2011
94f0dab
Fix merge issues
bstansberry Jun 9, 2011
abbec58
Fix merge issues following rebase to master
bstansberry Jun 10, 2011
a982911
Get better formatted output if dumping the console output
bstansberry Jun 15, 2011
3b33920
Dump domain process consoles to test-output.txt by default
bstansberry Jun 15, 2011
769e8cc
Fix merge issues from rebase
bstansberry Jun 17, 2011
4287191
Fix ServerStateAttributeHandler
bstansberry Jun 18, 2011
987785c
Switch from ServerController.State to ControlledProcessState
bstansberry Jun 19, 2011
6ce043e
AS7-1062 Rename/repackage controller-client classes
bstansberry Jun 21, 2011
d2a8413
[AS7-1047] Additional switch to support anonymous SASL by default.
darranl Jun 22, 2011
c41cfa9
When running the arquillian managed container the server is already s…
stuartwdouglas Jun 22, 2011
c01e365
AS7-1091 Update to Arquillian Core + Arquillian Container OSGi 1.0.0.CR1
aslakknutsen Jun 8, 2011
5646c21
AS7-1065 Add AS7 Remote Deployable Container support. Does not start …
aslakknutsen Jun 8, 2011
0044ee1
AS7-1091 Update to Arquillian CR1 XML Schema
aslakknutsen Jun 22, 2011
6adb988
Update default standalone/domain.xml files to match the strict web pr…
Jun 23, 2011
ed40fc9
AS7-1111 Stop the modules directory being repeatedly copied as part o…
stuartwdouglas Jun 27, 2011
7132a18
Get the testsuite/domain tests working again
bstansberry Jun 27, 2011
da18425
AS7-459 Create standalone-ha.xml, standalone-preview-ha.xml
bstansberry Jun 27, 2011
ee67a2b
Tag CR1!!!!!
n1hility Jun 29, 2011
3197842
Onward to CR2 (or Final)
wolfc Jun 30, 2011
74d3425
Switch to two distros, jboss-as and jboss-as-web
n1hility Jul 5, 2011
4efaa98
Update rest of poms
n1hility Jul 6, 2011
a05df32
Set version to 7.1.0.Alpha1-SNAPSHOT
kabir Jul 6, 2011
2f068dd
Prepare for tag
n1hility Jul 11, 2011
3097fbe
Prepare for 7.0.0.Final (ly) !!!!
n1hility Jul 12, 2011
2211b82
Next is 7.1.0.Alpha1
n1hility Jul 12, 2011
75971f8
AS7-1152 WIP: Add Protocol Metadata discovery of Servlets
aslakknutsen Jul 12, 2011
4733775
AS7-1152 fill in remaining protocol metadata
mojavelinux Jul 20, 2011
be0bce2
Fix checkstyle errors and change pom to get project to build
stuartwdouglas Jul 20, 2011
a4624fa
[AS7-1281] use unique service name for web deployments
Jul 19, 2011
976fa55
AS7-1318 Extract jmx / http ip/port information from management api i…
aslakknutsen Jul 29, 2011
2a62f49
AS7-1242 Store serviceArchiveDeployed pr container. In a multi Contai…
aslakknutsen Jul 31, 2011
edb8171
AS7-1442 Use javaVmArguments from ManagedContainerConfiguration, defa…
aslakknutsen Aug 2, 2011
d68457c
AS7-1441 Add verifyNoRunningServer that will throw a LifeCycleExcepti…
aslakknutsen Aug 2, 2011
d33df5f
AS7-1174 Remove the internal deployment registry. Arquillian will tel…
aslakknutsen Aug 2, 2011
93f5eab
[AS7-1104] Wrap all JBossSaslProvider registrations in a PrivilegedAc…
darranl Aug 3, 2011
7e9552c
Add option to allow managed container to connect to existing containe…
stuartwdouglas Aug 4, 2011
eacc500
[AS7-1357] Initial implementation of the Enterprise Deployment API (J…
Aug 1, 2011
9443757
AS7-1242 Change to operate on a single instance of the ServiceArchive…
aslakknutsen Aug 10, 2011
809aaf2
AS7-1156 Remove use of JMX Protocol Configuration ExecutionType, this…
aslakknutsen Jul 31, 2011
94cb146
AS7-1361 Move Modules Dependencies 'enrichment' to Protocol-JMX-AS7.
aslakknutsen Aug 10, 2011
1872164
AS7-1361 Only activate MSCEnrichment if MSC classes found on runtime …
aslakknutsen Aug 15, 2011
b9095cf
AS7-1469 Remove startupTimeout from CommonContainerConfiguration, it …
aslakknutsen Aug 16, 2011
63cb640
AS7-1468 Change ManagedDeployableContainer to use configuration outpu…
aslakknutsen Aug 16, 2011
2067a09
[AS7-1303] Add failing case showing TestNG not working in ARQ AS7; Ma…
ALRubinger Aug 16, 2011
cc30a27
[AS7-1550] Remove now-unnecessary dependency upon Guice, and re-add t…
ALRubinger Aug 16, 2011
03146cd
Fix some thread safty issues with services
stuartwdouglas Aug 17, 2011
580693c
Prepare 7.0.1
n1hility Aug 17, 2011
01e3362
Next is 7.1.0.Alpha1 (again)
n1hility Aug 17, 2011
c3f2280
Fix arquillian module path
stuartwdouglas Aug 17, 2011
83b25b3
edited based on feedback from bstansberry
dobozysaurus Sep 6, 2011
33e2d24
Fix SecurityActions issues
stuartwdouglas Sep 13, 2011
fc5e146
Only check the availability of the Server using the Management API af…
aslakknutsen Sep 14, 2011
a4a5ce7
expose the resolved address for network interfaces
Sep 13, 2011
34d512e
Revert "Only check the availability of the Server using the Managemen…
bstansberry Sep 15, 2011
f3a9694
7.1.0.Alpha1 (Ahoy!)
n1hility Sep 19, 2011
704f28c
Next is alpha2
n1hility Sep 19, 2011
1bf0fcb
[AS7-1754] Add transactional integration endpoint (STOMP)
Sep 20, 2011
b08c916
[AS7-1446] Arquillian Service should lazy load OSGi services
Sep 26, 2011
a481d69
Move clustering tests over
stuartwdouglas Oct 13, 2011
caa6b9b
[AS7-1601] Cannot deploy OSGi webap bundle with *.war suffix
Oct 5, 2011
49fd4af
AS7-2110 Don't create multiple remoting Endpoints; clean up remoting …
bstansberry Oct 15, 2011
4ed1041
Only create a single JMX connection
stuartwdouglas Oct 20, 2011
e8d299c
Prevent the managed container from starting an AS7 instance if one is…
stuartwdouglas Oct 25, 2011
957a323
Wait a bit before trying to connect to server
kabir Oct 31, 2011
43bfe28
Abort if the server process died
wolfc Nov 2, 2011
65d7e52
Fix clustering tests and XSLT transforms for the tests
stuartwdouglas Nov 4, 2011
71dfc2c
[AS7-1710] Fix test suite after secured by default.
darranl Nov 4, 2011
09bdfb5
Ugly Hack, tunnel ARQ JMX over management
n1hility Nov 16, 2011
686d997
Disable jmx-connector by default, Rework testsuite to support that ch…
n1hility Nov 19, 2011
cad2a94
Disable JMX connector in all remaining configs. Adjust domain tests t…
n1hility Nov 20, 2011
0253519
AS7-2713 Setup correct dependencies for the namespace context selecto…
stuartwdouglas Nov 22, 2011
830a626
[AS7-2587] Add a add-user script / utility for adding a new user to t…
darranl Nov 17, 2011
72750c2
Prepare 7.1.0.Beta1
n1hility Nov 23, 2011
e0d34de
Next is 7.1.0.CR1
n1hility Nov 23, 2011
142c5e3
[AS7-2769] Arquillian Managed container always using java command to …
pskopek Nov 23, 2011
fc81759
[AS7-2769] transforming initializer to constructor
pskopek Nov 24, 2011
70497d1
[AS7-1457] Remove all manual SASL provider registrations.
darranl Dec 2, 2011
b14737e
Make the PluggableMBeanServer the platform mbean server
kabir Dec 2, 2011
e1a8d52
[AS7-205] consistent policy with closing input streams (part 2)
Dec 7, 2011
a636af4
[AS7-1642] Fix DomainLifecycleUtil to copy the host/domain files into…
kabir Dec 9, 2011
ec44454
AS7-3026 - org.jboss.as.arquillian.container.ManagementClient is unab…
mgencur Dec 14, 2011
02ce92d
AS7-2779 Change to store deployment pr @Deployment.name
aslakknutsen Dec 14, 2011
539e571
Release 7.1.0.CR1 (Flux Capacitor)
n1hility Dec 22, 2011
16fed69
Next is final
n1hility Dec 22, 2011
1fee984
Use a more flexible timeout
n1hility Jan 3, 2012
fd31879
AS7-3116 implement annotations options when specifying dependencies i…
stuartwdouglas Jan 3, 2012
ce57565
AS7-2234 Add the ExtensionRegistry notion; expose subsystem metadata …
bstansberry Dec 18, 2011
aa162c0
Enable assertions by default in the arquillian managed container
stuartwdouglas Jan 4, 2012
9d5437b
implement fugly MBean attribute inspection
ropalka Jan 5, 2012
9108eca
AS7-3217 Move the domain lifecycle utils to testsuite/domain
bstansberry Jan 6, 2012
3d2b036
AS7-3205 Integrate the remoting JMX project into AS7
stuartwdouglas Jan 2, 2012
aca066f
[REMJMX-14] Set the protocol to 'remoting-jmx'
darranl Jan 12, 2012
e29ce52
Update launch mechanism for Modules 1.1 (remove logmodule and mbeanse…
dmlloyd Jan 16, 2012
5115561
[AS7-3111] Support @ArquillianResource injection of JNDI Context for …
ALRubinger Jan 18, 2012
a8f6225
[AS7-1415] Provide @ArquillianResource injection of ManagementClient;…
ALRubinger Jan 19, 2012
9730efd
ARQ-2616 Add security credentials support for remote and managed cont…
aslakknutsen Jan 16, 2012
25182a5
AS7-2616 Rename non final variables to lower case
aslakknutsen Jan 22, 2012
57bb2de
[AS7-2824] Bundles directory not resolved correctly with multi folder…
Jan 23, 2012
62f2f05
[AS7-3362] Provide OSGi Tech Preview test integration
Jan 19, 2012
92613cf
Stop Arquillian from overwriting mgmt-users.properties
stuartwdouglas Jan 30, 2012
a578007
Arquillian managed container tests have a test-compile time dependenc…
pgier Feb 1, 2012
3b0881c
[AS7--3613] Surround possible IPv6 addresses in quotes
kabir Feb 6, 2012
2ce0406
AS7-3653 Don't expose ProtocolUtils outside a very limited number of …
bstansberry Feb 7, 2012
056f40c
AS7-3712: be more informative when the bound-port is undefined
wolfc Feb 10, 2012
8f3b2b9
Prepare 7.1.0.Final "Thunder"
n1hility Feb 16, 2012
4df019f
Next is 7.1.1.Final
stuartwdouglas Feb 16, 2012
9a6a32e
AS7-3718 Copy cause exception message to DeploymentException: "Could …
OndraZizka Feb 11, 2012
ea86ef4
JavaDoc errors
maasvdberg Feb 11, 2012
bd3d51d
unused imports
maasvdberg Feb 12, 2012
b988b9e
spelling and typos
maasvdberg Feb 14, 2012
95417b1
Add ServerSetup extension to allow for setup before the deployment
stuartwdouglas Feb 24, 2012
0577420
Allow non-public classes to be used
stuartwdouglas Feb 24, 2012
a961dd0
WIP
stuartwdouglas Feb 24, 2012
eed208a
Add support for ManagementClient injection to incontainer tests
stuartwdouglas Feb 25, 2012
19f13b1
Support ManagementClient injection into in container tests. Also expo…
stuartwdouglas Feb 25, 2012
cfac92d
Change the way the management tests are setup
stuartwdouglas Feb 27, 2012
82ef1ee
Allow for multiple ServerSetup actions, and apply this to IdentityLog…
stuartwdouglas Feb 27, 2012
dfb4218
[AS7-3921] Upgrade to Remoting JMX 1.0.2 including switching to new g…
darranl Feb 27, 2012
9802516
Implement @ContainerResource for injecting the management client and …
stuartwdouglas Feb 28, 2012
9331a39
WIP
stuartwdouglas Feb 28, 2012
63548a9
Fix test issues
stuartwdouglas Feb 29, 2012
5581324
Fix bug with ServerSetupObserver
stuartwdouglas Feb 29, 2012
d5c715c
ServerSetupTask fixes to handle tests with multiple deployments better
stuartwdouglas Feb 29, 2012
1159ba6
Fix NPE
kabir Feb 29, 2012
4d05ef8
Clean up getting the web subsystem address from the management client
stuartwdouglas Feb 29, 2012
2880a31
[AS7-3829] Remove JUnit from the AS installation tree
Feb 29, 2012
ba451fe
Remove dependency on jbosgi-testing
Feb 29, 2012
6158a35
Fix issue with host resolution in arquillian
stuartwdouglas Mar 3, 2012
1ac9b31
Remove zone specifier if present in the ManagementClient
stuartwdouglas Mar 4, 2012
d30a12e
Add a http client that ignores cookie origin for use in the clusterin…
stuartwdouglas Mar 9, 2012
d9940bf
Release 7.1.1.Final "Brontes"
n1hility Mar 10, 2012
1616619
Next is 7.1.2.Final
stuartwdouglas Mar 11, 2012
b03c3bc
fix messed up arquillian common pom.xml license
rhusar Mar 10, 2012
9477581
Change test structure
stuartwdouglas Mar 18, 2012
cf667f5
[AS7-3880] Cannot specify multiple paths in ARQ modulePath config
Mar 19, 2012
7ed049f
Remove APIs needed to register module with the OSGi layer explicitly
Mar 16, 2012
8ae15b1
[AS7-4212] Arquillian service registered multiple times with the Envi…
Mar 20, 2012
2260623
Set allowConnectToRunningServer=false. It is a good reminder when pro…
kabir Mar 20, 2012
741887a
Revert "Change test structure"
stuartwdouglas Mar 20, 2012
dd52c16
To catch AssertionError as well - it could be thrown e.g. from org.jb…
ochaloup Feb 29, 2012
aa9b720
[AS7-4070] Add "wait on port timeout" feature for ARQ AS7 Managed Con…
ALRubinger Mar 23, 2012
6d09ad8
AS7-4451 ServerSetupTasks don't get cleaned up if there was a problem
stuartwdouglas Apr 10, 2012
05030cc
AS7-2203 Add Arquillian support for Managed/Remote Domain Server.
aslakknutsen Mar 26, 2012
7d8e485
AS7-4516 Enable AS7 managed container to be started in admin-only mode
galderz Apr 22, 2012
2e88560
AS7-4185
baranowb Apr 19, 2012
9c1066f
AS7-4185 Try and cut back on connection testing
bstansberry Apr 25, 2012
3cd02f9
AS7-4584 modulePath should pass to -mp and not -Djboss.modules.dir
galderz Apr 22, 2012
ce59dc3
AS7-4634 Fix NPE
stuartwdouglas Apr 25, 2012
3fa9883
AS7-4620 ServerSetupObserver should not assume a Deploy has happened …
stuartwdouglas Apr 25, 2012
805024a
Fix launch command for domain mode.
jamezp Apr 28, 2012
fc47312
AS7-4683 Fix ThreadLocal leak in Arquillian
stuartwdouglas May 1, 2012
6caee95
Prepare 7.1.2.Final
n1hility May 9, 2012
a022068
Next is 7.2.0.Alpha1
n1hility May 10, 2012
e4fcadc
AS7-4946 Read bytes into buffer to avoid transforming output
galderz Jun 4, 2012
3f4ccb0
[AS7-4658] Verify that the deploy operation is guaranteed to wait for…
May 8, 2012
8212690
Restore and deprecate ManagementClient.getDeploymentMetaData()
May 29, 2012
b6e7fa8
[AS7-5048] Cannot run smoke tests from IDE
Jun 21, 2012
7b0128f
Change arquillian to parse annotations earlier in the deployment
stuartwdouglas Jul 10, 2012
4d7edb6
Change arquillian to rely on states rather than transitions
stuartwdouglas Jul 10, 2012
108dcb8
Change arquillian OSGI to not rely on the annotation index being present
stuartwdouglas Jul 10, 2012
6935846
Make sure old arquillian config service is removed
stuartwdouglas Jul 11, 2012
0aecceb
Minor change to arquillian service
stuartwdouglas Jul 12, 2012
ba20418
[AS7-5104] Remove no-start behaviour for test bundle deployments
Jul 3, 2012
4a01ad0
Remove server dependency on osgi
Jul 11, 2012
f1af5f5
[AS7-5196] Uninstalling bootstrap/persistent bundles brings Framework…
Jul 18, 2012
4b0e050
[AS7-5214] BundleContext not properly injected for non ARQ deployments
Jul 19, 2012
4a228c5
Double timeouts
n1hility Jul 23, 2012
58067e1
Fix AS7-5348. Correctly add root cause to remote arquilian failures.
Aug 13, 2012
bc1044b
[AS7-5286] Provide BundleContext through framework services
Aug 2, 2012
a73e173
Align OSGi testsuite scope and structure with documentation and upcom…
Sep 21, 2012
6244d04
Upgrade checkstyle plugin
ctomc Oct 9, 2012
278d71c
[AS7-5680] Separate framework SPI from API
Oct 12, 2012
0fbde63
[AS7-974] Implement the Arquillian JBossAS7 Embedded Container (with …
ALRubinger Oct 15, 2012
14b1b11
[AS7-974] embedded configuration improvements
mmatloka Oct 23, 2012
9ffbf6e
[AS7-974] security actions for context class loader operations
mmatloka Oct 23, 2012
f12e2cb
[AS7-974] bundles dir fix
mmatloka Oct 23, 2012
963ab93
[AS7-974] arquillian embedded deployable container refactors and code…
mmatloka Oct 23, 2012
d885f96
[AS7-974] embedded container configuration - code formatting fix
mmatloka Oct 24, 2012
1f09c3c
AS7-974 Fix exception message
bstansberry Oct 25, 2012
d011e3e
minor spelling fix
rhusar Oct 31, 2012
66358da
Add missing copyright headers.
jamezp Nov 7, 2012
c81618d
AS7-5839 Make logging configuration and boot log file relative to ser…
ggrossetie Oct 24, 2012
c3b301d
AS7-5839 Use File.separatorChar instead of front slash
ggrossetie Oct 31, 2012
f83e9dd
AS7-5839 The jboss.server.base.dir option is the full path to the di…
ggrossetie Nov 10, 2012
68103f5
Add logging in Arquillian ManagementClient to log operation failure m…
jaikiran Nov 22, 2012
fa38e80
as7-6040 : Removed arquillian/service directory
Nov 27, 2012
aefed7d
[AS7-5927] Minimal AS7 build pulls in many unecessary dependencies
Nov 12, 2012
6ab65ad
AS7-5879
baranowb Dec 20, 2012
cc2286d
Refactor RejectExpressionValuesTransformer to also be available for c…
kabir Dec 21, 2012
96e1469
Make subsystem test pass in the correct model version when reading th…
kabir Dec 21, 2012
21cd2ee
[AS7-6172] Consolidate embedded server API
Dec 12, 2012
e4345d1
Revert "[AS7-6172] Consolidate embedded server API"
n1hility Jan 7, 2013
d6dabb3
Minor change to arquillian that allows it to work without the web sub…
stuartwdouglas Jan 24, 2013
91c1395
[AS7-6172] Consolidate embedded server API
Dec 12, 2012
c61de2e
AS7-6436 tearDown methods of ServerSetupTask should be called in reve…
kwart Feb 1, 2013
3e16e1b
[AS7-6436] one more place to fix ServerSetupTask.tearDown() methods c…
kwart Feb 4, 2013
16fc570
[ARQ-1289] Import #JBossAS7 Containers and support, rename the ARQ mo…
ALRubinger Feb 11, 2013
4c60f76
[ARQ-1289] Default to Servlet 3.0 Protocol, remove vestigial AS7 exte…
ALRubinger Mar 11, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 104 additions & 0 deletions jbossas-7.x/jbossas-common-7.x/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2012, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This is free software; you can redistribute it and/or modify it
~ under the terms of the GNU Lesser General Public License as
~ published by the Free Software Foundation; either version 2.1 of
~ the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<!-- Parent -->
<parent>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-jbossas-parent-7.x</artifactId>
<version>1.0.0.Final-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>
<artifactId>arquillian-jbossas-common-7.x</artifactId>
<name>Arquillian Container JBoss AS Common 7.x</name>

<packaging>jar</packaging>

<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-container-osgi</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-cdi</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-ejb</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-initialcontext</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-osgi</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.testenricher</groupId>
<artifactId>arquillian-testenricher-resource</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-container-test-impl-base</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.protocol</groupId>
<artifactId>arquillian-protocol-servlet</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.osgi.spi</groupId>
<artifactId>jbosgi-spi</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-controller-client</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-api</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.remotingjmx</groupId>
<artifactId>remoting-jmx</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.sasl</groupId>
<artifactId>jboss-sasl</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/

package org.jboss.as.arquillian.api;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
* Annotation that can be used to inject a container specific resource.
*
* @author Stuart Douglas
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface ContainerResource {

/**
* The container to connect to. This may be left empty if only 1 server is available
*/
String value() default "";

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/

package org.jboss.as.arquillian.api;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
* OSGi deployment properties marker.
*
* [TODO] Remove this when we have
* https://issues.jboss.org/browse/AS7-3694
*
* @author [email protected]
* @since 21-Jun-2012
*/
@Documented
@Retention(RUNTIME)
@Target(ElementType.TYPE)
public @interface DeploymentMarker {

/**
* Defines the auto start behaviour for this bundle deployment.
*/
boolean autoStart() default true;

/**
* Defines the start level for this bundle deployment.
*/
int startLevel() default 1;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/

package org.jboss.as.arquillian.api;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* Annotation that can be applied to an arquillian test to allow for server setup to be performed
* before the deployment is performed.
*
* This will be run before the first deployment is performed for each server.
*
* @author Stuart Douglas
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ServerSetup {

Class<? extends ServerSetupTask>[] value();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/

package org.jboss.as.arquillian.api;

import org.jboss.as.arquillian.container.ManagementClient;

/**
*
* A task which is run before deployment that allows the client to customize the server config.
*
* @author Stuart Douglas
*/
public interface ServerSetupTask {

void setup(final ManagementClient managementClient, final String containerId) throws Exception;

void tearDown(final ManagementClient managementClient, final String containerId) throws Exception;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.as.arquillian.container;

import java.io.IOException;
import java.io.InputStream;

import org.jboss.arquillian.container.spi.client.container.DeploymentException;
import org.jboss.as.controller.client.ModelControllerClient;
import org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper;
import org.jboss.logging.Logger;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.exporter.ZipExporter;

/**
* A deployer that uses the {@link ServerDeploymentHelper}
*
* @author [email protected]
* @since 17-Nov-2010
*/
public class ArchiveDeployer {

private static final Logger log = Logger.getLogger(ArchiveDeployer.class);

private final ServerDeploymentHelper deployer;

public ArchiveDeployer(ModelControllerClient modelControllerClient) {
this.deployer = new ServerDeploymentHelper(modelControllerClient);
}

public String deploy(Archive<?> archive) throws DeploymentException {
return deployInternal(archive);
}

public String deploy(String name, InputStream input) throws DeploymentException {
return deployInternal(name, input);
}

public void undeploy(String runtimeName) throws DeploymentException {
try {
deployer.undeploy(runtimeName);
} catch (Exception ex) {
log.warnf(ex, "Cannot undeploy: %s", runtimeName);
}
}

private String deployInternal(Archive<?> archive) throws DeploymentException {
final InputStream input = archive.as(ZipExporter.class).exportAsInputStream();
try {
return deployInternal(archive.getName(), input);
} finally {
if (input != null)
try {
input.close();
} catch (IOException e) {
log.warnf(e, "Failed to close resource %s", input);
}
}
}

private String deployInternal(String name, InputStream input) throws DeploymentException {
try {
return deployer.deploy(name, input);
} catch (Exception ex) {
Throwable rootCause = ex.getCause();
while (null != rootCause && rootCause.getCause() != null) {
rootCause = rootCause.getCause();
}
throw new DeploymentException("Cannot deploy: " + name, rootCause);
}
}
}
Loading