Skip to content

Instantly share code, notes, and snippets.

View brunoborges's full-sized avatar
🏠
Working from home, as always

Bruno Borges brunoborges

🏠
Working from home, as always
View GitHub Profile
<extension qualifier="docker">
<property name="autoStartContainers">true</property>
<property name="dockerContainersFile">docker-compose.yml</property>
<property name="serverVersion">1.12</property>
<property name="serverUri">unix:///var/run/docker.sock</property>
<property name="tlsVerify">false</property>
</extension>
<extension qualifier="cube">
<property name="connectionMode">STARTORCONNECTANDLEAVE</property>
</extension>
weblogic:
image: 1221-domain:latest
ports:
- "7001:7001"
environment:
- PRODUCTION_MODE=dev
Running the Test Applications
You can run the test application from an IDE or from the command-line by invoking Maven:
<profiles>
<profile>
<id>weblogic</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<arquillian.launch>weblogic</arquillian.launch>
</properties>
<dependencies>
<dependency>
<groupId>org.arquillian.universe</groupId>
<artifactId>arquillian-cube-docker</artifactId>
<scope>test</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.arquillian.universe</groupId>
<artifactId>arquillian-junit</artifactId>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.arquillian</groupId>
<artifactId>arquillian-universe</artifactId>
<version>${version.arquillian_universe}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
provider "opc" {
  identity_domain = "mydomain"
  endpoint        = "https://api-z27.compute.us6.oraclecloud.com/"
  user            = "user.name@example.com"
  password        = "Pa$$w0rd"
}
 
resource "opc_compute_ssh_key" "sshkey1" {
  name = "example-sshkey1"
  key = "${file("~/.ssh/id_rsa.pub")}"
<cluster-config>
<unicast-listener>
<well-known-addresses>
<address system-property="coherence.wka"></address>
</well-known-addresses>
</unicast-listener>
</cluster-config>
<cluster-config>
<unicast-listener>
<well-known-addresses>
<!-- Specify one or more IP addresses or host names where the cluster members are running -->
<address>foo.oracle.com</address>
<address>bar.oracle.com</address>
</well-known-addresses>
</unicast-listener>
</cluster-config>
<cluster-config>
<unicast-listener>
<well-known-addresses>
<address-provider>
<!-- Specify AddressProvider class name -->
<class-name>com.oracle.coherence.clustering.MarathonAddressProvider</class-name>
</address-provider>
</well-known-addresses>
</unicast-listener>
</cluster-config>