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

Quick API call to copy a model to another server #904

Open
MarianMatula opened this Issue Jan 17, 2019 · 6 comments

Comments

Projects
None yet
2 participants
@MarianMatula
Copy link

MarianMatula commented Jan 17, 2019

Hello,
is there a way how to run two BIMservers on one database with feature first BIMserver only write and second only read data?

Thank's for your help.

@rubendel

This comment has been minimized.

Copy link
Member

rubendel commented Jan 17, 2019

Currently no. The underlying database we use (BerkeleyDB) does have facilities for this, so it should be possible to implement without too many changes to BIMserver.

@MarianMatula

This comment has been minimized.

Copy link
Author

MarianMatula commented Jan 17, 2019

Thank you, we may eventually do that. But we are still asking for one option. Is it possible to copy complete project data from one database to another? That would solve our problem. One server would be used to upload files ifc and the other to read and display projects.

Thank's for your help.

@rubendel

This comment has been minimized.

Copy link
Member

rubendel commented Jan 17, 2019

Entire projects no, but you can add a service to a project A on BIMserver 1 that will - for each checkin - upload the model to a selected project B on BIMserver 2. This second server will however have to process the whole IFC (and geometry) again, probably not what you want.

Currently planned is the following feature: An API call will be added which allows you to "copy" a Revision to another server. This will also copy the generated geometry as-is, so it should be quite fast and not require much processing power on the second server.

@MarianMatula

This comment has been minimized.

Copy link
Author

MarianMatula commented Jan 18, 2019

Thank you, what you plan to do is exactly what we need. We are very excited about it. Can you please estimate when this will be implemented?

Thank's again and good luck. :)

@rubendel

This comment has been minimized.

Copy link
Member

rubendel commented Jan 18, 2019

No sorry no estimates, depends entirely on how many other projects/features/bugs have more priority, I'd say somewhere this year.

@rubendel

This comment has been minimized.

Copy link
Member

rubendel commented Jan 18, 2019

I'll rename this issue and leave it open

@rubendel rubendel changed the title Two BIMserver on one database Quick API call to copy a model to another server Jan 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment