Skip to content
Merged
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
807 changes: 807 additions & 0 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

26 changes: 22 additions & 4 deletions .github/workflows/reusable-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,26 @@ on:
default: ''

jobs:
examples:
prepare:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.split.outputs.matrix }}
steps:
- uses: actions/checkout@v3
with:
repository: DataDog/datadog-api-client-go
ref: ${{ inputs.target-branch || github.ref }}
- name: Compute example groups
id: split
run: ./scripts/prepare-examples.sh
shell: bash

build:
needs: prepare
runs-on: ubuntu-latest
strategy:
matrix:
group: ${{ fromJson(needs.prepare.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -23,6 +41,6 @@ jobs:
go-version: 1.22.x
cache: true
cache-dependency-path: tests/go.sum
- name: Check examples
run: ./check-examples.sh
shell: bash
- name: Build examples (group ${{ matrix.group }})
run: ./scripts/build-examples-group.sh ${{ matrix.group }}
shell: bash
33 changes: 32 additions & 1 deletion .github/workflows/reusable-go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,37 @@ on:
required: false

jobs:
staticcheck:
strategy:
matrix:
go-version: ["1.22.x", "1.23.x"]
go-build-tags: ["--tags=goccy_gojson", ""]
platform: ["ubuntu-latest"]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
repository: DataDog/datadog-api-client-go
ref: ${{ inputs.target-branch || github.ref }}
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: tests/go.sum
- name: Staticcheck (api module)
uses: dominikh/staticcheck-action@v1
with:
checks: "-SA1009"
working-directory: api
cache-key: ${{ matrix.go }}
- name: Staticcheck (tests module)
uses: dominikh/staticcheck-action@v1
with:
checks: "inherit,-SA1019"
cache-key: ${{ matrix.go }}
working-directory: tests
test:
strategy:
matrix:
Expand All @@ -41,7 +72,7 @@ jobs:
cache: true
cache-dependency-path: tests/go.sum
- name: Test
run: ./run-tests.sh
run: ./scripts/run-tests.sh
env:
TESTARGS: ${{ matrix.go-build-tags }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
cache-dependency-path: tests/go.sum
- name: Run integration tests
shell: bash
run: ./run-tests.sh
run: ./scripts/run-tests.sh
env:
CI: "true"
DD_AGENT_HOST: localhost
Expand Down
51 changes: 27 additions & 24 deletions api/datadog/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,33 @@ func NewConfiguration() *Configuration {
"v2.ListFleetTracers": false,
"v2.TriggerFleetSchedule": false,
"v2.UpdateFleetSchedule": false,
"v2.CreateLLMObsAnnotationQueue": false,
"v2.CreateLLMObsAnnotationQueueInteractions": false,
"v2.CreateLLMObsDataset": false,
"v2.CreateLLMObsDatasetRecords": false,
"v2.CreateLLMObsExperiment": false,
"v2.CreateLLMObsExperimentEvents": false,
"v2.CreateLLMObsProject": false,
"v2.DeleteLLMObsAnnotationQueue": false,
"v2.DeleteLLMObsAnnotationQueueInteractions": false,
"v2.DeleteLLMObsCustomEvalConfig": false,
"v2.DeleteLLMObsDatasetRecords": false,
"v2.DeleteLLMObsDatasets": false,
"v2.DeleteLLMObsExperiments": false,
"v2.DeleteLLMObsProjects": false,
"v2.GetLLMObsAnnotatedInteractions": false,
"v2.GetLLMObsCustomEvalConfig": false,
"v2.ListLLMObsAnnotationQueues": false,
"v2.ListLLMObsDatasetRecords": false,
"v2.ListLLMObsDatasets": false,
"v2.ListLLMObsExperiments": false,
"v2.ListLLMObsProjects": false,
"v2.UpdateLLMObsAnnotationQueue": false,
"v2.UpdateLLMObsCustomEvalConfig": false,
"v2.UpdateLLMObsDataset": false,
"v2.UpdateLLMObsDatasetRecords": false,
"v2.UpdateLLMObsExperiment": false,
"v2.UpdateLLMObsProject": false,
"v2.CreateOpenAPI": false,
"v2.DeleteOpenAPI": false,
"v2.GetOpenAPI": false,
Expand Down Expand Up @@ -820,30 +847,6 @@ func NewConfiguration() *Configuration {
"v2.UpdateJiraIssueTemplate": false,
"v2.CreateTenancyConfig": false,
"v2.GetTenancyConfigs": false,
"v2.CreateLLMObsAnnotationQueue": false,
"v2.CreateLLMObsAnnotationQueueInteractions": false,
"v2.CreateLLMObsDataset": false,
"v2.CreateLLMObsDatasetRecords": false,
"v2.CreateLLMObsExperiment": false,
"v2.CreateLLMObsExperimentEvents": false,
"v2.CreateLLMObsProject": false,
"v2.DeleteLLMObsAnnotationQueue": false,
"v2.DeleteLLMObsAnnotationQueueInteractions": false,
"v2.DeleteLLMObsDatasetRecords": false,
"v2.DeleteLLMObsDatasets": false,
"v2.DeleteLLMObsExperiments": false,
"v2.DeleteLLMObsProjects": false,
"v2.GetLLMObsAnnotatedInteractions": false,
"v2.ListLLMObsAnnotationQueues": false,
"v2.ListLLMObsDatasetRecords": false,
"v2.ListLLMObsDatasets": false,
"v2.ListLLMObsExperiments": false,
"v2.ListLLMObsProjects": false,
"v2.UpdateLLMObsAnnotationQueue": false,
"v2.UpdateLLMObsDataset": false,
"v2.UpdateLLMObsDatasetRecords": false,
"v2.UpdateLLMObsExperiment": false,
"v2.UpdateLLMObsProject": false,
"v2.AddRoleToRestrictionQuery": false,
"v2.CreateRestrictionQuery": false,
"v2.DeleteRestrictionQuery": false,
Expand Down
Loading
Loading