Skip to content

Commit

Permalink
Update to support latest SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-chambers committed Feb 20, 2024
1 parent 4d12944 commit 35c2832
Show file tree
Hide file tree
Showing 23 changed files with 719 additions and 557 deletions.
8 changes: 7 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
insert_final_newline = true

[Makefile]
indent_style = tab

[*.{yaml,yml}]
indent_size = 2
17 changes: 14 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ name: Create and publish a Docker image
# Configures this workflow to run every time a change is pushed to selected tags and branches
on:
push:
branches:
branches:
- main
- test-ci/**
tags:
tags:
- v**

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
Expand All @@ -24,7 +24,6 @@ jobs:
permissions:
contents: read
packages: write
#
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -51,3 +50,15 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Build connector definition
run: |
export DOCKER_IMAGE=$(echo "$DOCKER_TAGS_JSON" | jq -r .tags[0])
make build
working-directory: ./connector-definition
env:
DOCKER_TAGS_JSON: ${{ steps.meta.outputs.tags }}
- uses: actions/upload-artifact@v4
with:
name: connector-definition.tgz
path: ./connector-definition/dist/connector-definition.tgz
compression-level: 0 # Already compressed
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target/
dist/
30 changes: 30 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'ndc-sendgrid'",
"cargo": {
"args": [
"build",
"--bin=ndc-sendgrid",
"--package=ndc-sendgrid"
],
"filter": {
"name": "ndc-sendgrid",
"kind": "bin"
}
},
"args": [
"serve",
"--configuration",
"."
],
"cwd": "${workspaceFolder}"
},
]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ This changelog documents changes between release tags.

Upcoming changes for the next versioned release.

## v0.3

* Updated with the latest NDC SDK version that supports NDC Spec v0.1.0-rc.16
* send_mail procedure now takes the full send mail request type and uses nested objects

## v0.2

Expand Down
Loading

0 comments on commit 35c2832

Please sign in to comment.