-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/hck 3426 re couchbase 7 instance re #5
Merged
chulanovskyi-bs
merged 40 commits into
develop
from
Feature/HCK-3426-re-couchbase-7-instance-get-document-kinds
Feb 7, 2024
Merged
Changes from 37 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
976a95b
package: add lodash library
serhii-filonenko c617f9d
RE: update re modal config
serhii-filonenko 2b5ce56
RE: implement get document kinds method
serhii-filonenko 8b9bc16
RE: add types for document kind data methods
serhii-filonenko c4716de
package: add async library
serhii-filonenko a5784a8
RE: create rest api helper
serhii-filonenko 6f4e5d1
RE: add retrive collections by doc kind using rest api
serhii-filonenko b7b1b4d
RE: implement retrive documents from default collection
serhii-filonenko fc873c6
RE: implement retrive documents for scopes and collections
serhii-filonenko 08004d5
RE: fix typo
serhii-filonenko bac227b
package: install antler
serhii-filonenko aa54e75
RE: implement antlr parser
serhii-filonenko b4f5adf
RE: implement collection indexes reversing
serhii-filonenko ac2c5a3
RE: fix incorrect error message
serhii-filonenko c6feaf7
RE: add constant for default key name
serhii-filonenko 75eb690
RE: implement re from n1ql files
serhii-filonenko ce32c90
RE: add split default scope names to avoid their combining
serhii-filonenko 0de3b14
package: add parser folder to eslint ignore
serhii-filonenko c0dc236
package: remove unneded libs
serhii-filonenko 3c0108b
config: add container level keys config
serhii-filonenko 393d4c0
RE: add document kinds value to db collections data
serhii-filonenko e9eb77f
RE: add logging for test connection
serhii-filonenko b9097ba
RE: add safety getting scopes for document kinds
serhii-filonenko e322081
Merge branch 'develop' into Feature/HCK-3426-re-couchbase-7-instance-…
serhii-filonenko 1903fa4
package: install hackolade couchbase deps
serhii-filonenko 70b9ddc
parser: remove license data
serhii-filonenko f8e2749
RE: fix names of params
serhii-filonenko 34d00d5
RE: add require of couchbase lib
serhii-filonenko 5069883
RE: replace complex iterations by async reduce
serhii-filonenko 7115891
RE: reduce complexity for retriving doc kinds by manual infer
serhii-filonenko d6df181
types: fix typing for some methods
serhii-filonenko 1ba0a40
package: uninstall redundant couchbase types lib
serhii-filonenko 8dc0577
package: add exact lib versions
serhii-filonenko b29eb8c
RE: fix create of empty scopes after reversing from file
serhii-filonenko 8d09b9f
package: remove couchbase native module
serhii-filonenko c490b5a
build: add .ts files to excluded extensions
serhii-filonenko 88d7dda
package: add types lib to dev dependencies
serhii-filonenko 79c3eac
Merge branch 'develop' into Feature/HCK-3426-re-couchbase-7-instance-…
bigorn0 9f48506
RE: add retrive selected bucket collections if selected collections a…
serhii-filonenko 9dbc6b9
Merge branch 'Feature/HCK-3426-re-couchbase-7-instance-get-document-k…
serhii-filonenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const antlr4 = require('antlr4'); | ||
|
||
class ExprErrorListener extends antlr4.error.ErrorListener { | ||
syntaxError(recognizer, offendingSymbol, line, column, msg, err) { | ||
throw new Error(`line ${line}:${column} ${msg}`); | ||
} | ||
} | ||
|
||
module.exports = ExprErrorListener; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# * run with `sh buildParser.sh` | ||
|
||
# !important: don't forget to change `import` and `export` to `require` and `module.exports` after the parser is built | ||
|
||
# https://www.antlr.org/download/antlr-4.9.2-complete.jar | ||
# | ||
# set antlr4 aliases | ||
# export CLASSPATH=".:/usr/local/lib/antlr-4.9.2-complete.jar:$CLASSPATH" | ||
# alias antlr4='java -jar /usr/local/lib/antlr-4.9.2-complete.jar' | ||
# alias grun='java org.antlr.v4.gui.TestRig' | ||
|
||
# build parser | ||
java -jar /usr/local/lib/antlr-4.9.2-complete.jar -Dlanguage=JavaScript \ | ||
-lib grammars \ | ||
-o parser/ \ | ||
-visitor \ | ||
-no-listener \ | ||
-Xexact-output-dir \ | ||
grammars/n1ql.g4 | ||
|
||
npx prettier --write ./parser/**/*.js |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this file about? buildConstants is it for esbuild?