Skip to content

fix(device-agent): adapted device-agent to use configurable database data directory path - #355

Merged
vireshnavalli merged 7 commits into
developmentfrom
fix/improve-agent-db-path
Aug 3, 2026
Merged

fix(device-agent): adapted device-agent to use configurable database data directory path#355
vireshnavalli merged 7 commits into
developmentfrom
fix/improve-agent-db-path

Conversation

@spulkit138

@spulkit138 spulkit138 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR resolves #319 by making the device-agent database data directory configurable through the configuration file, removing the dependency on a hardcoded data path.

Changes

  • Added support for configuring the device-agent database data directory via config:

    database:
      dataDir: /var/lib/margo/device-agent/data

    Update dataDir to the desired location for your environment.

  • Removed usage of the previously hardcoded database data path.

  • Removed unnecessary files associated with the old implementation.

Related Issue

Closes #319

Signed-off-by: Pulkit Sharma <pulkit.d.sharma@capgemini.com>
Signed-off-by: Pulkit Sharma <pulkit.d.sharma@capgemini.com>
Signed-off-by: Pulkit Sharma <pulkit.d.sharma@capgemini.com>
@spulkit138 spulkit138 added this to the SPRINT_21_PR3 milestone Jul 23, 2026
@spulkit138 spulkit138 self-assigned this Jul 23, 2026
@spulkit138 spulkit138 linked an issue Jul 23, 2026 that may be closed by this pull request
Signed-off-by: Pulkit Sharma <pulkit.d.sharma@capgemini.com>
Signed-off-by: Pulkit Sharma <pulkit.d.sharma@capgemini.com>
…/helm from sandbox installation

Signed-off-by: Pulkit Sharma <pulkit.d.sharma@capgemini.com>
Comment thread poc/device/agent/data/agent.database.json Outdated
@spulkit138
spulkit138 force-pushed the fix/improve-agent-db-path branch from b6dd111 to f2fccc7 Compare July 23, 2026 10:52
Signed-off-by: Pulkit Sharma <pulkit.d.sharma@capgemini.com>
@vireshnavalli vireshnavalli added the SPRINT_21 SPRINT_21 label Jul 24, 2026
@vireshnavalli
vireshnavalli self-requested a review July 24, 2026 07:34
@vireshnavalli
vireshnavalli merged commit aa0ca92 into development Aug 3, 2026
7 checks passed
@vireshnavalli
vireshnavalli deleted the fix/improve-agent-db-path branch August 3, 2026 11:14
spulkit138 added a commit that referenced this pull request Aug 5, 2026
… path (#355)

Signed-off-by: Pulkit Sharma <pulkit.d.sharma@capgemini.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SPRINT_21 SPRINT_21

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FB: ] improve default and configurability of agent db path

3 participants