Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BREAKING] feat: bring dgraph-lambda to dgraph, alpha launches lambda server #7973

Merged
merged 37 commits into from
Aug 25, 2021
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9f109a1
add test
NamanJain8 Aug 3, 2021
77a152f
Manish's changes
manishrjain Aug 3, 2021
c1edc04
Removing gzip improves throughput from 3K to 4.4K QPS.
manishrjain Aug 4, 2021
b5bf9c1
alpha launches the lambda servers
NamanJain8 Aug 4, 2021
e9c5238
contrib: add script to benchmark lambda
NamanJain8 Aug 4, 2021
6eca1ca
add lambda js code
NamanJain8 Aug 5, 2021
47d0d8e
build: Build lambda in Makefile and add NodeJS to Docker image.
danielmai Aug 6, 2021
ee418a4
update lambda with security fixes
NamanJain8 Aug 12, 2021
98b097d
propagate lambda logs to extensions
NamanJain8 Aug 12, 2021
266cce5
blacklist fetch to IPs and localhost
NamanJain8 Aug 16, 2021
ce66038
fix: update docker compose file
NamanJain8 Aug 16, 2021
85dccf4
dont launch lambda server in oss
NamanJain8 Aug 16, 2021
a8e6956
fix dgraph oss build
NamanJain8 Aug 16, 2021
820248d
parse superflag once
NamanJain8 Aug 16, 2021
38e519e
do npm install
NamanJain8 Aug 16, 2021
aa0064e
fix oss build
NamanJain8 Aug 16, 2021
67e950f
minor fix
NamanJain8 Aug 16, 2021
e10fc30
lambda: remove setTimeout,setInterval,etc APIs and add timeout correctly
NamanJain8 Aug 17, 2021
fa2601e
remove references to slash-graphql
NamanJain8 Aug 19, 2021
0ffecd7
fix tests
NamanJain8 Aug 19, 2021
dd0f425
make lambda open source
NamanJain8 Aug 19, 2021
c42c37a
add license to js/ts files
NamanJain8 Aug 23, 2021
db1d85c
move lambda to separate flag
NamanJain8 Aug 23, 2021
9ec282a
fix tests
NamanJain8 Aug 23, 2021
a9d69ed
build lambda in release.sh
NamanJain8 Aug 24, 2021
92523ee
add npm to image
NamanJain8 Aug 24, 2021
7d3bb58
reorder
NamanJain8 Aug 24, 2021
2123e7e
remove lambda from dgraph build process
NamanJain8 Aug 24, 2021
9d188e7
comment out the lambda build from release.sh
NamanJain8 Aug 24, 2021
3c97cae
fix(contrib/release): Load NVM to build lambdas.
danielmai Aug 24, 2021
150bfee
fix(contrib/release): Only check if protos have changed.
danielmai Aug 24, 2021
bb55f3f
fix the logs in query
NamanJain8 Aug 24, 2021
7a248b4
move appendlogs closer to usage
NamanJain8 Aug 25, 2021
a28b05c
minor fix
NamanJain8 Aug 25, 2021
728dec5
update dgo
NamanJain8 Aug 25, 2021
03c9352
Merge branch 'master' into naman/lambda_server
NamanJain8 Aug 25, 2021
188003a
update licenses
NamanJain8 Aug 25, 2021
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
Prev Previous commit
Next Next commit
fix tests
NamanJain8 committed Aug 23, 2021
commit 9ec282a426462f48b7ca03f6244aa63ebe2e6144
6 changes: 3 additions & 3 deletions graphql/e2e/directives/dgraph_directives_test.go
Original file line number Diff line number Diff line change
@@ -63,9 +63,9 @@ func TestMain(m *testing.M) {
}

// set up the lambda url for unit tests
x.Config.GraphQL = x.GraphQLOptions{
LambdaCnt: 2,
LambdaPort: 20000,
x.Config.Lambda = x.LambdaOptions{
Cnt: 2,
Port: 20000,
}

common.BootstrapServer(schema, data)
6 changes: 3 additions & 3 deletions graphql/e2e/normal/normal_test.go
Original file line number Diff line number Diff line change
@@ -61,9 +61,9 @@ func TestMain(m *testing.M) {
panic(errors.Wrapf(err, "Unable to read file %s.", scriptFile))
}
// set up the lambda url for unit tests
x.Config.GraphQL = x.GraphQLOptions{
LambdaCnt: 2,
LambdaPort: 20000,
x.Config.Lambda = x.LambdaOptions{
Cnt: 2,
Port: 20000,
}

common.BootstrapServer(schema, data)
6 changes: 3 additions & 3 deletions graphql/schema/schemagen_test.go
Original file line number Diff line number Diff line change
@@ -347,9 +347,9 @@ func TestOnlyCorrectSearchArgsWork(t *testing.T) {

func TestMain(m *testing.M) {
// set up the lambda url for unit tests
x.Config.GraphQL = x.GraphQLOptions{
LambdaCnt: 2,
LambdaPort: 20000,
x.Config.Lambda = x.LambdaOptions{
Cnt: 2,
Port: 20000,
}
// now run the tests
os.Exit(m.Run())