-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Support dynamic blocks in adv2v2 command #67
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 42 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
5eceea1
tags & labels
lantoli 552f37b
failing region_configs test
lantoli 8fc0daa
failing replication_specs test
lantoli f33ed40
implementation for basic tests
lantoli 18fe32f
group num_shard tests
lantoli 4192605
support mix of variable and numerical num_shards
lantoli abb154c
remove num_shard comment
lantoli 751a804
simplify convert code so we don't hardcode destination attributes
lantoli 4609386
use hcl.TokensFuncFlatten
lantoli 3ef174b
allow numerical and variable num_shards in clu2adv
lantoli e2b2c9f
refactor common code to shared.go
lantoli 658e124
allow different names
lantoli 6d08f97
order attributes to make tests deterministic
lantoli aa0b30c
include tags in rep_spec test
lantoli 31ad9bc
disk_size_gb in dynamic blocks
lantoli 90fc849
rename test files removing basic from filename
lantoli bb8ec13
support all specs with dynamic blocks
lantoli 12b8e05
terraform fmt
lantoli 1bdacc5
reduce duplication
lantoli 472bac3
refactor buildForExpr
lantoli a425f53
simplify use of TokensFuncConcat
lantoli 4d843b9
collectBlocks
lantoli feeff66
some refactors
lantoli be5d01a
reduce long funcs
lantoli 0ef8321
reduce empty lines
lantoli 383396a
trailingSpace in buildForExpr
lantoli 26fe17d
checkDynamicBlock
lantoli 4acd041
move tags and labels funcs to shared.go
lantoli 6255619
refactor fillReplicationSpecs
lantoli 54645df
refactor fillReplicationSpecs
lantoli 4a1bb60
inline back some functions in adv2v2
lantoli c8240d5
convertRepSpecsWithDynamicBlock
lantoli 3ae7484
renames in clu2adv
lantoli 0ada06a
reduce duplication in adv2v2
lantoli a177614
remove unneeded code
lantoli 49f81b8
rename dynamic block helper functions
lantoli 4f0cca7
reduce use of transformReference
lantoli f7921d5
inline back convertConfig
lantoli 7b6afc3
refactor new block creation
lantoli 07a68c4
simplify convertRepSpecs
lantoli 65fa29e
simplify copyAttributesSorted
lantoli 9027f4d
Improve collectBlocks
lantoli 308d00b
make name more explicit with processNumShardsWhenSomeIsVariable
lantoli 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
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.
nice!