refactor(api): Separate Rest API layer from business logic layer for DNS and Server Providers #213

Merged
NaiJi merged 127 commits from refactoring into master 2023-06-19 23:03:56 +03:00
Collaborator
  • Encapsulate installation process from cubit to separate server provider entities.
  • Extract business logic from Rest API layer.
  • Implement Digital Ocean DNS support.
  • Remove SSL certificates check until a server is deployed.
  • Minor changes and fixes.
- Encapsulate installation process from cubit to separate server provider entities. - Extract business logic from Rest API layer. - Implement Digital Ocean DNS support. - Remove SSL certificates check until a server is deployed. - Minor changes and fixes.
NaiJi added the
Feature request
label 2023-06-15 20:01:13 +03:00
NaiJi self-assigned this 2023-06-15 20:01:13 +03:00
NaiJi added 114 commits 2023-06-15 20:01:14 +03:00
18d3039dc4 chore: Create infrastructure for Digital Ocean DNS provider
Also rename hardcoded cloudflare names from backend
a45b93cd27 feat: Improve Dns Record structure and logic
It is to much digital ocean api. The decision with adding optional id is bad, but it will be refactored soon along with entire backend.
bad6926567 chore: Continue refactoring
- Rename APIGenericResult to GenericResult
- Wrap all provider functions results with GenericResult
- Move basic server commands and getters to business logic layer from API on Hetzner
1e9f1f88a7 fix: Hetzner installation issues
- Replace serverType id with locaiton id
- Replaces id accessing in volume from .id to [id]
NaiJi added 1 commit 2023-06-15 20:05:30 +03:00
NaiJi requested review from inex 2023-06-15 20:05:40 +03:00
inex added 2 commits 2023-06-16 06:00:14 +03:00
NaiJi added 1 commit 2023-06-16 06:52:12 +03:00
NaiJi added 1 commit 2023-06-19 17:59:20 +03:00
NaiJi added 1 commit 2023-06-19 18:12:23 +03:00
NaiJi added 1 commit 2023-06-19 20:42:57 +03:00
NaiJi added 1 commit 2023-06-19 20:52:23 +03:00
NaiJi added 1 commit 2023-06-19 20:59:54 +03:00
NaiJi force-pushed refactoring from 9948819271 to f9da202093 2023-06-19 21:12:08 +03:00 Compare
NaiJi added 1 commit 2023-06-19 21:15:35 +03:00
NaiJi added 1 commit 2023-06-19 21:17:24 +03:00
NaiJi added 1 commit 2023-06-19 23:01:01 +03:00
inex approved these changes 2023-06-19 23:03:08 +03:00
@ -310,2 +311,3 @@
"cloudflare_bad_key_error": "API ключ неверен",
"dns_provider_bad_key_error": "API ключ неверен",
"backblaze_bad_key_error": "Информация о Backblaze хранилище неверна",
"connect_to_dns": "Подключите DNS провайдер",

Подключите DNS провайдера

Подключите DNS провайдера
inex marked this conversation as resolved
NaiJi merged commit d0366862c0 into master 2023-06-19 23:03:56 +03:00
NaiJi deleted branch refactoring 2023-06-19 23:03:57 +03:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#213
There is no content yet.