Skip to content

Commit

Permalink
make build_sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Oct 24, 2023
1 parent 7293f1f commit 127bf68
Show file tree
Hide file tree
Showing 134 changed files with 1,296 additions and 1,291 deletions.
18 changes: 12 additions & 6 deletions sdk/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ java {

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

repositories {
Expand All @@ -43,17 +44,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.8")
}

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 +125,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 +150,4 @@ if (signingKey) {
useInMemoryPgpKeys(signingKey, signingPassword)
sign publishing.publications.mainPublication
}
}
}
4 changes: 2 additions & 2 deletions sdk/java/src/main/java/com/pulumi/fastly/Configstore.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class Configstore extends com.pulumi.resources.CustomResource {
* Allow the Config Store to be deleted, even if it contains entries. Defaults to false.
*
*/
@Export(name="forceDestroy", type=Boolean.class, parameters={})
@Export(name="forceDestroy", refs={Boolean.class}, tree="[0]")
private Output</* @Nullable */ Boolean> forceDestroy;

/**
Expand All @@ -104,7 +104,7 @@ public Output<Optional<Boolean>> forceDestroy() {
* A unique name to identify the Config Store. It is important to note that changing this attribute will delete and recreate the Config Store, and discard the current entries. You MUST first delete the associated resource_link block from your service before modifying this field.
*
*/
@Export(name="name", type=String.class, parameters={})
@Export(name="name", refs={String.class}, tree="[0]")
private Output<String> name;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ConfigstoreEntries extends com.pulumi.resources.CustomResource {
* A map representing an entry in the Config Store, (key/value)
*
*/
@Export(name="entries", type=Map.class, parameters={String.class, Object.class})
@Export(name="entries", refs={Map.class,String.class,Object.class}, tree="[0,1,2]")
private Output<Map<String,Object>> entries;

/**
Expand All @@ -48,7 +48,7 @@ public Output<Map<String,Object>> entries() {
* externally from the config seeded values.
*
*/
@Export(name="manageEntries", type=Boolean.class, parameters={})
@Export(name="manageEntries", refs={Boolean.class}, tree="[0]")
private Output</* @Nullable */ Boolean> manageEntries;

/**
Expand All @@ -63,7 +63,7 @@ public Output<Optional<Boolean>> manageEntries() {
* An alphanumeric string identifying the Config Store.
*
*/
@Export(name="storeId", type=String.class, parameters={})
@Export(name="storeId", refs={String.class}, tree="[0]")
private Output<String> storeId;

/**
Expand Down
4 changes: 2 additions & 2 deletions sdk/java/src/main/java/com/pulumi/fastly/Kvstore.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class Kvstore extends com.pulumi.resources.CustomResource {
* Allow the KV Store to be deleted, even if it contains entries. Defaults to false.
*
*/
@Export(name="forceDestroy", type=Boolean.class, parameters={})
@Export(name="forceDestroy", refs={Boolean.class}, tree="[0]")
private Output</* @Nullable */ Boolean> forceDestroy;

/**
Expand All @@ -100,7 +100,7 @@ public Output<Optional<Boolean>> forceDestroy() {
* A unique name to identify the KV Store. It is important to note that changing this attribute will delete and recreate the KV Store, and discard the current entries. You MUST first delete the associated resource_link block from your service before modifying this field.
*
*/
@Export(name="name", type=String.class, parameters={})
@Export(name="name", refs={String.class}, tree="[0]")
private Output<String> name;

/**
Expand Down
4 changes: 2 additions & 2 deletions sdk/java/src/main/java/com/pulumi/fastly/Provider.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Provider extends com.pulumi.resources.ProviderResource {
* Fastly API Key from https://app.fastly.com/#account
*
*/
@Export(name="apiKey", type=String.class, parameters={})
@Export(name="apiKey", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> apiKey;

/**
Expand All @@ -40,7 +40,7 @@ public Output<Optional<String>> apiKey() {
* Fastly API URL
*
*/
@Export(name="baseUrl", type=String.class, parameters={})
@Export(name="baseUrl", refs={String.class}, tree="[0]")
private Output</* @Nullable */ String> baseUrl;

/**
Expand Down
2 changes: 1 addition & 1 deletion sdk/java/src/main/java/com/pulumi/fastly/Secretstore.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class Secretstore extends com.pulumi.resources.CustomResource {
* A human-readable name for the Secret Store. The value must contain only letters, numbers, dashes (-), underscores (*), or periods (.). It is important to note that changing this attribute will delete and recreate the Secret Store, and discard the current entries. You MUST first delete the associated resource*link block from your service before modifying this field.
*
*/
@Export(name="name", type=String.class, parameters={})
@Export(name="name", refs={String.class}, tree="[0]")
private Output<String> name;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class ServiceACLEntries extends com.pulumi.resources.CustomResource {
* The ID of the ACL that the items belong to
*
*/
@Export(name="aclId", type=String.class, parameters={})
@Export(name="aclId", refs={String.class}, tree="[0]")
private Output<String> aclId;

/**
Expand All @@ -49,7 +49,7 @@ public Output<String> aclId() {
* ACL Entries
*
*/
@Export(name="entries", type=List.class, parameters={ServiceACLEntriesEntry.class})
@Export(name="entries", refs={List.class,ServiceACLEntriesEntry.class}, tree="[0,1]")
private Output</* @Nullable */ List<ServiceACLEntriesEntry>> entries;

/**
Expand All @@ -63,7 +63,7 @@ public Output<Optional<List<ServiceACLEntriesEntry>>> entries() {
* Whether to reapply changes if the state of the entries drifts, i.e. if entries are managed externally
*
*/
@Export(name="manageEntries", type=Boolean.class, parameters={})
@Export(name="manageEntries", refs={Boolean.class}, tree="[0]")
private Output</* @Nullable */ Boolean> manageEntries;

/**
Expand All @@ -77,7 +77,7 @@ public Output<Optional<Boolean>> manageEntries() {
* The ID of the Service that the ACL belongs to
*
*/
@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 @@ -73,7 +73,7 @@ public class ServiceAuthorization extends com.pulumi.resources.CustomResource {
* The permissions to grant the user. Can be `full`, `read_only`, `purge_select` or `purge_all`.
*
*/
@Export(name="permission", type=String.class, parameters={})
@Export(name="permission", refs={String.class}, tree="[0]")
private Output<String> permission;

/**
Expand All @@ -87,7 +87,7 @@ public Output<String> permission() {
* The ID of the service to grant permissions for.
*
*/
@Export(name="serviceId", type=String.class, parameters={})
@Export(name="serviceId", refs={String.class}, tree="[0]")
private Output<String> serviceId;

/**
Expand All @@ -101,7 +101,7 @@ public Output<String> serviceId() {
* The ID of the user which will receive the granted permissions.
*
*/
@Export(name="userId", type=String.class, parameters={})
@Export(name="userId", refs={String.class}, tree="[0]")
private Output<String> userId;

/**
Expand Down
Loading

0 comments on commit 127bf68

Please sign in to comment.