Skip to content

Commit

Permalink
release version 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
okeuday committed Mar 29, 2017
1 parent 7b561ea commit 07a67b7
Showing 374 changed files with 2,605 additions and 1,978 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ before_install:
- sudo apt-get update
# travis default image has: make autoconf automake libtool g++ git perl python python-dev
- sudo apt-get install default-jdk php5 libboost-system-dev libboost-thread-dev libboost-dev libgmp3-dev uuid-dev
- rm rebar.config
before_script:
- kerl list installations
- mkdir build
- cd build
- ../src/autogen.sh
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [CloudI 1.6.0](http://cloudi.org)
# [CloudI 1.7.0](http://cloudi.org)

[![Build Status](https://secure.travis-ci.org/CloudI/CloudI.png?branch=develop)](http://travis-ci.org/CloudI/CloudI) [![CloudI IRC](https://img.shields.io/badge/irc-%23cloudi-orange.svg)](https://webchat.freenode.net?randomnick=1&channels=cloudi) [![Project Stats](https://www.openhub.net/p/CloudI/widgets/project_thin_badge.gif)](https://www.openhub.net/p/CloudI)

53 changes: 30 additions & 23 deletions doc/README.markdown
Original file line number Diff line number Diff line change
@@ -24,8 +24,8 @@

wget --content-disposition \
http://sourceforge.net/projects/cloudi/files/latest/download
tar zxvf cloudi-1.6.0.tar.gz
cd cloudi-1.6.0/src
tar zxvf cloudi-1.7.0.tar.gz
cd cloudi-1.7.0/src
./configure
make
sudo make install
@@ -89,8 +89,8 @@

1. Compile the CloudI service executable:

gcc -I/usr/local/lib/cloudi-1.6.0/api/c \
-L/usr/local/lib/cloudi-1.6.0/api/c \
gcc -I/usr/local/lib/cloudi-1.7.0/api/c \
-L/usr/local/lib/cloudi-1.7.0/api/c \
-g -O0 -fexceptions hello_world.c -o hello_world_c -lcloudi

1. Now it is necessary to create the CloudI service configuration that
@@ -103,9 +103,9 @@
[[{prefix, "/quickstart/c/"},
{file_path, "$PWD/hello_world_c"},
{env, [{"LD_LIBRARY_PATH",
"/usr/local/lib/cloudi-1.6.0/api/c/"},
"/usr/local/lib/cloudi-1.7.0/api/c/"},
{"DYLD_LIBRARY_PATH",
"/usr/local/lib/cloudi-1.6.0/api/c/"}]}]]
"/usr/local/lib/cloudi-1.7.0/api/c/"}]}]]
EOF

1. To dynamically add the CloudI service configuration that
@@ -189,8 +189,8 @@

1. Compile the CloudI service executable:

g++ -I/usr/local/lib/cloudi-1.6.0/api/c \
-L/usr/local/lib/cloudi-1.6.0/api/c \
g++ -I/usr/local/lib/cloudi-1.7.0/api/c \
-L/usr/local/lib/cloudi-1.7.0/api/c \
-g -O0 hello_world.cpp -o hello_world_cxx -lcloudi

1. Now it is necessary to create the CloudI service configuration that
@@ -203,9 +203,9 @@
[[{prefix, "/quickstart/cxx/"},
{file_path, "$PWD/hello_world_cxx"},
{env, [{"LD_LIBRARY_PATH",
"/usr/local/lib/cloudi-1.6.0/api/c/"},
"/usr/local/lib/cloudi-1.7.0/api/c/"},
{"DYLD_LIBRARY_PATH",
"/usr/local/lib/cloudi-1.6.0/api/c/"}]}]]
"/usr/local/lib/cloudi-1.7.0/api/c/"}]}]]
EOF

1. To dynamically add the CloudI service configuration that
@@ -272,7 +272,7 @@
def project do
[app: :Elixir.HelloWorld,
version: "1.6.0",
version: "1.7.0",
elixirc_paths: ["lib/"],
deps: []]
end
@@ -385,7 +385,7 @@
file would be added with the same filename
(see the examples [for more details](https://github.com/CloudI/CloudI/tree/develop/examples/hello_world1#readme)).

erlc -pz /usr/local/lib/cloudi-1.6.0/lib/cloudi_core-1.6.0/ebin \
erlc -pz /usr/local/lib/cloudi-1.7.0/lib/cloudi_core-1.7.0/ebin \
hello_world.erl

1. You now have a CloudI service contained within a single Erlang module
@@ -435,17 +435,23 @@

### Go

1. CloudI must be compiled and installed after using the configure
argument "--enable-go-support" before attempting the Go quickstart
below:

1. A CloudI service written in Go is called an "external" service
because the service is ran inside an Operating System process
(external to the Erlang VM). The example Go service can be
created by executing the following inside your shell:

mkdir -p src/hello_world_go/
mkdir -p src/hello_world_go/vendor/
cp -rf /usr/local/lib/cloudi-1.7.0/api/go/cloudi src/hello_world_go/vendor/
cp -rf /usr/local/lib/cloudi-1.7.0/api/go/erlang src/hello_world_go/vendor/
cat << EOF > src/hello_world_go/main.go
package main
import (
"github.com/CloudI/cloudi_api_go/src/cloudi"
"cloudi"
"os"
"sync"
)
@@ -488,7 +494,8 @@

1. Compile the CloudI service executable:

GOPATH=`pwd` GOBIN=$GOPATH/bin go get -x hello_world_go
mkdir -p bin
GOPATH=`pwd` GOBIN=$GOPATH/bin go install -x hello_world_go

1. Now it is necessary to create the CloudI service configuration that
specifies both the initialization and fault-tolerance constraints
@@ -616,14 +623,14 @@
EOF
cat << EOF > manifest.txt
Main-Class: org.cloudi.tests.hello_world.Main
Class-Path: /usr/local/lib/cloudi-1.6.0/api/java/cloudi.jar
Class-Path: /usr/local/lib/cloudi-1.7.0/api/java/cloudi.jar
EOF

1. Compile the CloudI service jar:

cd org/cloudi/tests/hello_world/
CLASSPATH=/usr/local/lib/cloudi-1.6.0\
CLASSPATH=/usr/local/lib/cloudi-1.7.0\
/api/java/cloudi.jar:${CLASSPATH} javac Task.java Main.java
cd ../../../../
jar cvfm hello_world.jar manifest.txt org
@@ -638,7 +645,7 @@
cat << EOF > hello_world.conf
[[{prefix, "/quickstart/java/"},
{file_path, "$JAVA"},
{args, "-cp /usr/local/lib/cloudi-1.6.0/api/java/ "
{args, "-cp /usr/local/lib/cloudi-1.7.0/api/java/ "
"-ea:org.cloudi... -jar $PWD/hello_world.jar"}]]
EOF

@@ -673,7 +680,7 @@
created by executing the following inside your shell:

cat << EOF > hello_world.js
var CloudI = require('/usr/local/lib/cloudi-1.6.0/' +
var CloudI = require('/usr/local/lib/cloudi-1.7.0/' +
'api/javascript/CloudI.js').CloudI;
var assert = require('assert');
@@ -809,7 +816,7 @@
[[{prefix, "/quickstart/perl/"},
{file_path, "$PERL"},
{args, "$PWD/hello_world.pl"},
{env, [{"PERL5LIB", "/usr/local/lib/cloudi-1.6.0/api/perl"}]}]]
{env, [{"PERL5LIB", "/usr/local/lib/cloudi-1.7.0/api/perl"}]}]]
EOF

1. To dynamically add the CloudI service configuration that
@@ -845,7 +852,7 @@
cat << EOF > hello_world.php
<?php
require '/usr/local/lib/cloudi-1.6.0/api/php/CloudI.php';
require '/usr/local/lib/cloudi-1.7.0/api/php/CloudI.php';
class Task
{
@@ -935,7 +942,7 @@

cat << EOF > hello_world.py
import sys
sys.path.append('/usr/local/lib/cloudi-1.6.0/api/python/')
sys.path.append('/usr/local/lib/cloudi-1.7.0/api/python/')
import traceback
from cloudi import API, terminate_exception
@@ -1008,7 +1015,7 @@
created by executing the following inside your shell:

cat << EOF > hello_world.rb
\$:.unshift '/usr/local/lib/cloudi-1.6.0/api/ruby'
\$:.unshift '/usr/local/lib/cloudi-1.7.0/api/ruby'
\$DEBUG = false
Loading

0 comments on commit 07a67b7

Please sign in to comment.