-
Notifications
You must be signed in to change notification settings - Fork 339
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
Feat/#661 - Exposing creationTime and modificationTime #677
Merged
Merged
Changes from 28 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
665fd13
feature exposed creationTime & modificationTime in kuma
tharun208 5706587
feature exposed creationTime & modificationTime in kuma
tharun208 dd2e5b1
feature exposed creationTime & modificationTime for kuma get dataplanes
tharun208 cc845a1
feature exposed creationTime & modificationTime for kuma get fault in…
tharun208 af336c9
feature exposed creationTime & modificationTime for kuma get health c…
tharun208 fbc8468
feature exposed creationTime & modificationTime for kuma get meshes
tharun208 7f55289
feature exposed creationTime & modificationTime for kuma get proxy Te…
tharun208 a3198ed
feature exposed creationTime & modificationTime for kuma get traffic …
tharun208 e8a7445
feature exposed creationTime & modificationTime for kuma get traffic …
tharun208 6fe53f3
feature exposed creationTime & modificationTime for kuma get traffic …
tharun208 d8dc012
feature exposed creationTime & modificationTime for kuma get traffic …
tharun208 fd0ba3c
feature exposed creationTime & modificationTime for kuma inspect data…
tharun208 e104eb0
feature exposed creationTime & modificationTime for kuma
tharun208 6acce39
feature exposed creationTime & modificationTime for kuma
tharun208 0d80de7
feature exposed creationTime & modificationTime for kuma
tharun208 080c42e
* update api-server resource tests with proper dateTime
tharun208 1527053
* removed unwanted omitempty tag for creationTime and modificationTime
tharun208 99117f7
* updated apply dry-run to return noop date-time
tharun208 84162e1
Merge remote-tracking branch 'origin/master' into feat/#661
tharun208 522f1e8
Merge remote-tracking branch 'origin/master' into feat/#661
tharun208 f57aa4f
* updated get single resource test data
tharun208 e5ed83b
* added createdAt and modifiedAt params to upsert function in apply
tharun208 0df63c9
updated branch with upstream
tharun208 196d6ea
fiixed failing tests
tharun208 8589237
removed storing creation and modification time in client
tharun208 dc0c940
show default creationTime and modificationTime for all resources in k…
tharun208 a5b7ad4
Merge remote-tracking branch 'origin/master' into feat/#661
tharun208 93171c8
show default creationTime and modificationTime in store
tharun208 c072066
fix(kuma-ctl): reverted back creation and modification time to constant
tharun208 ac3636c
fix(kuma-ctl): unmarshalling check for creationtime and modification …
tharun208 64a28e7
rebased with upstream
tharun208 87cdfdc
updated tests
tharun208 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,8 @@ import ( | |
var _ = Describe("kumactl get dataplanes", func() { | ||
|
||
var dataplanes []*mesh_core.DataplaneResource | ||
|
||
BeforeEach(func() { | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you revert such files (I see a couple of them) with an empty line change to master? |
||
dataplanes = []*mesh_core.DataplaneResource{ | ||
{ | ||
Meta: &test_model.ResourceMeta{ | ||
|
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
items: | ||
- mesh: default | ||
- creationTime: 0001-01-01T00:00:00Z | ||
mesh: default | ||
modificationTime: 0001-01-01T00:00:00Z | ||
name: web-to-backend | ||
type: HealthCheck | ||
- mesh: default | ||
- creationTime: 0001-01-01T00:00:00Z | ||
mesh: default | ||
modificationTime: 0001-01-01T00:00:00Z | ||
name: backend-to-db | ||
type: HealthCheck | ||
next: null |
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
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.
Is it needed though? I think we can revert this file to master
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.
but not sure if I revert it to master,
GetCreationTime()
istime.Unix
and it will be different for each machine and the test will fail in ci.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.
time.Unix(0, 0)
indicates the constant timeThere 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.
changed