Adding new storage backend

20 views
Skip to first unread message

John Tipper

unread,
Jul 22, 2019, 3:45:20 PM7/22/19
to Grafeas Developers
Hi All,

Can someone please briefly outline what would be required to support a different storage backend?  I can see there are implementations of the storage interface under `go/v1beta1/storage`: is it just a case of adding a new implementation here, plus updating the config class to support that new option?

Specifically, I'm interested in seeing support for AWS DynamoDb.

Many thanks,

John

Aysylu Greenberg

unread,
Jul 22, 2019, 4:43:25 PM7/22/19
to John Tipper, Grafeas Developers
Hi John,

Yes, you can use the example of embeddedstore or pgsqlstore in the directory you pointed out. Basically, the new storage will need to implement all of the API methods in go/v1beta1/api. One of the medium-term plans is to move specific storage implementations out of the grafeas/grafeas project, for more information see https://github.com/grafeas/grafeas/issues/341. So it'd be best if you started a separate project with the implementation of the Grafeas API methods, and you could contribute the instructions on how to do this going forward. Happy to help with any other questions in the meantime.

Cheers,
Aysylu

--
You received this message because you are subscribed to the Google Groups "Grafeas Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grafeas-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grafeas-dev/2c13c3ef-aac6-4be2-b28b-147148fa6cc8%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages