With ssh config adding, data directory mounted, provision script setup. 2 CPUs and 4 GB of RAM.
Create a setup bash script at provision/setup.sh
and it will be run.
/* | |
* Dependencies: Apache POI Library from http://poi.apache.org/ | |
*/ | |
package poi_excels; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.logging.Level; |
curl \ | |
--verbose \ | |
--request OPTIONS \ | |
http://localhost:3001/api/configuration/visitor \ | |
--header 'Origin: http://localhost:9292' \ | |
--header 'Access-Control-Request-Headers: Origin, Accept, Content-Type' \ | |
--header 'Access-Control-Request-Method: GET' | |
# http://nils-blum-oeste.net/cors-api-with-oauth2-authentication-using-rails-and-angularjs/#.UQJeLkp4ZyE |
######################################################################### | |
### USAGE: rdiff path/to/left,path/to/right [-s path/to/summary/dir] ### | |
### ADD LOCATION OF THIS SCRIPT TO PATH ### | |
######################################################################### | |
[CmdletBinding()] | |
param ( | |
[parameter(HelpMessage="Stores the execution working directory.")] | |
[string]$ExecutionDirectory=$PWD, | |
[parameter(Position=0,HelpMessage="Compare two directories recursively for differences.")] |
curl \ | |
--verbose \ | |
--request OPTIONS \ | |
https://academic-dev1.cloud.thingworx.com/Thingworx/Things/testingCORS/Properties/test \ | |
--header 'Origin: http://localhost:3000' \ | |
--header 'appKey: 29506e99-bca6-4522-b60e-55bd891716f7' \ | |
--header 'Access-Control-Request-Headers: Origin, Accept, Content-Type' \ | |
--header 'Access-Control-Request-Method: GET' |