Skip to content

Commit f4e1b8b

Browse files
jmrogbrianruanneebjoshhk72rmyers
authored
v3.0.0 candidate for Stardog 7 (#238)
* Feature/154 upgrade fetch ponyfill (#155) * Upgrade fetch ponyfill * Get tests passing again after upgrading fetch-ponyfill * Add support, tests, and typings for additionalHandlers on query execute (#157) * Update package-lock.json * Fix docs script, update package-lock * Update CHANGELOG.md for v1.2.1, add tag * Add release documentation, as well as annoying prepublish alert * Upgrade typedocs to resolve marked security vulnerability (fix #158) * 1.2.2 * Update package-lock * Make additionalHandlers optional * Add method for retrieving server status info (close #165) (#166) * Fix package-lock.json for v2 * Add ICV report functionality and fix existing types (#188) * Update to version 6 and fix CircleCI (#185) * add full string values for test expectations * fix tests and update version note in README for stardog 6 * attempt to fix circleci by updating to new jfrog url * explicitly test graphql explain support (#184) * Add icv.report and icv.reportInTransaction functionality (close #187) * Add types for new ICV methods and fix types for existing (close #186) * Add tests for new ICV methods * add json query explain support (#191) * Try to fix dependencies * Fix tests * add stored query update (PUT) method * handle stored query updates when version < 6.2.0 * cleanup poc of server version helper * instead of getting the version recover from the method not supported error * cleanup * cleanup * code review feedback * add support for `reasoning` and `description` attributes to stored queries (#196) * add two endpoints for getting all db properties default values and getting all actual values and upgrade stardog to latest (#198) * Add ability to import namespaces via string or file (new Stardog endpoints) (#201) * Add ability to import namespaces via string or file (new Stardog endpoints) * Use Object.assign instead of spread syntax * Small tweak * Docs/type updates and name change * Docs change * Update generated docs * Allow `onResponseStart` to abort further stardog.js processing (#203) * Allow onResponseStart to abort any further stardog.js processing * Add test case, plus lint fixes * Better docs, too * use params in graphql query (#202) * Add ability to send properties file on db.create (#205) * Make old-style namespaces request really request only namespaces (fix #207) (#208) * Add support for streaming export data to file (and compression) (#212) * Add support for streaming data export, and for compression * Add tests for additionalHandlers with exportData * Add format flag for exportData * Add ability to import file to VG (for CSV/JSON import) (#213) * Add support for importing from file to VG (close #209) * Tests and fixtures * Fix up tests * Update README and test name * Fix types for onResponseStart * Make input_file come last * Support updating GraphQL schemas without remove/add (with backwards compat) (#215) * Add reasoning flag to example * add db model endpoint (#224) * Fix db.model type and docs * add virtual graph list info (#223) * Add support for database constraint for virtual graphs (#225) * Handle commented-out prefix lines in queries (fix #228) (#229) * Add additionalHandlers to graphql.execute (#231) * Change content-type to use utf-8 (#233) * [STUD-414] Make all tests work with Stardog 7+ (#234) * Remove db.copy command and test * Fix graphql tests * Fix graphStore tests * Skip versioning tests for now * Fix ICV tests * Fix exportDB tests * Fix createDB and optimizeDB tests * Fix query tests * Update version support info in README * Update test for Stardog 7.4.1 * Quick test updates * [STUD-490] add cluster api support (#236) * [STUD-490] Add cluster api support * [STUD-490] Removing done callback in spec files * [STUD-490] Removing unused param and add docs * [STUD-490] Adding docker-compose cluster test suite * [STUD-490] feature: add cluster support - address comments * Test adjustment for Stardog 7.4.2+ * Make tests more flexible * Remove DB copy and versioning * Adjust a few tests * update versions matrix * Update docs * [STUD-528] Add Data Sources (#239) * [STUD-528] add data sources * rename options to opts * return res * [STUD-517] data hub - allow stardog.js to accept query params (#241) * [STUD-517] feature: data hub - allow stardog.js to accept query params for data sources remove api * [STUD-517] feature: data hub - pr suggestion, add param to docs, run docs script, append query parameters * [STUD-517] feature: data hub - update docs, change name string to template * Add VG online + data source metadata (#240) * add vg online * fix docs * add data source to vg meta * always send data_source * no snakes * [STUD-XXX] Add dataSource.share (#249) * doc * share * [STUD-XXX] Add force option to dataSource.update (#248) * Add force param to dataSource.update * Params to request options, don't always include force in body * Fix doc for vg.mappings * Update doc for dataSource.update * [STUD-559] user tests - fix expected res in user tests (#247) * Add custom changelog generation * README update * Update Stardog version info; temporarily disable reasoning tests * Make some tests rely less on exact serialization from Stardog Co-authored-by: Brian J. Rubinton <brianrubinton@gmail.com> Co-authored-by: Annee Barrett <ahuang852@gmail.com> Co-authored-by: Josh Kim <joshhk72@gmail.com> Co-authored-by: Robert Myers <robert.myers@stardog.com> Co-authored-by: Carl Chaffatt <carl.chaffatt@stardog.com> Co-authored-by: Josh Kim <josh.kim@stardog.com>
1 parent 0ac829f commit f4e1b8b

61 files changed

Lines changed: 4868 additions & 3067 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/cluster.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pack.enabled=true
2+
pack.zookeeper.address=zoo1:2181

.circleci/docker-compose.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: '2'
2+
services:
3+
stardog1:
4+
command: ["--port", "5821", "--home", "/var/opt/stardog"]
5+
depends_on:
6+
- zoo1
7+
environment:
8+
STARDOG_SERVER_JAVA_ARGS: -Xms2g -Xmx2g -XX:MaxDirectMemorySize=1g
9+
THIS_HOST: stardog1
10+
THIS_PORT: 5821
11+
ZK_HOST_PORT: zoo1:2181
12+
image: stardog/stardog:latest
13+
ports:
14+
- 5821:5821
15+
restart: always
16+
privileged: true
17+
volumes:
18+
- ../stardog-license-key.bin:/var/opt/stardog/stardog-license-key.bin
19+
- ./cluster.properties:/var/opt/stardog/stardog.properties
20+
stardog2:
21+
command: ["--port", "5822", "--home", "/var/opt/stardog"]
22+
depends_on:
23+
- zoo1
24+
environment:
25+
STARDOG_SERVER_JAVA_ARGS: -Xms2g -Xmx2g -XX:MaxDirectMemorySize=1g
26+
THIS_HOST: stardog2
27+
THIS_PORT: 5822
28+
ZK_HOST_PORT: zoo1:2181
29+
image: stardog/stardog:latest
30+
ports:
31+
- 5822:5822
32+
restart: always
33+
privileged: true
34+
volumes:
35+
- ../stardog-license-key.bin:/var/opt/stardog/stardog-license-key.bin
36+
- ./cluster.properties:/var/opt/stardog/stardog.properties
37+
zoo1:
38+
environment:
39+
ZOO_MY_ID: 1
40+
ZOO_SERVERS: server.1=zoo1:2888:3888
41+
image: zookeeper:3.4.14
42+
ports:
43+
- 2181
44+
restart: always

.eslintrc.json

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
{
2-
"extends": [
3-
"airbnb-base",
4-
"prettier"
5-
],
2+
"extends": ["airbnb-base", "prettier"],
63
"parserOptions": {
74
"ecmaVersion": 6
85
},
9-
"plugins": [
10-
"prettier"
11-
],
6+
"plugins": ["prettier"],
127
"rules": {
138
"no-unused-vars": [
149
"error",
1510
{
1611
"argsIgnorePattern": "params"
1712
}
1813
],
19-
"prettier/prettier": ["warn", {
20-
"singleQuote": true,
21-
"trailingComma": "es5"
22-
}]
14+
"no-param-reassign": [
15+
"error",
16+
{
17+
"props": false
18+
}
19+
],
20+
"prettier/prettier": [
21+
"warn",
22+
{
23+
"singleQuote": true,
24+
"trailingComma": "es5"
25+
}
26+
]
2327
}
2428
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ bower_components/
33
node_modules/
44
.*~
55
dist/**
6+
.vscode/
7+
.rpt2_cache/
8+
stardog-license-key.bin

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM stardog-eps-docker.jfrog.io/stardog:6.1.2
1+
FROM stardog-eps-docker.jfrog.io/stardog:latest
22
ADD ./stardog-license-key.bin /var/opt/stardog/stardog-license-key.bin
33
ADD ./test/fixtures/ /var/opt/stardog/test/fixtures/

0 commit comments

Comments
 (0)