#315  OneDev architecture
Closed
Artur opened 3 years ago

Do you have any diagrams or any description of OneDev architecture? I mean, when it is deployed, what kind of different resources and elements are used.

  1. Does it have a separate backend and frontend?
  2. Does it use database? What kind of database is supported.
  3. How does it store git repositories on disk
Robin Shen commented 3 years ago
  1. There is no strict front end/back end in OneDev. It is using Wicket which renders UI in backend.
  2. It does not use database, by default it uses embedded hsqldb, and you may switch to use MySQL, Oracle, SQL Server, PostgreSQL, MariaDB. For details, please check "conf/hibernate.properties"
  3. All git repositories are stored inside "site/projects//git"
Artur commented 3 years ago

Thank you.

I am asking, because I am thinking of a possible HA setup or implementation.

Artur commented 3 years ago

Ok, maybe this is kind of crazy idea but is it possible to run OneDev in kind of headless mode with web UI disabled (or enabled but not used) and just use independently implemented web UI interacting with OneDev as backend through REST API?

Does the REST API cover all the functionality?

Robin Shen commented 3 years ago

This is almost impossible. RESTful api does not offer all capabilities currently the web UI desires.

Artur commented 3 years ago

Ok, thank you.

Robin Shen changed state to 'Closed' 3 years ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (3)
Reference
onedev/server#315
Please wait...
Page is in error, reload to recover