datasage-io / datasage

Datasage is a Database Protection Engine
Apache License 2.0
0 stars 5 forks source link

make the file paths configurable from datasage.yaml #52

Closed ArulJeyananth closed 2 years ago

ArulJeyananth commented 2 years ago

Below paths are now hardcoded in .go files. Make it configurable from datasage.yaml /etc/datasage/resources/datasage.db /etc/datasage/resources/tags.csv /etc/datasage/resources/class.csv

ArulJeyananth commented 2 years ago

in datasage.yaml Added following entries

Path: /etc/datasage/resources/datasage.db default_tags: /etc/datasage/resources/tags.csv default_classes: /etc/datasage/resources/class.csv

ArulJeyananth commented 2 years ago

PR https://github.com/datasage-io/datasage/pull/51

ArulJeyananth commented 2 years ago

n datasage.yaml Added following entries and made changes in application to read the file names from configuration file

Path: /etc/datasage/resources/datasage.db default_tags: /etc/datasage/resources/tags.csv default_classes: /etc/datasage/resources/class.csv