Update configuration parameters #2

Open
opened 2023-10-25 09:24:15 +02:00 by yc · 1 comment
Owner

Use Onion lib for configuring the software at startup like in oc-dicovery.

Use Onion lib for configuring the software at startup like in oc-dicovery.
yc added the
Kind/Feature
Priority/High
labels 2023-10-25 09:24:15 +02:00
pb was assigned by yc 2023-10-25 09:24:15 +02:00
root added this to the OpenCloud project 2023-10-25 21:16:55 +02:00
Owner

Onion lib used to store :

  • MongoDB's URL

Both

  • DC NAme
  • DB Point
    needed to access the proper database in Mongo. Replaced the code that manually assigned those values in discovery.go to only rely on the conf.go file

Moved the conf.go file from models/ to conf/ so that we only import the conf related files and not all the models.

Onion lib used to store : - MongoDB's URL Both - DC NAme - DB Point needed to access the proper database in Mongo. Replaced the code that manually assigned those values in discovery.go to only rely on the conf.go file Moved the conf.go file from models/ to conf/ so that we only import the conf related files and not all the models.
Sign in to join this conversation.
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: core/deprecated-oc-catalog#2
No description provided.