#BOM for Arquillian
Dependencies to use Arquillian with JUnit
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
1.1.9.Final
| ## Cluster | |
| ### Cluster info | |
| kubectl cluster-info | |
| kubectl get nodes | |
| kubectl describe node | |
| ### Listar os eventos | |
| kubectl get events |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Context> | |
| <!-- webapp/META-INF/Context.xml --> | |
| <Manager pathname=""/> | |
| <Resource name="BeanManager" | |
| auth="Container" | |
| type="javax.enterprise.inject.spi.BeanManager" | |
| factory="org.jboss.weld.resources.ManagerObjectFactory"/> | |
| </Context> |
| <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee | |
| http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" | |
| version="3.1"> | |
| </web-app> |
#BOM for Arquillian
Dependencies to use Arquillian with JUnit
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
1.1.9.Final
#Dependencies e configs to test JPA using Derby
may need update
Dependecies to POM.xml
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.6.0</version>
#Dependecies to test in a embedded JAX-RS
may need update
Dependencies to POM.xml
<dependency>
<groupId>org.glassfish.jersey.test-framework.providers</groupId>
<artifactId>jersey-test-framework-provider-grizzly2</artifactId>
<version>2.22</version>
Dependencies to test JAX-RS
Dependencies to POM.xml
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
| var http = require("http"), | |
| url = require("url"), | |
| path = require("path"), | |
| fs = require("fs") | |
| port = process.argv[2] || 8888; | |
| http.createServer(function(request, response) { | |
| var uri = url.parse(request.url).pathname | |
| , filename = path.join(process.cwd(), uri); |