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

[#125] Add configurable storage for statuses and config #126

Merged
merged 16 commits into from
May 10, 2019
Merged

[#125] Add configurable storage for statuses and config #126

merged 16 commits into from
May 10, 2019

Conversation

eXistenZNL
Copy link
Collaborator

@eXistenZNL eXistenZNL commented Mar 24, 2019

What

  • Added a backend for Firebase to store statuses and config in
  • Made the backend configurable so it's switchable between local storage and Firebase
  • Updated Cypress to v3.2.0 to make it function again on newer versions of Chrome

Ticket

Closes #125

Why

When running the Docker container, all state is lost when updating. By having the config and statuses stored externally, we can keep state when updating.

Todo

  • Documentation
  • Update the module client as well
  • Currently no status update excepted, all status updates are deemed invalid

@eXistenZNL eXistenZNL requested a review from rick-nu March 24, 2019 23:03
Copy link
Member

@rick-nu rick-nu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small codewise improvements, but overal looking great so far, impressive @eXistenZNL! 😄

back-end/config/loader/Firebase.js Outdated Show resolved Hide resolved
back-end/config/LoaderFactory.js Outdated Show resolved Hide resolved
back-end/config/loader/AbstractLoader.js Outdated Show resolved Hide resolved
docs/setup/CIMonitor.md Outdated Show resolved Hide resolved
docs/setup/CIMonitor.md Outdated Show resolved Hide resolved
…the config structure when loading from Firebase
.eslintrc Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Copy link
Member

@rick-nu rick-nu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some previous feedback was still open, I have some debug suggestions, and what we wanted to test is not tested yet.

Process is looking sweet though!

@rick-nu
Copy link
Member

rick-nu commented May 8, 2019

@eXistenZNL eXistenZNL changed the title WIP: [#125] Add configurable storage for statuses and config [#125] Add configurable storage for statuses and config May 10, 2019
@eXistenZNL eXistenZNL requested a review from rick-nu May 10, 2019 20:21
Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@rick-nu
Copy link
Member

rick-nu commented May 10, 2019

YESS YESS YOOOOOOO

Finally, super excited to directly test this on production 🤞

@eXistenZNL
Copy link
Collaborator Author

image

@rick-nu rick-nu merged commit b1cc8b1 into FuturePortal:master May 10, 2019
@T-888 T-888 mentioned this pull request May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store config and statuses in Firebase
2 participants