-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate client from commit dcfd3902 of spec repo
- Loading branch information
ci.datadog-api-spec
committed
Nov 15, 2024
1 parent
66ef6de
commit 6404951
Showing
11 changed files
with
2,315 additions
and
915 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
import com.datadog.api.client.v2.model.CIAppCreatePipelineEventRequestData; | ||
import com.datadog.api.client.v2.model.CIAppCreatePipelineEventRequestDataType; | ||
import com.datadog.api.client.v2.model.CIAppGitInfo; | ||
import com.datadog.api.client.v2.model.CIAppPipelineEventFinishedPipeline; | ||
import com.datadog.api.client.v2.model.CIAppPipelineEventPipeline; | ||
import com.datadog.api.client.v2.model.CIAppPipelineEventPipelineLevel; | ||
import com.datadog.api.client.v2.model.CIAppPipelineEventPipelineStatus; | ||
|
@@ -26,22 +27,23 @@ public static void main(String[] args) { | |
new CIAppCreatePipelineEventRequestAttributes() | ||
.resource( | ||
new CIAppCreatePipelineEventRequestAttributesResource( | ||
new CIAppPipelineEventPipeline() | ||
.end(OffsetDateTime.now().plusSeconds(-30)) | ||
.level(CIAppPipelineEventPipelineLevel.PIPELINE) | ||
.name("Deploy to AWS") | ||
.partialRetry(false) | ||
.start(OffsetDateTime.now().plusSeconds(-120)) | ||
.status(CIAppPipelineEventPipelineStatus.SUCCESS) | ||
.uniqueId("3eacb6f3-ff04-4e10-8a9c-46e6d054024a") | ||
.url( | ||
"https://my-ci-provider.example/pipelines/my-pipeline/run/1") | ||
.git( | ||
new CIAppGitInfo() | ||
.repositoryUrl( | ||
"https://github.com/DataDog/datadog-agent") | ||
.sha("7f263865994b76066c4612fd1965215e7dcb4cd2") | ||
.authorEmail("[email protected]"))))) | ||
new CIAppPipelineEventPipeline( | ||
new CIAppPipelineEventFinishedPipeline() | ||
.end(OffsetDateTime.now().plusSeconds(-30)) | ||
.level(CIAppPipelineEventPipelineLevel.PIPELINE) | ||
.name("Deploy to AWS") | ||
.partialRetry(false) | ||
.start(OffsetDateTime.now().plusSeconds(-120)) | ||
.status(CIAppPipelineEventPipelineStatus.SUCCESS) | ||
.uniqueId("3eacb6f3-ff04-4e10-8a9c-46e6d054024a") | ||
.url( | ||
"https://my-ci-provider.example/pipelines/my-pipeline/run/1") | ||
.git( | ||
new CIAppGitInfo() | ||
.repositoryUrl( | ||
"https://github.com/DataDog/datadog-agent") | ||
.sha("7f263865994b76066c4612fd1965215e7dcb4cd2") | ||
.authorEmail("[email protected]")))))) | ||
.type(CIAppCreatePipelineEventRequestDataType.CIPIPELINE_RESOURCE_REQUEST)); | ||
|
||
try { | ||
|
Oops, something went wrong.