Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
**/node_modules
build/
test/data/esm_*
test/data/plugins
docs/
**/plugins/**
57 changes: 57 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Node.js E2E CI

on:
push:
branches: [master]
paths:
- ".github/workflows/**"
- "docs/**"
- "src/**"
- "test/**"
- "package.json"
- "package-lock.json"

jobs:
e2e_test:
runs-on: ubuntu-latest
timeout-minutes: 30
name: E2E Tests
strategy:
matrix:
case:
- name: knative http e2e test
e2e: "test/e2e/knative-http/e2e.yaml"
- name: knative cloudevent e2e test
e2e: "test/e2e/knative-cloudevent/e2e.yaml"
- name: knative event e2e test
e2e: "test/e2e/knative-event/e2e.yaml"
- name: knative openfunction bindings e2e test
e2e: "test/e2e/knative-openfunction-bindings/e2e.yaml"
- name: knative openfunction pubsub e2e test
e2e: "test/e2e/knative-openfunction-pubsub/e2e.yaml"
# - name: async openfunction bindings e2e test
# e2e: "test/e2e/async-openfunction-bindings/e2e.yaml"
# - name: async openfunction pubsub e2e test
# e2e: "test/e2e/async-openfunction-pubsub/e2e.yaml"
# - name: knative openfunction state e2e test
# e2e: "test/e2e/knative-openfunction-state/e2e.yaml"
- name: openfunction plugins e2e test
e2e: "test/e2e/openfunction-plugins/e2e.yaml"
steps:
- uses: actions/checkout@v2

- name: install yq
env:
VERSION: v4.22.1
BINARY: yq_linux_amd64
run: |
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
tar xz && mv ${BINARY} /usr/local/bin/yq

- uses: apache/skywalking-infra-e2e@main
with:
e2e-file: ${{matrix.case.e2e}}

- name: Cleanup
if: ${{ failure() }}
run: e2e cleanup -c ${{matrix.case.e2e}}
51 changes: 39 additions & 12 deletions docs/generated/api.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"metadata": {
"toolPackage": "@microsoft/api-extractor",
"toolVersion": "7.33.5",
"schemaVersion": 1010,
"toolVersion": "7.36.3",
"schemaVersion": 1011,
"oldestForwardsCompatibleVersion": 1001,
"tsdocConfig": {
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
Expand Down Expand Up @@ -653,6 +653,7 @@
],
"fileUrlPath": "src/openfunction/context.ts",
"releaseTag": "Public",
"isAbstract": false,
"name": "ContextUtils",
"preserveMemberOrder": false,
"members": [
Expand Down Expand Up @@ -702,6 +703,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "IsAsyncRuntime"
},
{
Expand Down Expand Up @@ -750,6 +752,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "IsBindingComponent"
},
{
Expand Down Expand Up @@ -798,6 +801,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "IsKnativeRuntime"
},
{
Expand Down Expand Up @@ -846,6 +850,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "IsPubSubComponent"
},
{
Expand Down Expand Up @@ -894,6 +899,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "IsStateComponent"
}
],
Expand Down Expand Up @@ -2203,6 +2209,7 @@
],
"fileUrlPath": "src/openfunction/runtime.ts",
"releaseTag": "Public",
"isAbstract": true,
"name": "OpenFunctionRuntime",
"preserveMemberOrder": false,
"members": [
Expand Down Expand Up @@ -2267,7 +2274,8 @@
"endIndex": 2
},
"isStatic": false,
"isProtected": true
"isProtected": true,
"isAbstract": false
},
{
"kind": "Property",
Expand Down Expand Up @@ -2297,7 +2305,8 @@
"endIndex": 2
},
"isStatic": false,
"isProtected": false
"isProtected": false,
"isAbstract": false
},
{
"kind": "Method",
Expand Down Expand Up @@ -2345,6 +2354,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "getPlugin"
},
{
Expand Down Expand Up @@ -2379,7 +2389,8 @@
"endIndex": 3
},
"isStatic": false,
"isProtected": false
"isProtected": false,
"isAbstract": false
},
{
"kind": "Method",
Expand Down Expand Up @@ -2428,6 +2439,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "Parse"
},
{
Expand Down Expand Up @@ -2477,6 +2489,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "ProxyContext"
},
{
Expand Down Expand Up @@ -2538,7 +2551,8 @@
"endIndex": 9
},
"isStatic": false,
"isProtected": false
"isProtected": false,
"isAbstract": false
},
{
"kind": "Property",
Expand Down Expand Up @@ -2581,7 +2595,8 @@
"endIndex": 5
},
"isStatic": false,
"isProtected": false
"isProtected": false,
"isAbstract": false
},
{
"kind": "Method",
Expand Down Expand Up @@ -2649,6 +2664,7 @@
}
],
"isOptional": false,
"isAbstract": true,
"name": "send"
},
{
Expand Down Expand Up @@ -2714,6 +2730,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "setTrigger"
},
{
Expand Down Expand Up @@ -2743,7 +2760,8 @@
"endIndex": 2
},
"isStatic": false,
"isProtected": false
"isProtected": false,
"isAbstract": false
},
{
"kind": "Property",
Expand Down Expand Up @@ -2773,7 +2791,8 @@
"endIndex": 2
},
"isStatic": false,
"isProtected": false
"isProtected": false,
"isAbstract": true
},
{
"kind": "Property",
Expand Down Expand Up @@ -2803,7 +2822,8 @@
"endIndex": 2
},
"isStatic": false,
"isProtected": true
"isProtected": true,
"isAbstract": false
},
{
"kind": "Method",
Expand Down Expand Up @@ -2886,6 +2906,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "WrapUserFunction"
}
],
Expand All @@ -2903,6 +2924,7 @@
],
"fileUrlPath": "src/openfunction/plugin.ts",
"releaseTag": "Public",
"isAbstract": false,
"name": "Plugin_2",
"preserveMemberOrder": false,
"members": [
Expand Down Expand Up @@ -3039,6 +3061,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "execPostHook"
},
{
Expand Down Expand Up @@ -3126,6 +3149,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "execPreHook"
},
{
Expand Down Expand Up @@ -3182,6 +3206,7 @@
}
],
"isOptional": false,
"isAbstract": false,
"name": "get"
},
{
Expand Down Expand Up @@ -3211,7 +3236,8 @@
"endIndex": 2
},
"isStatic": false,
"isProtected": false
"isProtected": false,
"isAbstract": false
},
{
"kind": "Property",
Expand Down Expand Up @@ -3240,7 +3266,8 @@
"endIndex": 2
},
"isStatic": false,
"isProtected": false
"isProtected": false,
"isAbstract": false
}
],
"implementsTokenRanges": []
Expand Down
Loading