Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main/java/eu/agilejava/fn
README.adoc
func.yaml
pom.xml

README.adoc

Instructions

In another terminal

fn start

In project

mvn clean package
fn build
fn deploy --app fn-duke --local
curl -H "Content-Type: application/json" -d "Duke" http://localhost:8080/t/fn-duke/fn-duke-trigger

Deploy to Oracle Cloud

export FN_API_URL=130.162.115.189:8080
fn deploy --app fn-duke
curl -H "Content-Type: application/json" -d "Duke" http://130.162.115.189:8080/t/fn-duke/fn-duke-trigger

Deploy to Oracle Cloud Kubernetes Cluster

kubectl get svc --namespace default -w duke-fn-fn-api
export FN_API_URL=http://$(kubectl get svc --namespace default duke-fn-fn-api -o jsonpath='{.status.loadBalancer.ingress[0].ip}'):80
fn deploy --app fn-duke