Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
82299d1
Testing
kellrott Apr 11, 2024
804b1a5
Adding context variable to go client traversal
kellrott Apr 11, 2024
e350317
Merge branch 'develop' into feature/grip-client-context
kellrott Apr 11, 2024
09f1a55
Merge pull request #309 from bmeg/feature/grip-client-context
kellrott Apr 15, 2024
3b618e0
Adds jobC to gripql client
matthewpeterkort May 14, 2024
4833524
Merge remote-tracking branch 'origin/develop' into feature/prev-compare
kellrott May 15, 2024
405906b
Adding pivot method to query engine
kellrott Jun 15, 2024
0cd94d3
Adding test files
kellrott Jun 15, 2024
ca228fc
Working on support for mongo engine compiler
kellrott Jun 15, 2024
eddeade
Switching pivot to key/value storage based system
kellrott Jun 20, 2024
27afef6
update to golangv1.21.12
matthewpeterkort Jul 12, 2024
93139c0
adds broken grip deps for reproducing error
matthewpeterkort Jul 15, 2024
a236329
update to 1.22.5
matthewpeterkort Jul 15, 2024
5a6ef93
protoc, lint updates
matthewpeterkort Jul 15, 2024
dc77113
Fix code, tests to work with updated cast package
matthewpeterkort Jul 16, 2024
f0f1023
fixes
matthewpeterkort Jul 16, 2024
2148c7b
fix Mongo test
matthewpeterkort Jul 17, 2024
c245cf6
fix
matthewpeterkort Jul 17, 2024
d391505
bugfix
matthewpeterkort Jul 17, 2024
0d2e05c
Address feedback
matthewpeterkort Jul 18, 2024
aeb30de
Merge pull request #313 from bmeg/update/golang
kellrott Jul 18, 2024
eea63a6
Merge remote-tracking branch 'origin/develop' into feature/pivot
kellrott Jul 19, 2024
b008c92
Working on the docs
kellrott Jul 19, 2024
cf1d997
Adding `_id` field to pivot outputs
kellrott Jul 30, 2024
40967a7
Fixing _id output
kellrott Jul 30, 2024
8a922de
Adding bulk delete
matthewpeterkort Aug 2, 2024
6e1d980
Adding server functions
matthewpeterkort Aug 2, 2024
afaf151
package up
matthewpeterkort Aug 5, 2024
1d18818
debug statements
matthewpeterkort Aug 5, 2024
b172cf7
Merge pull request #312 from bmeg/feature/pivot
kellrott Aug 5, 2024
d0b3a78
Make bulk del a unary operation
matthewpeterkort Aug 6, 2024
ee9be35
fix bulk delete
matthewpeterkort Aug 6, 2024
b0392dd
adds test
matthewpeterkort Aug 6, 2024
29752ea
Merge branch 'develop' into feature/BulkDelete
matthewpeterkort Aug 7, 2024
f93ecbb
update test
matthewpeterkort Aug 7, 2024
9bf7ca1
fix proto
matthewpeterkort Aug 7, 2024
ab51dee
Optimize Mongo bulk delete
matthewpeterkort Aug 8, 2024
2d5367d
fix protoc body
matthewpeterkort Aug 12, 2024
2d17195
fix mongo test
matthewpeterkort Aug 12, 2024
359a032
add suggested args
matthewpeterkort Aug 12, 2024
99c314b
Merge pull request #315 from bmeg/feature/BulkDelete
kellrott Aug 12, 2024
73a7584
Adds support for sqlite
matthewpeterkort Sep 17, 2024
6ce3de0
update test workflow
matthewpeterkort Sep 17, 2024
529684b
fix action test names
matthewpeterkort Sep 17, 2024
b163abb
Merge pull request #317 from bmeg/feature/sqlite
kellrott Oct 3, 2024
0a23c3c
Merge branch 'develop' into feature/prev-compare
kellrott Oct 18, 2024
42de601
Start JSON schema loader into grip graph
matthewpeterkort Oct 22, 2024
f9cf8f4
Add support for extensions
matthewpeterkort Oct 22, 2024
9a800dc
cleanup vertex generation
matthewpeterkort Oct 23, 2024
b9da7be
Add edge generation
matthewpeterkort Oct 23, 2024
5f507f8
Adds schema load command
matthewpeterkort Nov 1, 2024
c1ee086
start implement json load
matthewpeterkort Nov 1, 2024
7051f51
working json loader
matthewpeterkort Nov 13, 2024
be854ce
cleanup, add support for graph and project-id customization
matthewpeterkort Nov 14, 2024
1fcac9f
Adds tests, new schema load method
matthewpeterkort Nov 15, 2024
f4ae5df
trim down test data size
matthewpeterkort Nov 15, 2024
c9f36fe
bug fix
matthewpeterkort Nov 15, 2024
694ef9d
bug fix
matthewpeterkort Nov 15, 2024
f11f79e
cleanup
matthewpeterkort Nov 15, 2024
0e7ce90
fix schema dataset
matthewpeterkort Nov 15, 2024
7351ace
fix logs
matthewpeterkort Nov 15, 2024
14f0a58
Bug fix auth test
matthewpeterkort Nov 18, 2024
bb2b9dd
Adds more tests
matthewpeterkort Nov 18, 2024
821431f
Add server err message response
matthewpeterkort Nov 19, 2024
a7f6fdd
fix tests
matthewpeterkort Nov 19, 2024
b8d9a0a
Remove elasticSearch from grip
matthewpeterkort Nov 20, 2024
a3ff902
Bugfix protobuf definition
matthewpeterkort Nov 20, 2024
515a682
bugfix, rename cmd
matthewpeterkort Nov 22, 2024
67d787e
factor out project_id into an optional extra arg
matthewpeterkort Nov 30, 2024
007f2fc
fix docs hostname and schema import name
matthewpeterkort Dec 3, 2024
9537849
fix double slash in paths
matthewpeterkort Dec 4, 2024
3bb0fde
remove extra file
matthewpeterkort Dec 4, 2024
a1646b0
Flesh out jsonschema to graphql schema command
matthewpeterkort Dec 10, 2024
146c50e
fixup graphql schema generation
matthewpeterkort Dec 11, 2024
b772ede
fix up cmd args to work with jsonschemagraph changes
matthewpeterkort Dec 11, 2024
1eed29a
Make go.mod versions compatible with grip plugin versions and move gr…
matthewpeterkort Dec 12, 2024
e938d18
Add support for yaml schemas, change AddSchema to an upsert operation
matthewpeterkort Jan 2, 2025
f365481
clean up / improve tests
matthewpeterkort Jan 2, 2025
683df7a
cleanup
matthewpeterkort Jan 2, 2025
c2dbbc7
cleanup
matthewpeterkort Jan 2, 2025
9654ae9
Add gripql query function calls
matthewpeterkort Jan 2, 2025
a231289
Merge pull request #318 from bmeg/feature/fhir-json-schema
kellrott Jan 3, 2025
706fbe9
Testing some adjustments to the mongo engine
kellrott Jan 6, 2025
d16664b
Merge remote-tracking branch 'origin/develop' into feature/sort
kellrott Jan 7, 2025
9b91de9
Adding multi type comparison method for core engine sorting step. Nee…
kellrott Jan 7, 2025
e30f0eb
Adding sort method to javascript client
kellrott Jan 7, 2025
bbc42ac
Working on core engine implementation of group function
kellrott Jan 8, 2025
a9b890d
Fixing query optimization for the new operation
kellrott Jan 8, 2025
9c733bf
Adding the group method to the mongo engine
kellrott Jan 9, 2025
0eed461
Fixing some of the graph inspection related to new method
kellrott Jan 9, 2025
90275c0
Updating javascript client and docs
kellrott Jan 9, 2025
25c183b
Simplifying the protobuff for the group method
kellrott Jan 9, 2025
e36be9a
Adding test for multiple collections during group method
kellrott Jan 9, 2025
338a4f1
add failing test
matthewpeterkort Jan 9, 2025
0f2fcda
Add engine support for totype operation
matthewpeterkort Jan 11, 2025
a928d0a
add mongo totype logic
matthewpeterkort Jan 11, 2025
c856023
add gripql print statements
matthewpeterkort Jan 12, 2025
396e42f
Merge pull request #320 from bmeg/feature/to-type
kellrott Jan 14, 2025
20e7f63
update to proto 5.29.3, make nil renders return nil
matthewpeterkort Jan 14, 2025
337df00
Merge pull request #319 from bmeg/feature/group
kellrott Jan 15, 2025
3af158b
Merge branch 'develop' into feature/sort
kellrott Jan 16, 2025
0fc1119
fixes an issue where unwind doesn't work on null map of outNull
matthewpeterkort Jan 17, 2025
b04bd8d
Merge pull request #321 from bmeg/fix/outNull-unwind
kellrott Jan 17, 2025
fae40a7
Adding sorter interface
kellrott Jan 21, 2025
e67ec8a
Breaking large file into smaller organized files
kellrott Jan 21, 2025
1aa0a61
Working KV based sorting method
kellrott Jan 21, 2025
f9bc780
Updating sort unit test
kellrott Jan 21, 2025
e63f8a4
Fixing command line parser for engine tests
kellrott Jan 21, 2025
9ea6b25
Add gripql sort and print
matthewpeterkort Jan 21, 2025
feabbc2
fix descending typo
matthewpeterkort Jan 28, 2025
67f3090
fix typo in test
matthewpeterkort Jan 28, 2025
3d6e286
ugrade pebble db version, write edge case test
matthewpeterkort Jan 29, 2025
06f1e04
fix logging
matthewpeterkort Feb 3, 2025
501bda8
Fixing error in unit test
kellrott Feb 3, 2025
54c6baa
Merge pull request #297 from bmeg/feature/sort
kellrott Feb 3, 2025
6d9b970
Merge remote-tracking branch 'origin/develop' into feature/prev-compare
kellrott Feb 3, 2025
c55c2f0
add delete operations to drop command
matthewpeterkort Feb 5, 2025
09004a7
swap tests to pebble, fix pebble graph drop command
matthewpeterkort Feb 6, 2025
a9b9bd3
update auth test to pebble
matthewpeterkort Feb 6, 2025
96023b5
Merge pull request #322 from bmeg/fix/kv-drop-command
kellrott Feb 6, 2025
c2adf0e
address oom issues
matthewpeterkort Feb 20, 2025
1415e59
change stream func to pass chan instead of list
matthewpeterkort Feb 21, 2025
3d80c14
updates
matthewpeterkort Feb 21, 2025
4a91bc7
Make bulk add raw conserve memory
matthewpeterkort Feb 24, 2025
3760a16
Merge pull request #323 from bmeg/fix/grip-OOM-err
kellrott Feb 26, 2025
c4c1789
Merge remote-tracking branch 'origin/develop' into feature/prev-compare
kellrott Feb 28, 2025
9b44059
Fixing mongo expr filtering for cases where eq query users field path
kellrott Mar 1, 2025
648c707
bulk add working. Construction code.
matthewpeterkort Mar 4, 2025
54c47b1
has label operational
matthewpeterkort Mar 5, 2025
a716f4f
tests pass
matthewpeterkort Mar 6, 2025
593edfa
remove kvi from grids and fix bad file descriptor bug
matthewpeterkort Mar 6, 2025
d865cf3
fixup go.mod to work with latest benchtop commit
matthewpeterkort Mar 7, 2025
a9d0e5c
add back grids tests to actions
matthewpeterkort Mar 7, 2025
2143bd6
address PR feedbacks
matthewpeterkort Mar 10, 2025
230701f
bulk add optimizations
matthewpeterkort Mar 11, 2025
63d1930
deduplicate grids graph data storage
matthewpeterkort Mar 13, 2025
6512208
bump benchtop
matthewpeterkort Mar 13, 2025
d324eb3
Testing removing pogreb for key storage
kellrott Mar 17, 2025
be18a0b
Updating keymap
kellrott Mar 18, 2025
c04e431
Updating go.mod
kellrott Mar 18, 2025
f5c2ff8
fix err from failing test
matthewpeterkort Mar 18, 2025
9e554f3
Merge pull request #325 from bmeg/feature/grids-nopogreb
matthewpeterkort Mar 26, 2025
7b9ad12
update benchtop version
matthewpeterkort Mar 26, 2025
65b3d50
Testing if vertex/edge structures can be flattened during JSON output
kellrott Mar 28, 2025
ca2cb44
Fixing conformance tests
kellrott Mar 28, 2025
af57e19
Merge pull request #324 from bmeg/feature/grids
kellrott Mar 28, 2025
0a57ec7
Adding additional marshalling methods to cover command line methods
kellrott Mar 28, 2025
eb0577d
Updating the docs
kellrott Mar 28, 2025
525777e
Starting to migrate _gid to _id
kellrott Mar 28, 2025
bbec676
Working on fixing issues stemming from gid -> id conversion
kellrott Mar 30, 2025
74361eb
Fixing more bugs
kellrott Mar 30, 2025
4a9ab03
Fixing more conformance test issues
kellrott Mar 30, 2025
33d4424
First pass of conformance test running
kellrott Mar 30, 2025
20db7d8
cleanup 2 conformance tests
matthewpeterkort Mar 31, 2025
4d190c8
fix grids tests
matthewpeterkort Mar 31, 2025
a20357a
fix grids test
matthewpeterkort Mar 31, 2025
a071e96
Fixing more issues around unit tests
kellrott Apr 1, 2025
cc9a8e6
fix tests
matthewpeterkort Apr 1, 2025
cc1b5bd
bump test go version
matthewpeterkort Apr 1, 2025
ec9b999
sanitize gid from the repoa
matthewpeterkort Apr 1, 2025
59d0abd
Merge pull request #326 from bmeg/feature/json-flatten
kellrott Apr 2, 2025
84ef424
Merge branch 'develop' into feature/prev-compare
matthewpeterkort Apr 8, 2025
1b1fa1f
update benchtop version for bugfix
matthewpeterkort Apr 8, 2025
9cbf785
fix up tests
matthewpeterkort Apr 8, 2025
904a6b0
Merge pull request #295 from bmeg/feature/prev-compare
kellrott Apr 8, 2025
e044866
Working on fixing docs to use `_id`
kellrott Apr 9, 2025
ab67f4d
Breaking the large query operations page into several smaller sections
kellrott Apr 10, 2025
0b4a837
Working on the formatting of the filtering docs page
kellrott Apr 10, 2025
0a458b4
amazon example working, added sqlite doc
matthewpeterkort Apr 11, 2025
a6df3e6
Start add support for integration with Kafka
matthewpeterkort Apr 14, 2025
45a7817
add Kafka test
matthewpeterkort Apr 15, 2025
1e2056a
finish adding kafka
matthewpeterkort Apr 18, 2025
d3a41e6
cleanup classes
matthewpeterkort Apr 18, 2025
59c15d5
bug fix
matthewpeterkort Apr 18, 2025
cb68ccb
adds kafka config file for test
matthewpeterkort Apr 21, 2025
f8b14a8
update makefile to check on kafka before init
matthewpeterkort Apr 21, 2025
b9b392f
clean up test
matthewpeterkort Apr 21, 2025
5ad3fc4
make kafka test work
matthewpeterkort May 6, 2025
58da03c
add sleep delay to test
matthewpeterkort May 6, 2025
88863be
increase timeout
matthewpeterkort May 6, 2025
a541ef8
rework test to not cause infinite loop
matthewpeterkort May 6, 2025
1b9a84c
start index
matthewpeterkort May 27, 2025
6a4672c
start indexing
matthewpeterkort May 30, 2025
20b78bd
Add custom processor for grids indexing
matthewpeterkort May 30, 2025
de2d996
update test
matthewpeterkort Jun 2, 2025
64d4cdc
start make indexing work with data in grids
matthewpeterkort Jun 3, 2025
5770297
most tests passing
matthewpeterkort Jun 9, 2025
2c1890c
delete index working
matthewpeterkort Jun 10, 2025
8261f69
adds indexing
matthewpeterkort Jun 10, 2025
96c12b1
fix bug in grids driver
matthewpeterkort Jun 11, 2025
ed8d464
cleanup
matthewpeterkort Jun 11, 2025
dcc3271
fix small benchtop issues
matthewpeterkort Jun 12, 2025
b6b69b4
fix bugs
matthewpeterkort Jun 12, 2025
575ac6c
adds support for nested fields and compound filters
matthewpeterkort Jun 16, 2025
581d70f
censor password
matthewpeterkort Jun 16, 2025
352daca
seperate nested index tests
matthewpeterkort Jun 16, 2025
bf47130
bug fixes
matthewpeterkort Jun 18, 2025
e59cd79
nuke 'grids' storage style. Optimize for performance
matthewpeterkort Jun 25, 2025
9962b04
many optimizations on grids driver
matthewpeterkort Jun 26, 2025
00a1ed6
checkpoint. tests are passing
matthewpeterkort Jul 1, 2025
2a6b21c
run good
matthewpeterkort Jul 7, 2025
26de517
fix grids processor so that indexed query optimizations only happen w…
matthewpeterkort Jul 11, 2025
0e2524c
add unique mongo index name
matthewpeterkort Jul 11, 2025
c1892d4
update grids driver with various bug fixes
matthewpeterkort Jul 14, 2025
900bd8c
add grids disclaimer message
matthewpeterkort Aug 18, 2025
31b52c3
filter logic updates
matthewpeterkort Aug 18, 2025
7835cf4
upgrade deps
matthewpeterkort Aug 18, 2025
95a7861
Dealing with module name change in benchtop
kellrott Aug 21, 2025
705343b
update rest of names
matthewpeterkort Aug 21, 2025
83f67ae
Merge pull request #330 from bmeg/feature/benchtop-module-rename
kellrott Aug 22, 2025
6385535
Merge pull request #328 from bmeg/feature/kafka
kellrott Aug 22, 2025
fd18235
Fixes bugs with bulk delete function. Improves bulk delete function t…
matthewpeterkort Aug 26, 2025
9a28fee
update benchtop version to merged version
matthewpeterkort Aug 27, 2025
4c6e54d
Merge pull request #331 from bmeg/fix/bulk-delete
kellrott Aug 27, 2025
872d04c
Merge pull request #329 from bmeg/feature/indexing
kellrott Aug 27, 2025
7575e90
optimie jsonschema graph gen to be 50% faster
matthewpeterkort Aug 28, 2025
c90841b
improvements to mongo bulk loader
matthewpeterkort Aug 29, 2025
e9d4d7e
Working on documentation coverage
kellrott Aug 29, 2025
ca17541
Starting to remove the E() traversal start
kellrott Aug 29, 2025
df6b10f
Fixing some of the unit tests
kellrott Aug 30, 2025
806ce31
Fixing capitalization error
kellrott Aug 30, 2025
22f563d
fix schema fetching funcs
matthewpeterkort Sep 1, 2025
1c253f3
re add loading, but use server loader instead of bugged loader func
matthewpeterkort Sep 2, 2025
7907a3a
revert to old line stream reader
matthewpeterkort Sep 2, 2025
20bae7a
add bulk add context cancellation on fatal err
matthewpeterkort Sep 2, 2025
d6bf540
cleanup mongo naming conventions, modernize syntax
matthewpeterkort Sep 2, 2025
61f49f7
Fixing src/dst edge index deletion in key/value graph driver
kellrott Sep 3, 2025
9f7d581
clean up tests, query() syntax
matthewpeterkort Sep 3, 2025
4e2bcad
split out grids unit tests into seperate action
matthewpeterkort Sep 3, 2025
681d917
fix CI test name
matthewpeterkort Sep 3, 2025
3e18685
fix typo
matthewpeterkort Sep 3, 2025
185d5d6
fix give grip executable perms in ci
matthewpeterkort Sep 3, 2025
a9da5cc
Merge pull request #332 from bmeg/update/jsonschema
kellrott Sep 3, 2025
037012d
optimie jsonschema graph gen to be 50% faster
matthewpeterkort Aug 28, 2025
0a3451b
improvements to mongo bulk loader
matthewpeterkort Aug 29, 2025
d79d58f
fix schema fetching funcs
matthewpeterkort Sep 1, 2025
aba143a
re add loading, but use server loader instead of bugged loader func
matthewpeterkort Sep 2, 2025
520e105
revert to old line stream reader
matthewpeterkort Sep 2, 2025
1309ebc
add bulk add context cancellation on fatal err
matthewpeterkort Sep 2, 2025
87bdd2b
Merge pull request #333 from bmeg/feature/e-remove
kellrott Sep 3, 2025
49e5230
Cleaning up the docs
kellrott Sep 3, 2025
edcedfb
Merge pull request #327 from bmeg/updates/docs
kellrott Sep 4, 2025
1d1f0f1
Starting a fix for mongo pipeline query not using _label index correc…
kellrott Sep 5, 2025
bd382be
update gripql python pkg
matthewpeterkort Sep 10, 2025
a923e2d
cleanup grip schema docs
matthewpeterkort Sep 10, 2025
a3b51ca
Merge pull request #334 from bmeg/fix/mongo-hasLabel-index
kellrott Sep 12, 2025
aad3c81
Merge pull request #335 from bmeg/update/0.8
kellrott Sep 12, 2025
c4443f9
add redactions to logging of sensitive information in config
matthewpeterkort Sep 15, 2025
6cd8272
Potential fix for code scanning alert no. 24: Workflow does not conta…
matthewpeterkort Sep 15, 2025
93cb1e8
remove authorization header from default config whitelist
matthewpeterkort Sep 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
182 changes: 103 additions & 79 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Go
permissions:
contents: read

#
# git hub actions config file. https://docs.github.com/en/actions
Expand All @@ -13,50 +15,70 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ^1.18
go-version: ^1.23.6

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build
run: go build -v ./

- name: Store grip
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: gripBin
path: grip


unitTests:
needs: build
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ^1.18
go-version: ^1.23.6
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: run unit tests
run: |
go test ./test/... -config badger.yml


go test ./test/... -config pebble.yml

kafkaTest:
needs: build
name: Kafka tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy kafka-python
- name: Download grip
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Kafka Test
run: |
chmod +x grip
make start-kafka
./grip server -c ./test/kafka.yml &
sleep 5
python conformance/run_kafka.py

badgerTest:
needs: build
name: Badger Conformance
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy
- name: Download grip
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Badger Test
Expand All @@ -65,19 +87,18 @@ jobs:
./grip server --rpc-port 18202 --http-port 18201 --config ./test/badger.yml &
sleep 5
make test-conformance


pebbleTest:
needs: build
name: Pebble Conformance
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy
- name: Download grip
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Pebble Test
Expand All @@ -86,19 +107,18 @@ jobs:
./grip server --rpc-port 18202 --http-port 18201 --config ./test/pebble.yml &
sleep 5
make test-conformance


mongoTest:
needs: build
name: Mongo Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy
- name: Download grip
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Mongo Conformance
Expand All @@ -107,90 +127,84 @@ jobs:
make start-mongo
./grip server --rpc-port 18202 --http-port 18201 --config ./test/mongo.yml &
sleep 5
make test-conformance

python conformance/run_conformance.py http://localhost:18201 --exclude nested_index

mongoCoreTest:
needs: build
name: Mongo Core Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy
- name: Download grip
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Mongo Conformance
- name: Mongo Core Conformance
run: |
chmod +x grip
make start-mongo
./grip server --rpc-port 18202 --http-port 18201 --config ./test/mongo-core-processor.yml &
sleep 5
make test-conformance


elasticTest:
postgresTest:
needs: build
name: Elastic Test
name: Postgres Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy
- name: Download grip
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Elastic Conformance
- name: Postgres Conformance
run: |
chmod +x grip
make start-elastic
make start-postgres
sleep 15
./grip server --rpc-port 18202 --http-port 18201 --config ./test/elastic.yml &
./grip server --rpc-port 18202 --http-port 18201 --config ./test/psql.yml &
sleep 5
make test-conformance

python conformance/run_conformance.py http://localhost:18201 --exclude aggregations

portgresTest:
sqliteTest:
needs: build
name: Portgres Test
name: Sqlite Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy
- name: Download grip
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Postgres Conformance
- name: Sqlite Conformance
run: |
chmod +x grip
make start-postgres
sleep 15
./grip server --rpc-port 18202 --http-port 18201 --config ./test/psql.yml &
./grip server --rpc-port 18202 --http-port 18201 --config ./test/sqlite.yml &
sleep 5
python conformance/run_conformance.py http://localhost:18201 --exclude index aggregations

python conformance/run_conformance.py http://localhost:18201 --exclude aggregations

gripperTest:
needs: build
name: Gripper Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Update pip
run: pip install --upgrade pip
- name: Python Dependencies for Conformance
run: pip install -U requests numpy grpcio-tools protobuf
- name: Download grip
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Gripper Conformance
Expand All @@ -201,61 +215,71 @@ jobs:
sleep 5
./grip server --rpc-port 18202 --http-port 18201 --config ./gripper/test-graph/config.yaml --er tableServer=localhost:50051 &
sleep 5
python conformance/run_conformance.py http://localhost:18201 --readOnly swapi

python conformance/run_conformance.py http://localhost:18201 --readOnly swapi --exclude index pivot

authTest:
needs: build
name: Auth Conformance
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy PyYAML
- name: Download grip
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: gripBin
- name: Auth Test
run: |
# start grip server
chmod +x grip
./grip server --rpc-port 18202 --http-port 18201 --config ./test/badger-auth.yml &
./grip server --rpc-port 18202 --http-port 18201 --config ./test/pebble-auth.yml &
sleep 5
# simple auth
# run tests without credentials, should fail
# run tests without credentials, should fail
if make test-conformance
then
echo "ERROR: Conformance tests ran without credentials." ; exit 1
else
echo "Got expected auth error"
fi
echo "Got expected auth error"
fi
# run specialized role based tests
make test-authorization ARGS="--grip_config_file_path test/badger-auth.yml"



make test-authorization ARGS="--grip_config_file_path test/pebble-auth.yml"

#gridsTest:
# needs: build
# name: GRIDs Conformance
# runs-on: ubuntu-latest
# steps:
# - name: Check out code
# uses: actions/checkout@v2
# - name: Python Dependencies for Conformance
# run: pip install requests numpy
# - name: Download grip
# uses: actions/download-artifact@v2
# with:
# name: gripBin
# - name: GRIDs unit tests
# run: |
# chmod +x grip
# go test ./test -config grids.yml
# - name: GRIDs Test
# run: |
# ./grip server --rpc-port 18202 --http-port 18201 --config ./test/grids.yml &
# sleep 5
# make test-conformance
gridsTest:
needs: build
name: GRIDs Conformance
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Python Dependencies for Conformance
run: pip install requests numpy
- name: Download grip
uses: actions/download-artifact@v4
with:
name: gripBin
- name: GRIDs Test
run: |
chmod +x grip
./grip server --rpc-port 18202 --http-port 18201 --config ./test/grids.yml &
sleep 5
make test-conformance


gridsUnitTest:
needs: build
name: GRIDs Unit Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Download grip
uses: actions/download-artifact@v4
with:
name: gripBin
- name: GRIDs unit tests
run: |
chmod +x grip
go test ./test -config grids.yml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ gripql/R/*.tar.gz
# dev tools
.idea/
.vscode/
.DS_Store
Loading
Loading