-
Notifications
You must be signed in to change notification settings - Fork 87
CLOUDP-164347: Add --flag file
to the atlas cluster index create
command
#2768
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
386c676
CLOUDP-236543: Disable e2e_local_deployments
andreaangiolillo 0ee943d
Merge remote-tracking branch 'origin/master'
andreaangiolillo 7425b6e
Merge remote-tracking branch 'origin/master'
andreaangiolillo 673d240
CLOUDP-164347:[Atlas CLI] Not possible to create indexes with options…
andreaangiolillo a18d244
Update create.go
andreaangiolillo 814246b
moved e2e data file into dedicated folder
andreaangiolillo 84653bc
updated e2e tests
andreaangiolillo 80e10f6
Delete create_unique_index.json
andreaangiolillo 5e16370
Merge remote-tracking branch 'origin/master' into CLOUDP-164347
andreaangiolillo b1bc972
Update clusters_flags_test.go
andreaangiolillo 4ea2c23
moved tests
andreaangiolillo 326144a
Addressed PR comments
andreaangiolillo 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,24 @@ | ||
{ | ||
"collation": { | ||
"alternate": "non-ignorable", | ||
"backwards": false, | ||
"caseFirst": "lower", | ||
"caseLevel": false, | ||
"locale": "af", | ||
"maxVariable": "punct", | ||
"normalization": false, | ||
"numericOrdering": false, | ||
"strength": 3 | ||
}, | ||
"collection": "accounts", | ||
"db": "sample_airbnb", | ||
"keys": [ | ||
{ | ||
"test_field": "2dsphere" | ||
} | ||
], | ||
"options": { | ||
"name": "2dspereIndexTest", | ||
"2dsphereIndexVersion": 2 | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains hidden or 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,27 @@ | ||
{ | ||
"collation": { | ||
"alternate": "non-ignorable", | ||
"backwards": false, | ||
"caseFirst": "lower", | ||
"caseLevel": false, | ||
"locale": "af", | ||
"maxVariable": "punct", | ||
"normalization": false, | ||
"numericOrdering": false, | ||
"strength": 3 | ||
}, | ||
"collection": "accounts", | ||
"db": "sample_airbnb", | ||
"keys": [ | ||
{ | ||
"property_type": "1", | ||
"room_type": "1" | ||
} | ||
], | ||
"options": { | ||
"name": "PartialIndexTest", | ||
"partialFilterExpression":{ | ||
"limit": {"$gt": 900} | ||
} | ||
} | ||
} |
This file contains hidden or 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,24 @@ | ||
{ | ||
"collation": { | ||
"alternate": "non-ignorable", | ||
"backwards": false, | ||
"caseFirst": "lower", | ||
"caseLevel": false, | ||
"locale": "af", | ||
"maxVariable": "punct", | ||
"normalization": false, | ||
"numericOrdering": false, | ||
"strength": 3 | ||
}, | ||
"collection": "accounts", | ||
"db": "sample_airbnb", | ||
"keys": [ | ||
{ | ||
"test_field": "1" | ||
} | ||
], | ||
"options": { | ||
"name": "SparseIndexTest", | ||
"sparse": true | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.
do you intend to have documentation for the file structure? if so make sure to ask for a dochub link and add it here
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.
I think we need the doc team to create the doc page and then we can update the description here. Let me know if I am missing something
Uh oh!
There was an error while loading. Please reload this page.
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.
you can have the link ahead of time if you ask them and once the page is up they redirect it. we've done this way before
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.
You can alternatively open a docsp ticket and ask them to update this line, make sure to add a link to where they should add the link if that is the approach you prefer.
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.
Unfortunately, we cannot use the example in the open api spec (it does not work) and I haven't found any examples in the doc. The doc team will need to use the files in the data folders included in this PR 😭
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.
@sarahsimpers FYI as I think you've done some work here recently on the config files for the CLI.