Direct inserts API
melezhik opened this issue · comments
Writing new source adapters seems tedious and not always effective, especially when there is no web hook events in place, my proposal is to have direct insert API ( restish or python API / whatever ) allowing directly manipulate raw table entries, this would be quite effective for users with specific CICD / SCM logical flows not willing to bother with web hooks and events handling, some pseudo code example:
meta = {'commits': ["commit1","commit2"], 'status' : ''successful }
insert_into_raw(
source="custom_cicd",
event_type="deploy",
metadata=meta
)
Strong agree! What I would like to do is standardize around the CD Events standard.
I have a long-standing TODO to write that up as a proposal in here. But I'd love any initial feedback you might have?