/usr/local/opt/gatling/bin/gatling.sh -s ch.doplabs.scalps.ScalpsSimulation -rd scalps
To generate the client stubs, for example for Swift, from the Swagger API files, run the following code generator:
# root@3548f6bc1b9f:/playbook# cat group_vars/all | |
# common variables | |
cluster_name: k8s | |
cluster_zone: CH-GVA-2 | |
ssh_key: "{{ cluster_name }}-key" | |
anti_affinity_group_name: "{{ cluster_name }}-aag" | |
# master node variables | |
master_security_group_name: "{{ cluster_name }}-master-sg" | |
master_instance_size: Tiny |
package ch.doplab.scalps.domain | |
import java.util.UUID | |
// Domain objects | |
case class User(userId: UUID, name: Option[String] = None) | |
case class Device(deviceId: UUID, name: String, platform: String, deviceToken: String) |
# SCALPS config | |
scalps { | |
host = "0.0.0.0" | |
ports { | |
http = 9000 | |
tcp = 6969 | |
ws = 6696 | |
} |
# This only works with the current master branch of Akka | |
# Setup the necessary deps | |
brew install python | |
# adjust this depending on the latest version of Python that brew installed | |
export PATH=`brew --prefix python`/bin:/usr/local/share/python:$PATH | |
pip install sphinx |
{ | |
"timestamp":1346176058594, | |
"topic":"iwall.application.smartcampus", | |
"publisherID":1, | |
"duration":1, | |
"publicationID":35, | |
"range":100, | |
"location":{ | |
"timestamp":1346176000267, | |
"altitude":0, |
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package net.headfirst.iwall; | |
import java.io.Serializable; | |
import java.util.Set; | |
/** |
$ ssh -v prefix | |
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 | |
debug1: Reading configuration data /Users/rk/.ssh/config | |
debug1: /Users/rk/.ssh/config line 1: Applying options for prefix | |
debug1: Reading configuration data /etc/ssh_config | |
debug1: /etc/ssh_config line 20: Applying options for * | |
debug1: /etc/ssh_config line 102: Applying options for * | |
debug1: Connecting to prefix [195.176.182.141] port 22. | |
debug1: Connection established. | |
debug1: identity file /Users/rk/.ssh/id_dsa type 2 |
$ ssh -vv getafix | |
Sun_SSH_1.5, SSH protocols 1.5/2.0, OpenSSL 0x0090819f | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: Rhosts Authentication disabled, originating port will not be trusted. | |
debug1: ssh_connect: needpriv 0 | |
debug1: Connecting to getafix [195.176.182.140] port 22. | |
debug1: Connection established. | |
debug1: identity file /home/rk/.ssh/identity type -1 | |
debug1: identity file /home/rk/.ssh/id_rsa type -1 | |
debug1: identity file /home/rk/.ssh/id_dsa type -1 |
Host github.com | |
User git | |
Hostname github.com | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_rsa_github | |
Host * | |
ForwardAgent yes |