generated from pulumi/pulumi-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a2eb09
commit 280d7cd
Showing
15 changed files
with
1,136 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: pulumi-aem | ||
runtime: go | ||
plugins: | ||
providers: | ||
- name: aem | ||
path: ../../bin |
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 |
---|---|---|
@@ -0,0 +1,258 @@ | ||
# AEM instances to work with | ||
instance: | ||
|
||
# Full details of local or remote instances | ||
config: | ||
local_author: | ||
active: true | ||
http_url: http://127.0.0.1:6502 | ||
user: admin | ||
password: admin | ||
run_modes: [local] | ||
jvm_opts: | ||
- -server | ||
- -Djava.awt.headless=true | ||
- -Djava.io.tmpdir=[[canonicalPath .Path "aem/home/tmp"]] | ||
- -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:16502 | ||
- -Duser.language=en | ||
- -Duser.country=US | ||
- -Duser.timezone=UTC | ||
start_opts: [] | ||
secret_vars: | ||
- ACME_SECRET=value | ||
env_vars: | ||
- ACME_VAR=value | ||
sling_props: [] | ||
local_publish: | ||
active: true | ||
http_url: http://127.0.0.1:6503 | ||
user: admin | ||
password: admin | ||
run_modes: [local] | ||
jvm_opts: | ||
- -server | ||
- -Djava.awt.headless=true | ||
- -Djava.io.tmpdir=[[canonicalPath .Path "aem/home/tmp"]] | ||
- -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:16503 | ||
- -Duser.language=en | ||
- -Duser.country=US | ||
- -Duser.timezone=UTC | ||
start_opts: [] | ||
secret_vars: | ||
- ACME_SECRET=value | ||
env_vars: | ||
- ACME_VAR=value | ||
sling_props: [] | ||
|
||
# Tuning performance & reliability | ||
# 'auto' - for more than 1 local instances - 'serial', otherwise 'parallel' | ||
# 'parallel' - for working with remote instances | ||
# 'serial' - for working with local instances | ||
processing_mode: auto | ||
|
||
# HTTP client settings | ||
http: | ||
timeout: 10m | ||
debug: false | ||
disable_warn: true | ||
|
||
# State checking | ||
check: | ||
# Time to wait before first state checking (to avoid false-positives) | ||
warmup: 1s | ||
# Time to wait for next state checking | ||
interval: 6s | ||
# Number of successful check attempts that indicates end of checking | ||
done_threshold: 3 | ||
# Wait only for those instances whose state has been changed internally (unaware of external changes) | ||
await_strict: true | ||
# Max time to wait for the instance to be healthy after executing the start script or e.g deploying a package | ||
await_started: | ||
timeout: 30m | ||
# Max time to wait for the instance to be stopped after executing the stop script | ||
await_stopped: | ||
timeout: 10m | ||
# Max time in which socket connection to instance should be established | ||
reachable: | ||
skip: false | ||
timeout: 3s | ||
# Bundle state tracking | ||
bundle_stable: | ||
skip: false | ||
symbolic_names_ignored: [] | ||
# OSGi events tracking | ||
event_stable: | ||
skip: false | ||
# Topics indicating that instance is not stable | ||
topics_unstable: | ||
- "org/osgi/framework/ServiceEvent/*" | ||
- "org/osgi/framework/FrameworkEvent/*" | ||
- "org/osgi/framework/BundleEvent/*" | ||
# Ignored service names to handle known issues | ||
details_ignored: | ||
- "*.*MBean" | ||
- "org.osgi.service.component.runtime.ServiceComponentRuntime" | ||
- "java.util.ResourceBundle" | ||
received_max_age: 5s | ||
# OSGi components state tracking | ||
component_stable: | ||
skip: false | ||
pids: | ||
include: ['com.day.crx.packaging.*', 'org.apache.sling.installer.*'] | ||
exclude: ['org.apache.sling.installer.hc.*', 'org.apache.sling.installer.core.impl.console.*'] | ||
match: | ||
"disabled": [] | ||
"no config": [] | ||
"unsatisfied (reference)": [] | ||
"satisfied": [] | ||
# Sling Installer tracking | ||
installer: | ||
skip: false | ||
# JMX state checking | ||
state: true | ||
# Pause Installation nodes checking | ||
pause: true | ||
# Specific endpoints / paths (like login page) | ||
path_ready: | ||
timeout: 10s | ||
login_page: | ||
skip: false | ||
path: "/libs/granite/core/content/login.html" | ||
status_code: 200 | ||
contained_text: QUICKSTART_HOMEPAGE | ||
|
||
# Managed locally (set up automatically) | ||
local: | ||
# Current runtime dir (Sling launchpad, JCR repository) | ||
unpack_dir: "aem/home/var/instance" | ||
# Archived runtime dir (AEM backup files '*.aemb.zst') | ||
backup_dir: "aem/home/var/backup" | ||
|
||
# Oak Run tool options (offline instance management) | ||
oak_run: | ||
download_url: "https://repo1.maven.org/maven2/org/apache/jackrabbit/oak-run/1.44.0/oak-run-1.44.0.jar" | ||
store_path: "crx-quickstart/repository/segmentstore" | ||
|
||
# Source files | ||
quickstart: | ||
# AEM SDK ZIP or JAR | ||
dist_file: 'aem/home/lib/{aem-sdk,cq-quickstart}-*.{zip,jar}' | ||
# AEM License properties file | ||
license_file: "aem/home/lib/license.properties" | ||
|
||
# Status discovery (timezone, AEM version, etc) | ||
status: | ||
timeout: 500ms | ||
|
||
# JCR Repository | ||
repo: | ||
property_change_ignored: | ||
# AEM assigns them automatically | ||
- "jcr:created" | ||
- "cq:lastModified" | ||
# AEM encrypts it right after changing by replication agent setup command | ||
- "transportPassword" | ||
|
||
# CRX Package Manager | ||
package: | ||
# Force re-uploading/installing of snapshot AEM packages (just built / unreleased) | ||
snapshot_patterns: [ "**/*-SNAPSHOT.zip" ] | ||
snapshot_ignored: false | ||
# Use checksums to avoid re-deployments when snapshot AEM packages are unchanged | ||
snapshot_deploy_skipping: true | ||
# Disable following workflow launchers for a package deployment time only | ||
toggled_workflows: [/libs/settings/workflow/launcher/config/update_asset_*,/libs/settings/workflow/launcher/config/dam_*] | ||
# Also sub-packages | ||
install_recursive: true | ||
# Use slower HTML endpoint for deployments but with better troubleshooting | ||
install_html: | ||
enabled: false | ||
# Print HTML directly to console instead of writing to file | ||
console: false | ||
# Fail on case 'installed with errors' | ||
strict: true | ||
# Number of changes after which the commit to the repository is performed | ||
install_save_threshold: 1024 | ||
# Allows to relax dependency handling if needed | ||
install_dependency_handling: required | ||
# Controls how 'rep:policy' nodes are handled during import | ||
install_ac_handling: '' | ||
|
||
# 'SSL By Default' | ||
ssl: | ||
setup_timeout: 30s | ||
|
||
# OSGi Framework | ||
osgi: | ||
shutdown_delay: 3s | ||
|
||
bundle: | ||
install: | ||
start: true | ||
start_level: 20 | ||
refresh_packages: true | ||
|
||
# Crypto Support | ||
crypto: | ||
key_bundle_symbolic_name: com.adobe.granite.crypto.file | ||
|
||
# Replication | ||
replication: | ||
bundle_symbolic_name: com.day.cq.cq-replication | ||
|
||
# Workflow Manager | ||
workflow: | ||
launcher: | ||
lib_root: /libs/settings/workflow/launcher | ||
config_root: /conf/global/settings/workflow/launcher | ||
toggle_retry: | ||
timeout: 10m | ||
delay: 10s | ||
|
||
java: | ||
# Require following versions before e.g running AEM instances | ||
version_constraints: ">= 11, < 12" | ||
|
||
# Pre-installed local JDK dir | ||
# a) keep it empty to download open source Java automatically for current OS and architecture | ||
# b) set it to absolute path or to env var '[[.Env.JAVA_HOME]]' to indicate where closed source Java like Oracle is installed | ||
home_dir: "" | ||
|
||
# Auto-installed JDK options | ||
download: | ||
# Source URL with template vars support | ||
url: "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jdk_[[.Arch]]_[[.Os]]_hotspot_11.0.18_10.[[.ArchiveExt]]" | ||
# Map source URL template vars to be compatible with Adoptium Java | ||
replacements: | ||
# Var 'Os' (GOOS) | ||
"darwin": "mac" | ||
# Var 'Arch' (GOARCH) | ||
"x86_64": "x64" | ||
"amd64": "x64" | ||
"386": "x86-32" | ||
# enforce non-ARM Java as some AEM features are not working on ARM (e.g Scene7) | ||
"arm64": "x64" | ||
"aarch64": "x64" | ||
|
||
base: | ||
# Location of temporary files (downloaded AEM packages, etc) | ||
tmp_dir: aem/home/tmp | ||
# Location of supportive tools (downloaded Java, OakRun, unpacked AEM SDK) | ||
tool_dir: aem/home/opt | ||
|
||
log: | ||
level: info | ||
timestamp_format: "2006-01-02 15:04:05" | ||
full_timestamp: true | ||
|
||
input: | ||
format: yml | ||
file: STDIN | ||
|
||
output: | ||
format: text | ||
log: | ||
# File path of logs written especially when output format is different than 'text' | ||
file: aem/home/var/log/aem.log | ||
# Controls where outputs and logs should be written to when format is 'text' (console|file|both) | ||
mode: both |
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 |
---|---|---|
@@ -0,0 +1,98 @@ | ||
module github.com/wttech/pulumi-aem/examples/go_aws_ssm | ||
|
||
go 1.21 | ||
|
||
replace github.com/wttech/pulumi-aem/sdk => ../../sdk | ||
|
||
require ( | ||
github.com/pulumi/pulumi/sdk/v3 v3.117.0 | ||
github.com/wttech/pulumi-aem/sdk v0.1.1 | ||
) | ||
|
||
require ( | ||
dario.cat/mergo v1.0.0 // indirect | ||
github.com/Microsoft/go-winio v0.6.2 // indirect | ||
github.com/ProtonMail/go-crypto v1.0.0 // indirect | ||
github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect | ||
github.com/agext/levenshtein v1.2.3 // indirect | ||
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect | ||
github.com/atotto/clipboard v0.1.4 // indirect | ||
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect | ||
github.com/blang/semver v3.5.1+incompatible // indirect | ||
github.com/charmbracelet/bubbles v0.18.0 // indirect | ||
github.com/charmbracelet/bubbletea v0.26.3 // indirect | ||
github.com/charmbracelet/lipgloss v0.11.0 // indirect | ||
github.com/charmbracelet/x/ansi v0.1.1 // indirect | ||
github.com/charmbracelet/x/input v0.1.1 // indirect | ||
github.com/charmbracelet/x/term v0.1.1 // indirect | ||
github.com/charmbracelet/x/windows v0.1.2 // indirect | ||
github.com/cheggaaa/pb v1.0.29 // indirect | ||
github.com/cloudflare/circl v1.3.8 // indirect | ||
github.com/cyphar/filepath-securejoin v0.2.5 // indirect | ||
github.com/djherbis/times v1.6.0 // indirect | ||
github.com/emirpasic/gods v1.18.1 // indirect | ||
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect | ||
github.com/go-git/go-billy/v5 v5.5.0 // indirect | ||
github.com/go-git/go-git/v5 v5.12.0 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/glog v1.2.1 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/hcl/v2 v2.20.1 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect | ||
github.com/kevinburke/ssh_config v1.2.0 // indirect | ||
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mattn/go-localereader v0.0.1 // indirect | ||
github.com/mattn/go-runewidth v0.0.15 // indirect | ||
github.com/mitchellh/go-ps v1.0.0 // indirect | ||
github.com/mitchellh/go-wordwrap v1.0.1 // indirect | ||
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect | ||
github.com/muesli/cancelreader v0.2.2 // indirect | ||
github.com/muesli/termenv v0.15.2 // indirect | ||
github.com/opentracing/basictracer-go v1.1.0 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/pgavlin/fx v0.1.6 // indirect | ||
github.com/pjbgf/sha1cd v0.3.0 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/pkg/term v1.1.0 // indirect | ||
github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect | ||
github.com/pulumi/esc v0.8.3 // indirect | ||
github.com/rivo/uniseg v0.4.7 // indirect | ||
github.com/rogpeppe/go-internal v1.12.0 // indirect | ||
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect | ||
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect | ||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect | ||
github.com/skeema/knownhosts v1.2.2 // indirect | ||
github.com/spf13/cobra v1.8.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/stretchr/objx v0.2.0 // indirect | ||
github.com/texttheater/golang-levenshtein v1.0.1 // indirect | ||
github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect | ||
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect | ||
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect | ||
github.com/xanzy/ssh-agent v0.3.3 // indirect | ||
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect | ||
github.com/zclconf/go-cty v1.14.4 // indirect | ||
go.uber.org/atomic v1.11.0 // indirect | ||
golang.org/x/crypto v0.23.0 // indirect | ||
golang.org/x/exp v0.0.0-20240525044651-4c93da0ed11d // indirect | ||
golang.org/x/mod v0.17.0 // indirect | ||
golang.org/x/net v0.25.0 // indirect | ||
golang.org/x/sync v0.7.0 // indirect | ||
golang.org/x/sys v0.20.0 // indirect | ||
golang.org/x/term v0.20.0 // indirect | ||
golang.org/x/text v0.15.0 // indirect | ||
golang.org/x/tools v0.21.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240521202816-d264139d666e // indirect | ||
google.golang.org/grpc v1.64.0 // indirect | ||
google.golang.org/protobuf v1.34.1 // indirect | ||
gopkg.in/warnings.v0 v0.1.2 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
lukechampine.com/frand v1.4.2 // indirect | ||
) |
Oops, something went wrong.