Update references remove refs to treeder oracle funcy (#376)

* Remove lots of refs to iron and funcy oracle etc..

* more ref replacements

* Replacing more refs. Treeder

* Use Fn not FN
This commit is contained in:
James Jeffrey
2017-09-29 16:22:15 -07:00
committed by Travis Reeder
parent 5219227393
commit c7f3066c75
81 changed files with 211 additions and 398 deletions

View File

@@ -14,7 +14,7 @@ fn run
# Now try with an input
cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```

View File

@@ -1,6 +1,6 @@
# Tutorial 1: Go Function w/ Input (3 minutes)
This example will show you how to test and deploy Go (Golang) code to Oracle Functions. It will also demonstrate passing data in through stdin.
This example will show you how to test and deploy Go (Golang) code to Fn. It will also demonstrate passing data in through stdin.
### First, run the following commands:
@@ -14,7 +14,7 @@ fn run
# Now try with an input
cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```

View File

@@ -1,6 +1,6 @@
# Tutorial 1.2: Go Function w/ Input And Vendor Folder. (3 minutes)
This example will show you how to test and deploy Go (Golang) code with vendored Dependencies to Oracle Functions. It will also demonstrate passing data in through stdin.
This example will show you how to test and deploy Go (Golang) code with vendored Dependencies to Fn. It will also demonstrate passing data in through stdin.
### First, run the following commands:
@@ -17,7 +17,7 @@ fn run
# Now try with an input
cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```

View File

@@ -1,5 +1,5 @@
# Oracle Functions: Java
This example will show you how to test and deploy Java code to Oracle Functions. It will also demonstrate passing data in through stdin.
# Fn: Java
This example will show you how to test and deploy Java code to Fn. It will also demonstrate passing data in through stdin.
### First, run the following commands:
@@ -13,7 +13,7 @@ fn run
# Now try with an input
echo "Michael FassBender" | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```

View File

@@ -1,6 +1,6 @@
# Tutorial 1: NodeJS Function w/ Input (3 minutes)
This example will show you how to test and deploy Node code to Oracle Functions. It will also demonstrate passing data in through stdin.
This example will show you how to test and deploy Node code to Fn. It will also demonstrate passing data in through stdin.
### First, run the following commands:
@@ -15,7 +15,7 @@ fn run
# Now try with an input
cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```
@@ -33,7 +33,7 @@ And now with the JSON input:
curl -H "Content-Type: application/json" -X POST -d @sample.payload.json http://localhost:8080/r/myapp/hello-node
```
That's it! Our `fn deploy` packaged our function and sent it to the Oracle Functions server. Try editing `func.js`
That's it! Our `fn deploy` packaged our function and sent it to the Fn server. Try editing `func.js`
and then doing another `fn deploy`.
### Note on Dependencies

View File

@@ -1,6 +1,6 @@
# Tutorial 1: PHP Function w/ Input (3 minutes)
This example will show you how to test and deploy PHP code to Oracle Functions. It will also demonstrate passing data in through stdin.
This example will show you how to test and deploy PHP code to Fn. It will also demonstrate passing data in through stdin.
### First, run the following commands:
@@ -15,7 +15,7 @@ fn run
# Now try with an input
cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```
@@ -33,7 +33,7 @@ And now with the JSON input:
curl -H "Content-Type: application/json" -X POST -d @sample.payload.json http://localhost:8080/r/myapp/hello-php
```
That's it! Our `fn deploy` packaged our function and sent it to the Oracle Functions server. Try editing `func.php`
That's it! Our `fn deploy` packaged our function and sent it to the Fn server. Try editing `func.php`
and then doing another `fn deploy`.
### Note on Dependencies

View File

@@ -1,6 +1,6 @@
# Tutorial 1: Python Function w/ Input (3 minutes)
This example will show you how to test and deploy Python code to Oracle Functions. It will also demonstrate passing data in through stdin.
This example will show you how to test and deploy Python code to Fn. It will also demonstrate passing data in through stdin.
### First, run the following commands:
@@ -15,7 +15,7 @@ fn run
# Now try with an input
cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```
@@ -33,7 +33,7 @@ And now with the JSON input:
curl -H "Content-Type: application/json" -X POST -d @sample.payload.json http://localhost:8080/r/myapp/hello-python
```
That's it! Our `fn deploy` packaged our function and sent it to the Oracle Functions server. Try editing `func.py`
That's it! Our `fn deploy` packaged our function and sent it to the Fn server. Try editing `func.py`
and then doing another `fn deploy`.
### Note on Dependencies

View File

@@ -1,6 +1,6 @@
# Tutorial 1: Ruby Function w/ Input (3 minutes)
This example will show you how to test and deploy Ruby code to Oracle Functions. It will also demonstrate passing data in through stdin.
This example will show you how to test and deploy Ruby code to Fn. It will also demonstrate passing data in through stdin.
### First, run the following commands:
@@ -15,7 +15,7 @@ fn run
# Now try with an input
cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```
@@ -33,7 +33,7 @@ And now with the JSON input:
curl -H "Content-Type: application/json" -X POST -d @sample.payload.json http://localhost:8080/r/myapp/hello-ruby
```
That's it! Our `fn deploy` packaged our function and sent it to the Oracle Functions server. Try editing `func.rb`
That's it! Our `fn deploy` packaged our function and sent it to the Fn server. Try editing `func.rb`
and then doing another `fn deploy`.

View File

@@ -1,6 +1,6 @@
# Tutorial 1: Rust Function w/ Input (3 minutes)
This example will show you how to test and deploy Rust code to Oracle Functions. It will also demonstrate passing data in through stdin.
This example will show you how to test and deploy Rust code to Fn. It will also demonstrate passing data in through stdin.
The easiest way to create a function in rust is via ***cargo*** and ***fn***.
@@ -42,7 +42,7 @@ fn run
# Now try with an input (copy sample.payload.json from this repo)
cat sample.payload.json | fn run
# Deploy your functions to the Oracle Functions server (default localhost:8080)
# Deploy your functions to the Fn server (default localhost:8080)
# This will create a route to your function as well
fn deploy --app myapp
```

View File

@@ -9,7 +9,7 @@ Install the CLI tool, start a Fn server and run `docker login` to login to Docke
Set your Docker Hub username
```sh
export FN_REGISTRY=<DOCKERHUB_USERNAME>
export Fn_REGISTRY=<DOCKERHUB_USERNAME>
```
Build and deploy the function to the Fn server (default localhost:8080)

View File

@@ -1,8 +1,8 @@
FROM funcy/go:dev as build-stage
FROM fnproject/go:dev as build-stage
WORKDIR /function
ADD . /src
RUN cd /src && go build -o func
FROM funcy/go
FROM fnproject/go
WORKDIR /function
COPY --from=build-stage /src/func /function/
ENTRYPOINT ["./func"]

View File

@@ -1,4 +1,4 @@
name: funcy/stderr-logging
name: fnproject/stderr-logging
version: 0.0.1
runtime: go
entrypoint: ./func