Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

feat: Controls database recreation#80

Open
mfranceschit wants to merge 4 commits intoalphacloudgraphdev/cli:alphafrom
feature/CG-1631cloudgraphdev/cli:feature/CG-1631Copy head branch name to clipboard
Open

feat: Controls database recreation#80
mfranceschit wants to merge 4 commits intoalphacloudgraphdev/cli:alphafrom
feature/CG-1631cloudgraphdev/cli:feature/CG-1631Copy head branch name to clipboard

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

@mfranceschit mfranceschit self-assigned this Apr 26, 2022
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.