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

Replaces .env with config.toml #2

Merged
merged 13 commits into from
Apr 14, 2023
Merged

Replaces .env with config.toml #2

merged 13 commits into from
Apr 14, 2023

Conversation

GeremWD
Copy link
Collaborator

@GeremWD GeremWD commented Mar 9, 2023

The lsog command still tries to read .env, but ziad is fixing it on another branch so I ll just rebase this one once it is done.
Thus the PR should not be merged for now but can already be reviewed.

@GeremWD GeremWD added the enhancement New feature or request label Mar 9, 2023
@helderbetiol helderbetiol requested a review from denizul April 6, 2023 15:07
@denizul
Copy link
Contributor

denizul commented Apr 7, 2023

This looks fine but the envFile branch in the OGREE-CLI already includes this with the changes to use environment variables

@denizul
Copy link
Contributor

denizul commented Apr 14, 2023

There was a flag parsing bug here so this was fixed. The JSON library was used here for the decoding into conf struct since this is better than a manual written solution. repl.go was refactored and now main.go has the init section


type Vardef struct {
Name string
Value string
Copy link
Contributor

Choose a reason for hiding this comment

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

I think Value should be an interface{} type, if we want to pass numerical variables etc

@GeremWD GeremWD merged commit 08c835d into main Apr 14, 2023
@denizul denizul deleted the config-toml branch April 20, 2023 14:30
helderbetiol added a commit that referenced this pull request Jun 14, 2024
* feat(api) replace - by _

To be uniform with collections and category fields

* feat(api) implement virtual objs

* fix(back) force remove network on delete tenant

* feat(cli) add virtual objs

* feat(app) add virtual objs

* feat(app) add translations

* fix(cli) replace - by _

* fix(cli) replace - by _

* fix(api) get phierarchy with vobj

* fix(api) vobj always with tags

* feat(cli) add layers to virtual

* feat(api) adjustments for virtual

* fix(cli) tests

* fix(api) tests

* refactor(api) simplify validateParent

* refactor(cli) simplify name change on virtual root

* refactor(cli) simplify layer FromObjects

* refactor(cli) simplify update vlinks

* feat(cli) add +vobj tests

* feat(cli) add vlink update test

* feat(cli) test ls vobj

* feat(api) update test and doc

* refactor(api) improve Cognitive Complexity

* fix(api) fix tests
helderbetiol added a commit that referenced this pull request Jun 20, 2024
* feat(api) replace - by _

To be uniform with collections and category fields

* feat(api) implement virtual objs

* fix(back) force remove network on delete tenant

* feat(cli) add virtual objs

* feat(app) add virtual objs

* feat(app) add translations

* fix(cli) replace - by _

* fix(cli) replace - by _

* fix(api) get phierarchy with vobj

* fix(api) vobj always with tags

* feat(cli) add layers to virtual

* feat(api) adjustments for virtual

* fix(cli) tests

* fix(api) tests

* refactor(api) simplify validateParent

* refactor(cli) simplify name change on virtual root

* refactor(cli) simplify layer FromObjects

* refactor(cli) simplify update vlinks

* feat(cli) add +vobj tests

* feat(cli) add vlink update test

* feat(cli) test ls vobj

* feat(api) update test and doc

* refactor(api) improve Cognitive Complexity

* fix(api) fix tests

* Feat476 virtual objects (#2)

* feat(api) replace - by _

To be uniform with collections and category fields

* feat(api) implement virtual objs

* fix(back) force remove network on delete tenant

* feat(cli) add virtual objs

* feat(app) add virtual objs

* feat(app) add translations

* fix(cli) replace - by _

* fix(cli) replace - by _

* fix(api) get phierarchy with vobj

* fix(api) vobj always with tags

* feat(cli) add layers to virtual

* feat(api) adjustments for virtual

* fix(cli) tests

* fix(api) tests

* refactor(api) simplify validateParent

* refactor(cli) simplify name change on virtual root

* refactor(cli) simplify layer FromObjects

* refactor(cli) simplify update vlinks

* feat(cli) add +vobj tests

* feat(cli) add vlink update test

* feat(cli) test ls vobj

* feat(api) update test and doc

* refactor(api) improve Cognitive Complexity

* fix(api) fix tests

* refactor(api) improve Cognitive Complexity

* fix(api) remove duplicate

* feat(cli,api) nodes on both namespaces

* feat(app) add graph view

* feat(app) add graph view

* feat(api) update readme

* feat(app) add complex filter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants