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

feat: Controls database recreation #80

Open
wants to merge 4 commits into
base: alpha
Choose a base branch
from
Open

Conversation

mfranceschit
Copy link
Contributor

Issue tracker links

CG-1631

Changes/solution

  • Only drops and changes the schema database when the schema changes. It doesn't delete data with each time it uses upsertions to update new data.
  • It saves a copy of the providers schema to keep track of migrations.

Dependencies

SDK https://github.com/cloudgraphdev/sdk
AWS Provider https://github.com/cloudgraphdev/cloudgraph-provider-aws

@m-pizarro
Copy link
Contributor

m-pizarro commented May 12, 2022

@mfranceschit I have been working on this branch in order to perform several tests, and I have found a strange scenario, which occurs in the object arrays, in which when a modification is made to the data instead of updating the current entry adds a new item, also maintaining the previous value. I was able to reproduce this in more than one service, and here is an example for the ELB listeners:

This is the last update:
image

These are the raw data returned by the service:
image

And these are the data returned by the query:
image

@tyler-dunkel
Copy link
Contributor

tyler-dunkel commented Oct 11, 2022 via email

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.

3 participants