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

Implement embedded storage backend reader and writer - Part 2 #459

Conversation

andream16
Copy link
Contributor

Very simple local SQLite setup to put together a POC for Tuesday.

Right now I decided to set it up to convert the ocsf proto to JSON and storing it alongside a workflow id. This is done only for building the POC quickly - it shouldn't be the final solution.

We can work together when you are back @ptzianos to organise the data in the DB in a way that makes sense.

I didn't spend time on migrations as we might change the structure and we'll run them from the local potato engine for the POC demo.


Next steps:

  • Merge this and start working on local potato engine for the POC.
  • Discuss with the team about how to organise this data in a better way.

@andream16 andream16 self-assigned this Oct 31, 2024
@andream16 andream16 added the sdk label Oct 31, 2024
@coveralls
Copy link

coveralls commented Oct 31, 2024

Pull Request Test Coverage Report for Build 11682502082

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 41.629%

Totals Coverage Status
Change from base Build 11667211636: 0.0%
Covered Lines: 3374
Relevant Lines: 8105

💛 - Coveralls

sdk/component/internal/storer/local/sqlite/sqlite.go Outdated Show resolved Hide resolved
sdk/component/internal/storer/local/sqlite/sqlite_test.go Outdated Show resolved Hide resolved
sdk/component/conf.go Show resolved Hide resolved
sdk/component/conf.go Outdated Show resolved Hide resolved
sdk/component/storer.go Show resolved Hide resolved
sdk/component/conf.go Show resolved Hide resolved
@andream16 andream16 force-pushed the feature/ocu-221-implement-embedded-storage-backend-reader-and-writer-pt-2 branch 2 times, most recently from fd3eb65 to 914277c Compare November 4, 2024 13:18
@andream16 andream16 force-pushed the feature/ocu-221-implement-embedded-storage-backend-reader-and-writer-pt-2 branch from 914277c to 35461f9 Compare November 4, 2024 15:22
sdk/component/conf.go Show resolved Hide resolved
sdk/component/conf.go Outdated Show resolved Hide resolved
sdk/component/component.go Show resolved Hide resolved
sdk/component/conf.go Outdated Show resolved Hide resolved
sdk/component/conf.go Outdated Show resolved Hide resolved
sdk/component/reporter_test.go Outdated Show resolved Hide resolved
sdk/component/internal/storer/local/sqlite/sqlite_test.go Outdated Show resolved Hide resolved
sdk/component/internal/storer/local/sqlite/sqlite_test.go Outdated Show resolved Hide resolved
@andream16 andream16 force-pushed the feature/ocu-221-implement-embedded-storage-backend-reader-and-writer-pt-2 branch from 35461f9 to 15eff97 Compare November 5, 2024 10:41
@andream16 andream16 merged commit 762c97d into main Nov 5, 2024
3 checks passed
@andream16 andream16 deleted the feature/ocu-221-implement-embedded-storage-backend-reader-and-writer-pt-2 branch November 5, 2024 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants