at_server
at_server copied to clipboard
Uptake persistence refactoring in at_server
Is your feature request related to a problem? Please describe.
Uptake the changes done in https://github.com/atsign-foundation/at_server/issues/1788
Describe the solution you'd like
Replace calls to put/create with new params
Describe alternatives you've considered
No response
Additional context
No response
Code changes done in https://github.com/atsign-foundation/at_server/tree/uptake_persistence_refactoring One of the tests related to setting metadata to null string (update_verb_test.dart) is failing. Investigating the issue.
PRs raised and review done. https://github.com/atsign-foundation/at_server/pull/1813 https://github.com/atsign-foundation/at_server/pull/1822 Will review adding more tests and merge the PRs once uptake on client side/app testing is done with new server changes
blocked on failing end2end test in at_client https://github.com/atsign-foundation/at_client_sdk/pull/1255
blocked on failing end2end test in at_client atsign-foundation/at_client_sdk#1255
Issue fixed https://github.com/atsign-foundation/at_client_sdk/pull/1275
- Resolved test failures, raised separate PRs for persistence and server Pending
- test apps with server changes
Test Scenarios Execution Report
Server-Side
-
Created New Keys with Metadata:
- Using the current branch of the server, I successfully created new keys and populated all available metadata fields.
-
Updated Existing Key Metadata:
- I modified the metadata of an existing key using the current branch of the server.
-
Switched Branch and Verified Metadata:
- I switched to the trunk branch of the server and utilized the same storage to verify the consistency of the metadata.
- I again updated the existing metadata and confirmed that the changes were correctly reflected.
-
Created Additional Keys with Metadata:
- Using the trunk branch, I created new keys and populated them with metadata.
Client-Side
-
Updated Keys with Trunk Branch:
- Using the trunk branch of
at_client
, I updated several keys and verified the updates with the current trunk branch of the server.
- Using the trunk branch of
-
Cross-Branch Compatibility and Data Verification:
- I switched to the current branch of the server and used the trunk branch of
at_client
with the same hive storage. - I confirmed that the existing data was accessible and verified that new data updates were correctly applied.
- I switched to the current branch of the server and used the trunk branch of
Test Scenarios Execution Report
Server-Side
Created New Keys with Metadata:
- Using the current branch of the server, I successfully created new keys and populated all available metadata fields.
Updated Existing Key Metadata:
- I modified the metadata of an existing key using the current branch of the server.
Switched Branch and Verified Metadata:
- I switched to the trunk branch of the server and utilized the same storage to verify the consistency of the metadata.
- I again updated the existing metadata and confirmed that the changes were correctly reflected.
Created Additional Keys with Metadata:
- Using the trunk branch, I created new keys and populated them with metadata.
Client-Side
Updated Keys with Trunk Branch:
- Using the trunk branch of
at_client
, I updated several keys and verified the updates with the current trunk branch of the server.Cross-Branch Compatibility and Data Verification:
- I switched to the current branch of the server and used the trunk branch of
at_client
with the same hive storage.- I confirmed that the existing data was accessible and verified that new data updates were correctly applied.
@purnimavenkatasubbu Client side scenario 2. did you update existing metadata after upgrading to trunk branch ? for both scenarios..did you check adding of new metadata and deletion of existing metadata?
Test Scenarios Execution Report
Server-Side
Created New Keys with Metadata:
- Using the current branch of the server, I successfully created new keys and populated all available metadata fields.
Updated Existing Key Metadata:
- I modified the metadata of an existing key using the current branch of the server.
Switched Branch and Verified Metadata:
- I switched to the trunk branch of the server and utilized the same storage to verify the consistency of the metadata.
- I again updated the existing metadata and confirmed that the changes were correctly reflected.
Created Additional Keys with Metadata:
- Using the trunk branch, I created new keys and populated them with metadata.
Client-Side
Updated Keys with Trunk Branch:
- Using the trunk branch of
at_client
, I updated several keys and verified the updates with the current trunk branch of the server.Cross-Branch Compatibility and Data Verification:
- I switched to the current branch of the server and used the trunk branch of
at_client
with the same hive storage.- I confirmed that the existing data was accessible and verified that new data updates were correctly applied.
@purnimavenkatasubbu Client side scenario 2. did you update existing metadata after upgrading to trunk branch ? for both scenarios..did you check adding of new metadata and deletion of existing metadata?
Verified the following scenarios
- Updated existing metadata after upgrading to trunk , I was able to update the existing metadata successfully
- Deletion of existing metadata is not possible. We can only update the metadata.
For an existing metadata, Say existing ttr = 1000, Updated ttr =null. But it's still 1000 as its value.
moving to backlog