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

Ad/test #53

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/check-contracts-and-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
run: poetry run alembic upgrade head
shell: bash
- name: Check Protobuf Data Assets
uses: gabledata/cicd/github-actions/check-data-assets@latest
uses: gabledata/cicd/github-actions/check-data-assets@77ddb70e67717003dcce5d0ad796c73b93b22d43
with:
# Provide API key secret, and endpoint variable created in previous steps
gable-api-key: ${{secrets.GABLE_API_KEY}}
Expand All @@ -86,7 +86,7 @@ jobs:
--source-type protobuf \
--files ./event_schemas/*.proto
- name: Check Avro Data Assets
uses: gabledata/cicd/github-actions/check-data-assets@latest
uses: gabledata/cicd/github-actions/check-data-assets@77ddb70e67717003dcce5d0ad796c73b93b22d43
with:
# Provide API key secret, and endpoint variable created in previous steps
gable-api-key: ${{secrets.GABLE_API_KEY}}
Expand All @@ -98,7 +98,7 @@ jobs:
--source-type avro \
--files ./event_schemas/*.avsc
- name: Check Postgres Data Assets
uses: gabledata/cicd/github-actions/check-data-assets@latest
uses: gabledata/cicd/github-actions/check-data-assets@77ddb70e67717003dcce5d0ad796c73b93b22d43
with:
# Provide API key secret, and endpoint variable created in previous steps
gable-api-key: ${{secrets.GABLE_API_KEY}}
Expand Down
23 changes: 23 additions & 0 deletions contracts/order_details.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
id: 7b7eabe6-a52a-4e19-8bf3-9015eadbbed0
dataAssetResourceName: postgres://prod.store.com:5432:tutorial.public.order_details
spec-version: 0.1.0
name: OrderDetails
namespace: Tutorial
doc: Details of items for an order. Each row represents the different items that were part of an order including their quantity and price.
owner: [email protected]
schema:
- name: order_id
doc: The identifier of the order the item is associated with
type: int32
- name: product_id
doc: The identifier of the product that was ordered
type: int32
- name: quantity
doc: The quantity of the product in the order
type: int32
- name: total_price
doc: The total price of the item in the order
type: decimal256
- name: vendor_id
doc: The identifier of the vendor that the product was ordered from
type: int32
Loading