Skip to content
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

[Common] Refactor Services #212

Merged
merged 5 commits into from
Mar 3, 2021
Merged

[Common] Refactor Services #212

merged 5 commits into from
Mar 3, 2021

Conversation

Ornias1993
Copy link
Member

@Ornias1993 Ornias1993 commented Mar 2, 2021

Description

This PR refactors the services and breaks support with current code.
Hence it's merged into Staging not Master. Staging will be merged when next TrueNAS SCALE release hits

It aims to rework the services in a more sustainable fassion

Fixes #211

Type of change

  • Feature/App addition
  • Bugfix
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor of current code

How Has This Been Tested?

Notes:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests to this description that prove my fix is effective or that my feature works

@Ornias1993 Ornias1993 added the enhancement New feature or request label Mar 2, 2021
@Ornias1993 Ornias1993 self-assigned this Mar 2, 2021
@Ornias1993 Ornias1993 changed the base branch from master to staging March 2, 2021 10:57
@Ornias1993 Ornias1993 force-pushed the service-refactor branch 4 times, most recently from f7cee40 to ec0fab1 Compare March 2, 2021 18:13
@Ornias1993
Copy link
Member Author

Ornias1993 commented Mar 2, 2021

Services are Refactored and Unittests should be passing now.

Unit-Tests for more than the first Service require a very significant addon to the testing system, hence are delayed untill a later date.

TODO:

  • Design and document new standardised services layout for questions.yaml

@Ornias1993 Ornias1993 added the documentation Improvements or additions to documentation label Mar 2, 2021
@Ornias1993
Copy link
Member Author

Should be mostly done, just needs some tests to finish and maybe some bugtracing.
After those are done, it's ready for review :)

@Ornias1993 Ornias1993 marked this pull request as ready for review March 3, 2021 08:45
@Ornias1993 Ornias1993 requested a review from tprelog March 3, 2021 09:38
kjeld Schouten-Lebbing added 2 commits March 3, 2021 15:32
- services (dict, including main service)
- additionalServices (list)
@Ornias1993
Copy link
Member Author

Awesome, thanks for the review @tprelog
Just rebased and will merge into Staging if it still passes the tests.

kjeld Schouten-Lebbing added 2 commits March 3, 2021 15:42
@Ornias1993 Ornias1993 merged commit 3f981a8 into staging Mar 3, 2021
Ornias1993 pushed a commit that referenced this pull request Mar 3, 2021
* Refactor All Services

- services (dict, including main service)
- additionalServices (list)

* Add Documentation and standardised questions.yaml layout for services

* Update all existing Apps to 2.0.0

* Fix whiteline error

* fix addons
Ornias1993 pushed a commit that referenced this pull request Mar 3, 2021
* Refactor All Services

- services (dict, including main service)
- additionalServices (list)

* Add Documentation and standardised questions.yaml layout for services

* Update all existing Apps to 2.0.0

* Fix whiteline error

* fix addons
@Ornias1993 Ornias1993 deleted the service-refactor branch March 8, 2021 20:38
Ornias1993 pushed a commit that referenced this pull request Mar 12, 2021
* Refactor All Services

- services (dict, including main service)
- additionalServices (list)

* Add Documentation and standardised questions.yaml layout for services

* Update all existing Apps to 2.0.0

* Fix whiteline error

* fix addons
Ornias1993 pushed a commit that referenced this pull request Mar 17, 2021
* Refactor All Services

- services (dict, including main service)
- additionalServices (list)

* Add Documentation and standardised questions.yaml layout for services

* Update all existing Apps to 2.0.0

* Fix whiteline error

* fix addons
Ornias1993 pushed a commit that referenced this pull request Mar 31, 2021
* Refactor All Services

- services (dict, including main service)
- additionalServices (list)

* Add Documentation and standardised questions.yaml layout for services

* Update all existing Apps to 2.0.0

* Fix whiteline error

* fix addons
Ornias1993 pushed a commit that referenced this pull request Mar 31, 2021
* Refactor All Services

- services (dict, including main service)
- additionalServices (list)

* Add Documentation and standardised questions.yaml layout for services

* Update all existing Apps to 2.0.0

* Fix whiteline error

* fix addons
ellienieuwdorp pushed a commit to ellienieuwdorp/charts that referenced this pull request Apr 10, 2021
* Refactor All Services

- services (dict, including main service)
- additionalServices (list)

* Add Documentation and standardised questions.yaml layout for services

* Update all existing Apps to 2.0.0

* Fix whiteline error

* fix addons
@truecharts-admin
Copy link
Collaborator

This PR is locked to prevent necro-posting on closed PRs. Please create a issue or contact staff on discord if you want to further discuss this

@truecharts truecharts locked as resolved and limited conversation to collaborators Jul 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Common] Refactor and Document Services
3 participants