Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot authored and iwahbe committed Aug 21, 2023
1 parent b464503 commit 1adf293
Show file tree
Hide file tree
Showing 53 changed files with 292 additions and 285 deletions.
6 changes: 3 additions & 3 deletions sdk/dotnet/RulesetRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Pulumi.Pagerduty
/// using System.Linq;
/// using Pulumi;
/// using Pagerduty = Pulumi.Pagerduty;
/// using Time = Pulumi.Time;
/// using Time = Pulumiverse.Time;
///
/// return await Deployment.RunAsync(() =>
/// {
Expand All @@ -35,7 +35,7 @@ namespace Pulumi.Pagerduty
/// // repeats daily from 9:30am - 11:30am using the America/New_York timezone.
/// // Thus it requires a time_static instance to represent 9:30am on an arbitrary date in that timezone.
/// // April 11th, 2019 was EDT (UTC-4) https://www.timeanddate.com/worldclock/converter.html?iso=20190411T133000&p1=179
/// var easternTimeAt0930 = new Time.Index.Time_static("easternTimeAt0930", new()
/// var easternTimeAt0930 = new Time.Static("easternTimeAt0930", new()
/// {
/// Rfc3339 = "2019-04-11T09:30:00-04:00",
/// });
Expand All @@ -57,7 +57,7 @@ namespace Pulumi.Pagerduty
/// 4,
/// 6,
/// },
/// StartTime = easternTimeAt0930.Unix * 1000,
/// StartTime = easternTimeAt0930.Unix.Apply(unix => unix * 1000),
/// Duration = 2 * 60 * 60 * 1000,
/// Timezone = "America/New_York",
/// },
Expand Down
5 changes: 3 additions & 2 deletions sdk/go/pagerduty/getUsers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions sdk/go/pagerduty/rulesetRule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions sdk/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ java {

compileJava {
options.fork = true
options.forkOptions.jvmArgs.addAll(["-Xmx4g"])
options.forkOptions.jvmArgs.addAll(["-Xmx16g"])
}

repositories {
Expand All @@ -43,17 +43,18 @@ repositories {
dependencies {
implementation("com.google.code.findbugs:jsr305:3.0.2")
implementation("com.google.code.gson:gson:2.8.9")
implementation("com.pulumi:pulumi:0.5.4")
implementation("com.pulumi:pulumi:0.9.5")
}

task sourcesJar(type: Jar) {
from sourceSets.main.allJava
classifier = 'sources'
archiveClassifier.set('sources')
}

task javadocJar(type: Jar) {
from javadoc
classifier = 'javadoc'
archiveClassifier.set('javadoc')
zip64 = true
}

def genPulumiResources = tasks.register('genPulumiResources') {
Expand Down Expand Up @@ -123,7 +124,11 @@ javadoc {
if (JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
}
options.jFlags("-Xmx2g", "-Xms512m")
options.jFlags("-Xmx8g", "-Xms512m")
}

jar {
zip64 = true
}

if (publishRepoUsername) {
Expand All @@ -144,4 +149,4 @@ if (signingKey) {
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mainPublication
}
}
}
4 changes: 2 additions & 2 deletions sdk/java/src/main/java/com/pulumi/pagerduty/Addon.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class Addon extends com.pulumi.resources.CustomResource {
* The name of the add-on.
*
*/
@Export(name="name", type=String.class, parameters={})
@Export(name="name", refs={String.class}, tree="[0]")
private Output<String> name;

/**
Expand All @@ -75,7 +75,7 @@ public Output<String> name() {
* The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required.
*
*/
@Export(name="src", type=String.class, parameters={})
@Export(name="src", refs={String.class}, tree="[0]")
private Output<String> src;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class AutomationActionsAction extends com.pulumi.resources.CustomResource
* The category of the action. The only allowed values are `diagnostic` and `remediation`.
*
*/
@Export(name="actionClassification", type=String.class, parameters={})
@Export(name="actionClassification", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> actionClassification;

/**
Expand All @@ -91,7 +91,7 @@ public Output<Optional<String>> actionClassification() {
* Action Data block. Action Data is documented below.
*
*/
@Export(name="actionDataReference", type=AutomationActionsActionActionDataReference.class, parameters={})
@Export(name="actionDataReference", refs={AutomationActionsActionActionDataReference.class}, tree="[0]")
private Output<AutomationActionsActionActionDataReference> actionDataReference;

/**
Expand All @@ -105,7 +105,7 @@ public Output<AutomationActionsActionActionDataReference> actionDataReference()
* The type of the action. The only allowed values are `process_automation` and `script`. Cannot be changed once set.
*
*/
@Export(name="actionType", type=String.class, parameters={})
@Export(name="actionType", refs={String.class}, tree="[0]")
private Output<String> actionType;

/**
Expand All @@ -119,7 +119,7 @@ public Output<String> actionType() {
* The time action was created. Represented as an ISO 8601 timestamp.
*
*/
@Export(name="creationTime", type=String.class, parameters={})
@Export(name="creationTime", refs={String.class}, tree="[0]")
private Output<String> creationTime;

/**
Expand All @@ -133,7 +133,7 @@ public Output<String> creationTime() {
* The description of the action. Max length is 1024 characters.
*
*/
@Export(name="description", type=String.class, parameters={})
@Export(name="description", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> description;

/**
Expand All @@ -147,7 +147,7 @@ public Output<Optional<String>> description() {
* (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
*
*/
@Export(name="modifyTime", type=String.class, parameters={})
@Export(name="modifyTime", refs={String.class}, tree="[0]")
private Output<String> modifyTime;

/**
Expand All @@ -161,7 +161,7 @@ public Output<String> modifyTime() {
* The name of the action. Max length is 255 characters.
*
*/
@Export(name="name", type=String.class, parameters={})
@Export(name="name", refs={String.class}, tree="[0]")
private Output<String> name;

/**
Expand All @@ -175,7 +175,7 @@ public Output<String> name() {
* The Process Automation Actions runner to associate the action with. Cannot be changed for the `process_automation` action type once set.
*
*/
@Export(name="runnerId", type=String.class, parameters={})
@Export(name="runnerId", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> runnerId;

/**
Expand All @@ -189,7 +189,7 @@ public Output<Optional<String>> runnerId() {
* (Optional) The type of the runner associated with the action.
*
*/
@Export(name="runnerType", type=String.class, parameters={})
@Export(name="runnerType", refs={String.class}, tree="[0]")
private Output<String> runnerType;

/**
Expand All @@ -203,7 +203,7 @@ public Output<String> runnerType() {
* The type of object. The value returned will be `action`.
*
*/
@Export(name="type", type=String.class, parameters={})
@Export(name="type", refs={String.class}, tree="[0]")
private Output<String> type;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public class AutomationActionsActionServiceAssociation extends com.pulumi.resour
* Id of the action.
*
*/
@Export(name="actionId", type=String.class, parameters={})
@Export(name="actionId", refs={String.class}, tree="[0]")
private Output<String> actionId;

/**
Expand All @@ -121,7 +121,7 @@ public Output<String> actionId() {
* Id of the service associated to the action.
*
*/
@Export(name="serviceId", type=String.class, parameters={})
@Export(name="serviceId", refs={String.class}, tree="[0]")
private Output<String> serviceId;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class AutomationActionsActionTeamAssociation extends com.pulumi.resources
* Id of the action.
*
*/
@Export(name="actionId", type=String.class, parameters={})
@Export(name="actionId", refs={String.class}, tree="[0]")
private Output<String> actionId;

/**
Expand All @@ -93,7 +93,7 @@ public Output<String> actionId() {
* Id of the team associated to the action.
*
*/
@Export(name="teamId", type=String.class, parameters={})
@Export(name="teamId", refs={String.class}, tree="[0]")
private Output<String> teamId;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class AutomationActionsRunner extends com.pulumi.resources.CustomResource
* The time runner was created. Represented as an ISO 8601 timestamp.
*
*/
@Export(name="creationTime", type=String.class, parameters={})
@Export(name="creationTime", refs={String.class}, tree="[0]")
private Output<String> creationTime;

/**
Expand All @@ -92,7 +92,7 @@ public Output<String> creationTime() {
* The description of the runner. Max length is 1024 characters.
*
*/
@Export(name="description", type=String.class, parameters={})
@Export(name="description", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> description;

/**
Expand All @@ -106,7 +106,7 @@ public Output<Optional<String>> description() {
* (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
*
*/
@Export(name="lastSeen", type=String.class, parameters={})
@Export(name="lastSeen", refs={String.class}, tree="[0]")
private Output<String> lastSeen;

/**
Expand All @@ -120,7 +120,7 @@ public Output<String> lastSeen() {
* The name of the runner. Max length is 255 characters.
*
*/
@Export(name="name", type=String.class, parameters={})
@Export(name="name", refs={String.class}, tree="[0]")
private Output<String> name;

/**
Expand All @@ -134,7 +134,7 @@ public Output<String> name() {
* The unique User API Token created in Runbook Automation.
*
*/
@Export(name="runbookApiKey", type=String.class, parameters={})
@Export(name="runbookApiKey", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> runbookApiKey;

/**
Expand All @@ -148,7 +148,7 @@ public Output<Optional<String>> runbookApiKey() {
* The subdomain for your Runbook Automation Instance.
*
*/
@Export(name="runbookBaseUri", type=String.class, parameters={})
@Export(name="runbookBaseUri", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> runbookBaseUri;

/**
Expand All @@ -162,7 +162,7 @@ public Output<Optional<String>> runbookBaseUri() {
* The type of runner. The only allowed values is `runbook`.
*
*/
@Export(name="runnerType", type=String.class, parameters={})
@Export(name="runnerType", refs={String.class}, tree="[0]")
private Output<String> runnerType;

/**
Expand All @@ -176,7 +176,7 @@ public Output<String> runnerType() {
* The type of object. The value returned will be `runner`.
*
*/
@Export(name="type", type=String.class, parameters={})
@Export(name="type", refs={String.class}, tree="[0]")
private Output<String> type;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class AutomationActionsRunnerTeamAssociation extends com.pulumi.resources
* Id of the runner.
*
*/
@Export(name="runnerId", type=String.class, parameters={})
@Export(name="runnerId", refs={String.class}, tree="[0]")
private Output<String> runnerId;

/**
Expand All @@ -91,7 +91,7 @@ public Output<String> runnerId() {
* Id of the team associated with the runner.
*
*/
@Export(name="teamId", type=String.class, parameters={})
@Export(name="teamId", refs={String.class}, tree="[0]")
private Output<String> teamId;

/**
Expand Down
Loading

0 comments on commit 1adf293

Please sign in to comment.