Skip to content
Permalink
Browse files

Remove 'incubat(ing, ion, or)' designation and disclaimer (#126)

  • Loading branch information...
mrutkows committed Aug 8, 2019
1 parent a5bc161 commit d8ccb1442651beee6a9245913e3ca0cb182888b1
@@ -19,7 +19,7 @@

# Openwhisk Client Go
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![Build Status](https://travis-ci.org/apache/incubator-openwhisk-client-go.svg?branch=master)](https://travis-ci.org/apache/incubator-openwhisk-client-go)
[![Build Status](https://travis-ci.org/apache/openwhisk-client-go.svg?branch=master)](https://travis-ci.org/apache/openwhisk-client-go)

This project `openwhisk-client-go` is a Go client library to access Openwhisk API.

@@ -36,7 +36,7 @@ Make sure you select the package that fits your local environment, and [set the
### Installation

After you download the source code either from the Github or the release page of OpenWhisk, you should have a directory named
_incubator-openwhisk-client-go_ to host all the source code. Please copy this root directory _incubator-openwhisk-client-go_
_openwhisk-client-go_ to host all the source code. Please copy this root directory _openwhisk-client-go_
into the directory $GOPATH/src/github.com/apache.


@@ -45,12 +45,12 @@ into the directory $GOPATH/src/github.com/apache.
Open a terminal, and run the following commands to run the unit tests:

```
$ cd $GOPATH/src/github.com/apache/incubator-openwhisk-client-go
$ cd $GOPATH/src/github.com/apache/openwhisk-client-go
$ govendor sync
$ go test -v ./... -tags=unit
```

You should see all the unit tests passed. If not, please [log an issue](https://github.com/apache/incubator-openwhisk-client-go/issues) for us.
You should see all the unit tests passed. If not, please [log an issue](https://github.com/apache/openwhisk-client-go/issues) for us.


### Configuration
@@ -66,13 +66,13 @@ The parameter APIVERSION is the version of OpenWhisk API to be used to access th
The parameter NAMESPACE is the OpenWhisk namespace used to specify the OpenWhisk resources about to be accessed.
The parameter AUTH is the authentication key used to authenticate the incoming requests to the OpenWhisk services.

For more information regarding the REST API of OpenWhisk, please refer to [OpenWhisk REST API](https://github.com/apache/incubator-openwhisk/blob/master/docs/rest_api.md).
For more information regarding the REST API of OpenWhisk, please refer to [OpenWhisk REST API](https://github.com/apache/openwhisk/blob/master/docs/rest_api.md).


### Usage

```go
import "github.com/apache/incubator-openwhisk-client-go/whisk"
import "github.com/apache/openwhisk-client-go/whisk"
```

Construct a new whisk client, then use various services to access different parts of the whisk api. For example to get the `hello` action:
@@ -122,7 +122,7 @@ import (
"net/http"
"net/url"
"github.com/apache/incubator-openwhisk-client-go/whisk"
"github.com/apache/openwhisk-client-go/whisk"
)
func main() {
@@ -21,7 +21,7 @@ set -e
# Build script for Travis-CI.
SCRIPTDIR=$(cd $(dirname "$0") && pwd)
ROOTDIR="$SCRIPTDIR/../.."
UTILDIR="$ROOTDIR/../incubator-openwhisk-utilities"
UTILDIR="$ROOTDIR/../openwhisk-utilities"

# run scancode using the ASF Release configuration
cd $UTILDIR
@@ -21,4 +21,4 @@ HOMEDIR="$SCRIPTDIR/../../../"

# clone OpenWhisk utilities repo. in order to run scanCode
cd $HOMEDIR
git clone https://github.com/apache/incubator-openwhisk-utilities.git
git clone https://github.com/apache/openwhisk-utilities.git
@@ -18,15 +18,15 @@

set -e

export OPENWHISK_HOME="$(dirname "$TRAVIS_BUILD_DIR")/incubator-openwhisk";
export OPENWHISK_HOME="$(dirname "$TRAVIS_BUILD_DIR")/openwhisk";
HOMEDIR="$(dirname "$TRAVIS_BUILD_DIR")"
cd $HOMEDIR

# Clone the OpenWhisk code
git clone --depth 3 https://github.com/apache/incubator-openwhisk.git
git clone --depth 3 https://github.com/apache/openwhisk.git

# Build script for Travis-CI.
WHISKDIR="$HOMEDIR/incubator-openwhisk"
WHISKDIR="$HOMEDIR/openwhisk"

cd $WHISKDIR
./tools/travis/setup.sh
@@ -40,7 +40,7 @@ $ANSIBLE_CMD couchdb.yml
$ANSIBLE_CMD initdb.yml
$ANSIBLE_CMD apigateway.yml
$ANSIBLE_CMD wipe.yml
$ANSIBLE_CMD openwhisk.yml -e '{"openwhisk_cli":{"installation_mode":"remote","remote":{"name":"OpenWhisk_CLI","dest_name":"OpenWhisk_CLI","location":"https://github.com/apache/incubator-openwhisk-cli/releases/download/latest"}}}'
$ANSIBLE_CMD openwhisk.yml -e '{"openwhisk_cli":{"installation_mode":"remote","remote":{"name":"OpenWhisk_CLI","dest_name":"OpenWhisk_CLI","location":"https://github.com/apache/openwhisk-cli/releases/download/latest"}}}'

cd $TRAVIS_BUILD_DIR
make integration_test
@@ -21,5 +21,5 @@
"revisionTime": "2019-01-09T08:30:14Z"
}
],
"rootPath": "github.com/apache/incubator-openwhisk-client-go"
"rootPath": "github.com/apache/openwhisk-client-go"
}
@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
"net/url"
"strings"
@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
"net/url"
"strconv"
@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
"strings"
)
@@ -35,7 +35,7 @@ import (
"strings"
"time"

"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
)

const (
@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
"net/url"
)
@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
"strings"
)
@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
"net/url"
"strings"
@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
"net/url"
"strings"
@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
)

@@ -20,7 +20,7 @@ package whisk
import (
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"net/http"
"net/url"
"strings"
@@ -24,7 +24,7 @@ import (
"reflect"
"strings"

"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"github.com/fatih/color"
"github.com/google/go-querystring/query"
"github.com/hokaccha/go-prettyjson"
@@ -21,7 +21,7 @@ import (
"bufio"
"errors"
"fmt"
"github.com/apache/incubator-openwhisk-client-go/wski18n"
"github.com/apache/openwhisk-client-go/wski18n"
"io/ioutil"
"net/url"
"os"
@@ -103,7 +103,7 @@ func (viperImp FakeViperImp) AddConfigPath(in string) {
func getCurrentDir() string {
dir, err := os.Getwd()
if err != nil {
return os.Getenv("GOPATH") + "/src/github.com/apache/incubator-openwhisk-client-go/whisk"
return os.Getenv("GOPATH") + "/src/github.com/apache/openwhisk-client-go/whisk"
}
return dir
}

0 comments on commit d8ccb14

Please sign in to comment.
You can’t perform that action at this time.