Permalink
Browse files

Migrate from alexellis org to openfaas

Note, not all `alexellis/github` references should be changed, there are
a number of repos which are not part of the openfaas org, this commit
excludes those.

Signed-off-by: John McCabe <john@johnmccabe.net>
  • Loading branch information...
johnmccabe authored and alexellis committed Sep 25, 2017
1 parent eed9641 commit 89878f0c8a530ffbadec4abac070dcefd537c2dd
Showing with 161 additions and 166 deletions.
  1. +2 −2 .github/PULL_REQUEST_TEMPLATE.md
  2. +3 −3 CONTRIBUTING.md
  3. +5 −5 DEV.md
  4. +17 −17 README.md
  5. +5 −5 ROADMAP.md
  6. +3 −3 TestDrive.md
  7. +1 −1 api-docs/README.md
  8. +1 −1 api-docs/swagger.yml
  9. +4 −4 community.md
  10. +0 −5 contrib/ci.sh
  11. +1 −1 contrib/dind/Dockerfile
  12. +12 −12 docs/README.md
  13. +2 −2 gateway/Dockerfile
  14. +2 −2 gateway/Dockerfile.armhf
  15. +1 −1 gateway/build.armhf.sh
  16. +1 −1 gateway/handlers/alerthandler.go
  17. +2 −2 gateway/handlers/asyncreport.go
  18. +2 −2 gateway/handlers/createhandler.go
  19. +2 −2 gateway/handlers/deletehandler.go
  20. +2 −2 gateway/handlers/forwarding_proxy.go
  21. +1 −1 gateway/handlers/proxy.go
  22. +2 −2 gateway/handlers/queueproxy.go
  23. +2 −2 gateway/handlers/reader.go
  24. +2 −2 gateway/handlers/update_handler.go
  25. +1 −1 gateway/metrics/add_metrics.go
  26. +1 −1 gateway/metrics/externalwatcher.go
  27. +2 −2 gateway/plugin/external.go
  28. +5 −5 gateway/server.go
  29. +1 −1 gateway/tests/alerthandler_test.go
  30. +1 −1 gateway/tests/config_test.go
  31. +1 −1 gateway/tests/integration/createfunction_test.go
  32. +1 −1 gateway/tests/registryauth_test.go
  33. +1 −1 gateway/tests/unmarshall_test.go
  34. +1 −1 gateway/vendor/github.com/{alexellis/faas-nats → openfaas/nats-queue-worker}/handler/handler.go
  35. +1 −1 ...way/vendor/github.com/{alexellis/faas-nats → openfaas/nats-queue-worker}/queue-worker/vendor.conf
  36. +2 −2 guide/asynchronous.md
  37. +7 −7 guide/backends.md
  38. +3 −3 guide/kong_integration.md
  39. +1 −1 guide/troubleshooting.md
  40. +1 −1 sample-functions/AlpineFunction/Dockerfile
  41. +1 −1 sample-functions/AlpineFunction/Dockerfile.armhf
  42. +1 −1 sample-functions/ApiKeyProtected/Dockerfile
  43. +1 −1 sample-functions/ApiKeyProtected/handler.go
  44. +1 −1 sample-functions/BaseFunctions/R/Dockerfile
  45. +1 −1 sample-functions/BaseFunctions/R/README.Rmd
  46. +1 −1 sample-functions/BaseFunctions/R/README.md
  47. +1 −1 sample-functions/BaseFunctions/cobol/Dockerfile
  48. +1 −1 sample-functions/BaseFunctions/coffee/Dockerfile
  49. +1 −1 sample-functions/BaseFunctions/dncore/Dockerfile
  50. +3 −3 sample-functions/BaseFunctions/golang/Dockerfile
  51. +2 −2 sample-functions/BaseFunctions/golang/Dockerfile.win
  52. +1 −1 sample-functions/BaseFunctions/golang/README.md
  53. +1 −1 sample-functions/BaseFunctions/java/Dockerfile
  54. +1 −1 sample-functions/BaseFunctions/node/Dockerfile
  55. +1 −1 sample-functions/BaseFunctions/python/Dockerfile
  56. +1 −1 sample-functions/CHelloWorld/src/Dockerfile
  57. +1 −1 sample-functions/CaptainsIntent/Dockerfile
  58. +1 −1 sample-functions/ChangeColorIntent/Dockerfile
  59. +3 −3 sample-functions/DockerHubStats/Dockerfile
  60. +2 −2 sample-functions/DockerHubStats/Dockerfile.armhf
  61. +1 −1 sample-functions/HostnameIntent/Dockerfile
  62. +1 −1 sample-functions/MarkdownRender/Dockerfile
  63. +1 −1 sample-functions/MarkdownRender/Dockerfile.armhf
  64. +1 −1 sample-functions/NodeInfo/Dockerfile
  65. +1 −1 sample-functions/NodeInfo/Dockerfile.armhf
  66. +1 −1 sample-functions/Phantomjs/Dockerfile
  67. +2 −2 sample-functions/Phantomjs/README.md
  68. +2 −2 sample-functions/README.md
  69. +1 −1 sample-functions/ResizeImageMagick/Dockerfile
  70. +1 −1 sample-functions/ResizeImageMagick/Dockerfile.armhf
  71. +2 −2 sample-functions/ResizeImageMagick/README.md
  72. +1 −1 sample-functions/SentimentAnalysis/Dockerfile
  73. +1 −1 sample-functions/SentimentAnalysis/Dockerfile.armhf
  74. +1 −1 sample-functions/WebhookStash/Dockerfile
  75. +1 −1 sample-functions/catservice/Dockerfile
  76. +1 −1 sample-functions/gif-maker/Dockerfile
  77. +2 −2 watchdog/Dockerfile
  78. +3 −3 watchdog/README.md
  79. +1 −1 watchdog/build.ps1
  80. +4 −4 watchdog/build.sh
  81. +1 −1 watchdog/main.go
@@ -6,7 +6,7 @@
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
- [ ] I have raised an issue to propose this change ([required](https://github.com/alexellis/faas/blob/master/CONTRIBUTING.md))
- [ ] I have raised an issue to propose this change ([required](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md))
## How Has This Been Tested?
@@ -26,7 +26,7 @@
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I've read the [CONTRIBUTION](https://github.com/alexellis/faas/blob/master/CONTRIBUTING.md) guide
- [ ] I've read the [CONTRIBUTION](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md) guide
- [ ] I have signed-off my commits with `git commit -s`
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
View
@@ -20,7 +20,7 @@ We have a number of areas where we can accept contributions:
**I've found a typo**
* A Pull Request is not necessary. Raise an [Issue](https://github.com/alexellis/faas/issues) and we'll fix it as soon as we can.
* A Pull Request is not necessary. Raise an [Issue](https://github.com/openfaas/faas/issues) and we'll fix it as soon as we can.
**I have a [great] idea**
@@ -76,11 +76,11 @@ This project is written in Golang but many of the community contributions so far
#### Community file
The [community.md](https://github.com/alexellis/faas/blob/master/community.md) file highlights blogs, talks and code repos with example FaaS functions and usages. Please send a Pull Request if you are doing something cool with FaaS.
The [community.md](https://github.com/openfaas/faas/blob/master/community.md) file highlights blogs, talks and code repos with example FaaS functions and usages. Please send a Pull Request if you are doing something cool with FaaS.
#### Roadmap
Checkout the [roadmap](https://github.com/alexellis/faas/blob/master/ROADMAP.md) and [open issues](https://github.com/alexellis/faas/issues).
Checkout the [roadmap](https://github.com/openfaas/faas/blob/master/ROADMAP.md) and [open issues](https://github.com/openfaas/faas/issues).
#### Slack
View
10 DEV.md
@@ -6,19 +6,19 @@ Before you start development, you may want to take FaaS for a test drive which s
> You can test-drive FaaS with a set of sample functions as defined in docker-compose.yml on play-with-docker.com for free, or on your own laptop.
* [Begin the TestDrive instructions](https://github.com/alexellis/faas/blob/master/TestDrive.md)
* [Begin the TestDrive instructions](https://github.com/openfaas/faas/blob/master/TestDrive.md)
### Working on the API Gateway or Watchdog
To work on either of the FaaS Golang components checkout the "./build.sh" scripts and acompanying Dockerfiles.
* [Roadmap and Contributing](https://github.com/alexellis/faas/blob/master/ROADMAP.md)
* [Roadmap and Contributing](https://github.com/openfaas/faas/blob/master/ROADMAP.md)
### Creating a function
Functions run as Docker containers with the Watchdog component embedded to handle communication with the API Gateway.
You can find the [reference documentation for the Watchdog here](https://github.com/alexellis/faas/tree/master/watchdog).
You can find the [reference documentation for the Watchdog here](https://github.com/openfaas/faas/tree/master/watchdog).
**Markdown Parser**
@@ -35,7 +35,7 @@ RUN go get github.com/microcosm-cc/bluemonday && \
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess="/go/src/app/app"
@@ -63,7 +63,7 @@ Update the Docker stack with this:
```
FROM alpine:latest
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
ADD https://github.com/openfaas/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
RUN chmod +x /usr/bin/fwatchdog
ENV fprocess="wc"
View
@@ -13,8 +13,8 @@ OpenFaaS (Functions as a Service) is a framework for building serverless functio
* Ease of use through UI portal and *one-click* install
* Write functions in any language for Linux or Windows and package in Docker/OCI image format
* Portable - runs on existing hardware or public/private cloud - [Kubernetes](https://github.com/alexellis/faas-netes) and Docker Swarm native
* [CLI](http://github.com/alexellis/faas-cli) available with YAML format for templating and defining functions
* Portable - runs on existing hardware or public/private cloud - [Kubernetes](https://github.com/openfaas/faas-netes) and Docker Swarm native
* [CLI](http://github.com/openfaas/faas-cli) available with YAML format for templating and defining functions
* Auto-scales as demand increases
## Governance
@@ -36,11 +36,11 @@ OpenFaaS is an independent project created by [Alex Ellis](https://www.alexellis
* Your API Gateway will scale functions according to demand by altering the service replica count in the Docker Swarm or Kubernetes API.
* A UI is baked in allowing you to invoke functions in your browser and create new ones as needed.
> The API Gateway is a RESTful micro-service and you can view the [Swagger docs here](https://github.com/alexellis/faas/tree/master/api-docs).
> The API Gateway is a RESTful micro-service and you can view the [Swagger docs here](https://github.com/openfaas/faas/tree/master/api-docs).
### CLI
Any container or process in a Docker container can be a serverless function in FaaS. Using the [FaaS CLI](http://github.com/alexellis/faas-cli) you can deploy your functions or quickly create new functions from templates such as Node.js or Python.
Any container or process in a Docker container can be a serverless function in FaaS. Using the [FaaS CLI](http://github.com/openfaas/faas-cli) you can deploy your functions or quickly create new functions from templates such as Node.js or Python.
> The CLI is effectively a RESTful client for the API Gateway.
@@ -72,31 +72,31 @@ module.exports = (callback, context) => {
```
*handler.js*
Other [Sample functions](https://github.com/alexellis/faas/tree/master/sample-functions) are available in the Github repository in a range of programming languages.
Other [Sample functions](https://github.com/openfaas/faas/tree/master/sample-functions) are available in the Github repository in a range of programming languages.
## Get started with OpenFaaS
### TestDrive
**Docker Swarm**
The deployment guide for Docker Swarm contains a simple one-line command to get you up and running in around 60 seconds. It also includes a set of [sample functions](https://github.com/alexellis/faas/tree/master/sample-functions) which you can use with the TestDrive instructions below.
The deployment guide for Docker Swarm contains a simple one-line command to get you up and running in around 60 seconds. It also includes a set of [sample functions](https://github.com/openfaas/faas/tree/master/sample-functions) which you can use with the TestDrive instructions below.
[Deployment guide for Docker Swarm](https://github.com/openfaas/faas/blob/master/guide/deployment_swarm.md)
**Kubernetes**
OpenFaaS is Kubernetes-native - you can follow the [deployment guide here](https://github.com/alexellis/faas/blob/master/guide/deployment_k8s.md).
OpenFaaS is Kubernetes-native - you can follow the [deployment guide here](https://github.com/openfaas/faas/blob/master/guide/deployment_k8s.md).
**Docker Playground**
You can quickly start OpenFaaS on Docker Swarm online using the community-run Docker playground: play-with-docker.com (PWD) by clicking the button below:
[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/alexellis/faas/master/docker-compose.yml&stack_name=func)
[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/openfaas/faas/master/docker-compose.yml&stack_name=func)
#### Begin the TestDrive
* [Begin the TestDrive with Docker Swarm](https://github.com/alexellis/faas/blob/master/TestDrive.md)
* [Begin the TestDrive with Docker Swarm](https://github.com/openfaas/faas/blob/master/TestDrive.md)
Here is a screenshot of the API gateway portal - designed for ease of use.
@@ -130,34 +130,34 @@ This is my original blog post on FaaS from January: [Functions as a Service blog
Have you written a blog about OpenFaaS? Send a Pull Request to the community page below.
* [Read blogs/articles and find events about OpenFaaS](https://github.com/alexellis/faas/blob/master/community.md)
* [Read blogs/articles and find events about OpenFaaS](https://github.com/openfaas/faas/blob/master/community.md)
If you'd like to join OpenFaaS community Slack channel to chat with contributors or get some help - then send a Tweet to [@alexellisuk](https://twitter.com/alexellisuk/) or email alex@openfaas.com.
### Roadmap and contributing
OpenFaaS is written in Golang and is MIT licensed - contributions are welcomed whether that means providing feedback, testing existing and new feature or hacking on the source.
To get started you can read the [roadmap](https://github.com/alexellis/faas/blob/master/ROADMAP.md) and [contribution guide](https://github.com/alexellis/faas/blob/master/CONTRIBUTING.md) or:
To get started you can read the [roadmap](https://github.com/openfaas/faas/blob/master/ROADMAP.md) and [contribution guide](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md) or:
* [Browse FaaS issues on Github](https://github.com/alexellis/faas/issues).
* [Browse FaaS-CLI issues on Github](https://github.com/alexellis/faas-cli/issues).
* [Browse FaaS issues on Github](https://github.com/openfaas/faas/issues).
* [Browse FaaS-CLI issues on Github](https://github.com/openfaas/faas-cli/issues).
Highlights:
* New: Kubernetes support via [FaaS-netes](https://github.com/alexellis/faas-netes) plugin
* New: Kubernetes support via [FaaS-netes](https://github.com/openfaas/faas-netes) plugin
* New: FaaS CLI and easy install via `curl` and `brew`
* New: Windows function support
* New: Asynchronous/long-running OpenFaaS functions via [NATS Streaming](https://nats.io/documentation/streaming/nats-streaming-intro/) - [Follow this guide](https://github.com/alexellis/faas/blob/master/guide/asynchronous.md)
* New: Asynchronous/long-running OpenFaaS functions via [NATS Streaming](https://nats.io/documentation/streaming/nats-streaming-intro/) - [Follow this guide](https://github.com/openfaas/faas/blob/master/guide/asynchronous.md)
### How do I become a contributor?
Anyone is invited to contribute to the project in-line with the [contribution guide](https://github.com/alexellis/faas/blob/master/CONTRIBUTING.md) - you can also read the guide for ideas on how to get involved. We invite new contributors to join our Slack community. We would also ask you to propose any changes or contributions ahead of time, especially when there is no issue or proposal alredy tracking it.
Anyone is invited to contribute to the project in-line with the [contribution guide](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md) - you can also read the guide for ideas on how to get involved. We invite new contributors to join our Slack community. We would also ask you to propose any changes or contributions ahead of time, especially when there is no issue or proposal alredy tracking it.
### Other
Example of a Grafana dashboard linked to OpenFaaS showing auto-scaling live in action:
![](https://pbs.twimg.com/media/C9caE6CXUAAX_64.jpg:large)
Sample dashboard JSON file available [here](https://github.com/alexellis/faas/blob/master/contrib/grafana.json)
Sample dashboard JSON file available [here](https://github.com/openfaas/faas/blob/master/contrib/grafana.json)
View
@@ -8,9 +8,9 @@ For an overview of features in August 2017 read the following post:
## GitHub repos:
* https://github.com/alexellis/faas
* https://github.com/alexellis/faas-netes
* https://github.com/alexellis/faas-cli
* https://github.com/openfaas/faas
* https://github.com/openfaas/faas-netes
* https://github.com/openfaas/faas-cli
* https://github.com/openfaas/nats-queue-worker
### The API Gateway
@@ -61,7 +61,7 @@ This binary fwatchdog acts as a watchdog for your function. Features:
## 2. Future items
Most items are detailed [via Github issues](https://github.com/alexellis/faas/issues).
Most items are detailed [via Github issues](https://github.com/openfaas/faas/issues).
Native support is available for Docker Swarm and Kubernetes using primitive API objects in each orchestration platform.
@@ -125,4 +125,4 @@ Internal research is also being done for the ACI / K8s-connector.
### Contributing
Please see [CONTRIBUTING.md](https://github.com/alexellis/faas/blob/master/CONTRIBUTING.md).
Please see [CONTRIBUTING.md](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md).
View
@@ -75,7 +75,7 @@ $ faas-cli --help
### Invoke the sample functions with curl or Postman:
Head over to the [Github and Star the project](https://github.com/alexellis/faas), or read on to see the input/output from the sample functions.
Head over to the [Github and Star the project](https://github.com/openfaas/faas), or read on to see the input/output from the sample functions.
### Working with the sample functions
@@ -152,7 +152,7 @@ Guides:
Read the developer guide:
* [Packaging a function](https://github.com/alexellis/faas/blob/master/DEV.md)
* [Packaging a function](https://github.com/openfaas/faas/blob/master/DEV.md)
The original blog post also walks through creating a function:
@@ -162,7 +162,7 @@ The original blog post also walks through creating a function:
**Option 1: via the FaaS CLI**
The FaaS CLI can be used to build functions very quickly though the use of templates. See more details on the FaaS CLI [here](https://github.com/alexellis/faas-cli).
The FaaS CLI can be used to build functions very quickly though the use of templates. See more details on the FaaS CLI [here](https://github.com/openfaas/faas-cli).
**Option 2: via FaaS UI portal**
View
@@ -6,6 +6,6 @@ The `swagger.yml` file can be viewed and edited in the Swagger UI.
* Now click File -> Import URL
* Type in `https://raw.githubusercontent.com/alexellis/faas/master/api-docs/swagger.yml` and click OK
* Type in `https://raw.githubusercontent.com/openfaas/faas/master/api-docs/swagger.yml` and click OK
You can now view and edit the Swagger, copy back to your fork before pushing changes.
View
@@ -211,4 +211,4 @@ definitions:
~/.docker/config.json)
externalDocs:
description: More documentation available on Github
url: 'https://github.com/alexellis/faas'
url: 'https://github.com/openfaas/faas'
View
@@ -9,8 +9,8 @@ Welcome to the OpenFaaS community page where you can find:
There are three main Github repos
* FaaS - the main OpenFaaS repo for the Docker Swarm integration, samples and documentation
* [FaaS-netes](http://github.com/alexellis/faas-netes) - the Kubernetes back-end for FaaS
* [FaaS-cli](http://github.com/alexellis/faas-cli) - the user-facing CLI for templating and deploying functions
* [FaaS-netes](http://github.com/openfaas/faas-netes) - the Kubernetes back-end for FaaS
* [FaaS-cli](http://github.com/openfaas/faas-cli) - the user-facing CLI for templating and deploying functions
> It would be great to hear from you espcially if you have any of the above and want to share it with the rest of the community. Pull Request or submit a Github Issue.
@@ -78,7 +78,7 @@ There are three main Github repos
### Third-party integrations / OpenFaaS providers
| Project name and description | Author | Site | Status |
|----------------------------------------------------------------------|------------|-----------|-------------|
| [faas-netes](https://github.com/alexellis/faas-nets) - Kubernetes provider | OpenFaaS | github.com | Supported |
| [faas-netes](https://github.com/openfaas/faas-netes) - Kubernetes provider | OpenFaaS | github.com | Supported |
| [faas-nomad](https://github.com/hashicorp/faas-nomad) - Nomad provider | Hashicorp | github.com | Incubation |
| [faas-rancher](https://github.com/kenfdev/faas-rancher) - Rancher/Cattle provider | Ken Fukuyama | github.com | Incubation |
| [faas-hyper](https://github.com/hyperhq/faas-hyper) - Hyper.sh provider | Hyper | github.com | Incubation |
@@ -97,7 +97,7 @@ You can also find cool projects or submit your own to the [faas-and-furious orga
| [Github - Reverse geocoding](https://github.com/lucj/faas-reverse-geocoding) | Luc Juggery | github.com | 14-September-2017 |
| [QR Code](https://github.com/faas-and-furious/qrcode) | John McCabe | github.com | 18-August-2017 |
| [Img2ANSI - GIF/PNG/JPG to ANSI art converter](https://github.com/johnmccabe/faas-img2ansi/) | John McCabe | github.com | 10-August-2017 |
| [FaaS-netes - Kubernetes backend for FaaS](https://github.com/alexellis/faas-netes) | Alex Ellis | github.com | 25-Jul-2017 |
| [FaaS-netes - Kubernetes backend for FaaS](https://github.com/openfaas/faas-netes) | Alex Ellis | github.com | 25-Jul-2017 |
| [Twitter, Elastic Search and Alexa stack of functions](https://github.com/alexellis/journey-expert/tree/master/tweetstash) | Alex Ellis | github.com | 24-Apr-2017 |
| [Dockercon FaaS demos including Alexa/Github](https://github.com/alexellis/faas-dockercon) | Alex Ellis | github.com | 14-Apr-2017 |
| [Docker Birthday voting app ported to FaaS](https://github.com/alexellis/faas-example-voting-app) | Alex Ellis | github.com | 14-Apr-2017 |
View
@@ -8,11 +8,6 @@ cd ..
echo $GOPATH
# Fix-up
mkdir -p $GOPATH/src/github.com/alexellis/
cp -r faas $GOPATH/src/github.com/alexellis/
mkdir -p $GOPATH/src/github.com/openfaas/
cp -r faas $GOPATH/src/github.com/openfaas/
View
@@ -1,7 +1,7 @@
FROM docker:dind
WORKDIR /root/
RUN apk --no-cache add git && \
git clone https://github.com/alexellis/faas
git clone https://github.com/openfaas/faas
WORKDIR /root/faas/
Oops, something went wrong.

0 comments on commit 89878f0

Please sign in to comment.