-
Notifications
You must be signed in to change notification settings - Fork 7
Add enhancement export tenant layer #689
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
base: master
Are you sure you want to change the base?
Conversation
asab/library/service.py
Outdated
tarobj.addfile(tarinfo=info, fileobj=my_data) | ||
tarobj.addfile(tarinfo=info, fileobj=data) | ||
|
||
# -- Tenant layers -- |
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.
Tenant and global layers will be mixed, so re-import will destroy the correct content of the library.
This is not a correct design.
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.
@ateska All the tenant contents will be copied to /tenants/ is that wrong to create the separation between tenant and global?
If so what is the correct approach?
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.
Yes - but the export is done for a specific tenant - so only 1 tenant instance will be present in /tenants/
asab/library/service.py
Outdated
tarobj.addfile(tarinfo=info, fileobj=my_data) | ||
tarobj.addfile(tarinfo=info, fileobj=data) | ||
|
||
# -- Tenant layers -- |
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.
Yes - but the export is done for a specific tenant - so only 1 tenant instance will be present in /tenants/
This looks ok - can you please demonstrate on review a process of export & import? |
No description provided.