diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52d3008..96769d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: push: branches: [ "main" ] pull_request: - branches: [ "main" ] + # branches: [ "main" ] env: CARGO_TERM_COLOR: always diff --git a/.gitignore b/.gitignore index bb1a0aa..e302fce 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,3 @@ /target /pippo.json /public -/test* diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2256168 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,282 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - access-token", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "access-token", + "print" + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + }, + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - download logs", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "log", + "save", + "--service", + "author", + "--log", + "aemaccess", + "--date", + "2024-10-18" + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + }, + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - tail logs", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "log", + "tail", + "--service", + "author", + "--log", + "aemaccess" + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + }, + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - domains list", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "domain", + "list", + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + }, + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - config init", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "domain", + "list", + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + }, + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - env list", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "env", + "list", + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + }, + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - execution list", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "-i", + "000000000", + "pipeline", + "list-executions", + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + }, + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - pipeline list", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "-i", + "000000000", + "pipeline", + "list", + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + }, + { + "type": "lldb", + "request": "launch", + "name": "Cargo Debug - program list", + "program": "${workspaceFolder}/target/debug/pippo", + "cargo": { + "args": [ + "build", + ] + }, + "args": [ + "-c", + "pippo.json", + "-p", + "00000", + "-e", + "00000", + "-i", + "000000000", + "program", + "list", + ], + "cwd": "${workspaceFolder}", + "sourceLanguages": [ + "rust" + ], + "preLaunchTask": "cargo build", + "stopOnEntry": false, + "env": {}, + "console": "integratedTerminal" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..dbbe892 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,19 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "cargo build", + "type": "shell", + "command": "cargo", + "args": [ + "build" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": ["$rustc"], + "detail": "Builds the Rust project" + } + ] +} \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 4026107..41e0fc8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -114,6 +114,19 @@ version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4" +[[package]] +name = "async-compression" +version = "0.4.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "103db485efc3e41214fe4fda9f3dbeae2eb9082f48fd236e6095627a9422066e" +dependencies = [ + "flate2", + "futures-core", + "memchr", + "pin-project-lite", + "tokio", +] + [[package]] name = "async-ctrlc" version = "1.2.0" @@ -260,19 +273,17 @@ dependencies = [ [[package]] name = "cargo-edit" -version = "0.12.3" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e561488ca0707c745b1e1935575e9391ef1dac55a6046c869bf4655820815b2a" +checksum = "9fbb9b25ce55ca914861b2a46ec9a5db439baaca373bd707f10e7c9de4d79fd6" dependencies = [ "anyhow", "cargo_metadata", - "clap 4.5.16", + "clap 4.5.20", "clap-cargo", "concolor-control", - "crates-index", "dunce", "env_proxy", - "git2", "hex", "home", "indexmap 1.9.3", @@ -283,6 +294,7 @@ dependencies = [ "serde_derive", "serde_json", "subprocess", + "tame-index", "termcolor", "toml", "toml_edit", @@ -318,8 +330,6 @@ version = "1.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72db2f7947ecee9b03b510377e8bb9077afa27176fdbff55c51027e976fdcc48" dependencies = [ - "jobserver", - "libc", "shlex", ] @@ -355,14 +365,14 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.4" +version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d20de3739b4fb45a17837824f40aa1769cc7655d7a83e68739a77fe7b30c87a" +checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" dependencies = [ "atty", "bitflags 1.3.2", - "clap_derive 3.2.4", - "clap_lex 0.2.2", + "clap_derive 3.2.25", + "clap_lex 0.2.4", "indexmap 1.9.3", "once_cell", "strsim 0.10.0", @@ -373,12 +383,12 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.16" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" +checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" dependencies = [ "clap_builder", - "clap_derive 4.5.13", + "clap_derive 4.5.18", ] [[package]] @@ -388,14 +398,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "383f21342a464d4af96e9a4cad22a0b4f2880d4a5b3bbf5c9654dd1d9a224ee4" dependencies = [ "anstyle", - "clap 4.5.16", + "clap 4.5.20", ] [[package]] name = "clap_builder" -version = "4.5.15" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" +checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" dependencies = [ "anstream", "anstyle", @@ -406,22 +416,22 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.2.4" +version = "3.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "026baf08b89ffbd332836002ec9378ef0e69648cbfadd68af7cd398ca5bf98f7" +checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008" dependencies = [ - "heck 0.4.0", + "heck 0.4.1", "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.81", + "syn 1.0.109", ] [[package]] name = "clap_derive" -version = "4.5.13" +version = "4.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" +checksum = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -431,9 +441,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.2.2" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5538cd660450ebeb4234cfecf8f2284b844ffc4c50531e66d584ad5b91293613" +checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" dependencies = [ "os_str_bytes", ] @@ -502,26 +512,6 @@ dependencies = [ "libc", ] -[[package]] -name = "crates-index" -version = "0.19.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3cab38e209d6ba8bd5b0d41c784ec63a5a9ea3adf866b820d377588960f1ded" -dependencies = [ - "git2", - "hex", - "home", - "memchr", - "rayon", - "rustc-hash 1.1.0", - "semver", - "serde", - "serde_derive", - "serde_json", - "smol_str", - "toml", -] - [[package]] name = "crc-any" version = "2.4.1" @@ -791,6 +781,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888" dependencies = [ "futures-core", + "futures-sink", ] [[package]] @@ -801,9 +792,9 @@ checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "futures-io" -version = "0.3.21" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" @@ -820,9 +811,9 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.17" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" @@ -837,9 +828,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-core", + "futures-io", + "futures-sink", "futures-task", + "memchr", "pin-project-lite", "pin-utils", + "slab", ] [[package]] @@ -871,21 +866,6 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" -[[package]] -name = "git2" -version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b989d6a7ca95a362cf2cfc5ad688b3a467be1f87e480b8dad07fee8c79b0044" -dependencies = [ - "bitflags 1.3.2", - "libc", - "libgit2-sys", - "log", - "openssl-probe", - "openssl-sys", - "url", -] - [[package]] name = "h2" version = "0.4.6" @@ -943,9 +923,9 @@ dependencies = [ [[package]] name = "heck" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "heck" @@ -982,9 +962,6 @@ name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -dependencies = [ - "serde", -] [[package]] name = "home" @@ -997,9 +974,9 @@ dependencies = [ [[package]] name = "http" -version = "1.0.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" dependencies = [ "bytes", "fnv", @@ -1078,6 +1055,7 @@ dependencies = [ "hyper", "hyper-util", "rustls", + "rustls-native-certs", "rustls-pki-types", "tokio", "tokio-rustls", @@ -1211,15 +1189,6 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" -[[package]] -name = "jobserver" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" -dependencies = [ - "libc", -] - [[package]] name = "js-sys" version = "0.3.55" @@ -1256,51 +1225,11 @@ version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" -[[package]] -name = "libgit2-sys" -version = "0.15.2+1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a80df2e11fb4a61f4ba2ab42dbe7f74468da143f1a75c74e11dee7c813f694fa" -dependencies = [ - "cc", - "libc", - "libssh2-sys", - "libz-sys", - "openssl-sys", - "pkg-config", -] - -[[package]] -name = "libssh2-sys" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dc8a030b787e2119a731f1951d6a773e2280c660f8ec4b0f5e1505a386e71ee" -dependencies = [ - "cc", - "libc", - "libz-sys", - "openssl-sys", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "libz-sys" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "linked-hash-map" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" +checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linux-raw-sys" @@ -1343,7 +1272,7 @@ dependencies = [ "des", "digest 0.9.0", "md-5", - "sha2", + "sha2 0.9.8", "tiger", ] @@ -1615,9 +1544,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.1.0" +version = "6.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa" +checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" [[package]] name = "parking" @@ -1710,7 +1639,7 @@ dependencies = [ "async-trait", "cargo-edit", "chrono", - "clap 3.2.4", + "clap 3.2.25", "colored", "env_logger", "flate2", @@ -1758,7 +1687,7 @@ dependencies = [ "proc-macro-error-attr", "proc-macro2", "quote", - "syn 1.0.81", + "syn 1.0.109", "version_check", ] @@ -1792,7 +1721,7 @@ dependencies = [ "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.0.0", + "rustc-hash", "rustls", "socket2", "thiserror", @@ -1809,7 +1738,7 @@ dependencies = [ "bytes", "rand", "ring", - "rustc-hash 2.0.0", + "rustc-hash", "rustls", "slab", "thiserror", @@ -1944,9 +1873,11 @@ version = "0.12.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f713147fbe92361e52392c73b8c9e48c04c6625bce969ef54dc901e58e042a7b" dependencies = [ + "async-compression", "base64 0.22.1", "bytes", "encoding_rs", + "futures-channel", "futures-core", "futures-util", "h2", @@ -1967,6 +1898,7 @@ dependencies = [ "pin-project-lite", "quinn", "rustls", + "rustls-native-certs", "rustls-pemfile", "rustls-pki-types", "serde", @@ -1977,6 +1909,7 @@ dependencies = [ "tokio", "tokio-native-tls", "tokio-rustls", + "tokio-util", "tower-service", "url", "wasm-bindgen", @@ -2007,12 +1940,6 @@ version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - [[package]] name = "rustc-hash" version = "2.0.0" @@ -2060,6 +1987,19 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls-native-certs" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcaf18a4f2be7326cd874a5fa579fae794320a0f388d365dca7e480e55f83f8a" +dependencies = [ + "openssl-probe", + "rustls-pemfile", + "rustls-pki-types", + "schannel", + "security-framework", +] + [[package]] name = "rustls-pemfile" version = "2.1.3" @@ -2236,6 +2176,17 @@ dependencies = [ "opaque-debug", ] +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + [[package]] name = "shlex" version = "1.3.0" @@ -2303,6 +2254,12 @@ version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + [[package]] name = "strsim" version = "0.10.0" @@ -2352,13 +2309,13 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" -version = "1.0.81" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2afee18b8beb5a596ecb4a2dce128c719b4ba399d34126b9e4396e3f9860966" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ "proc-macro2", "quote", - "unicode-xid", + "unicode-ident", ] [[package]] @@ -2402,6 +2359,32 @@ dependencies = [ "libc", ] +[[package]] +name = "tame-index" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d22e7b1003e6348cceb96e70f68523e22d2a298869ebe6d778a2207e45dc2f97" +dependencies = [ + "bytes", + "camino", + "crossbeam-channel", + "home", + "http", + "libc", + "memchr", + "rayon", + "reqwest", + "semver", + "serde", + "serde_json", + "sha2 0.10.8", + "smol_str", + "thiserror", + "tokio", + "toml-span", + "twox-hash", +] + [[package]] name = "tempfile" version = "3.5.0" @@ -2426,19 +2409,19 @@ dependencies = [ [[package]] name = "terminal_size" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef" dependencies = [ "rustix 0.38.25", - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] name = "textwrap" -version = "0.15.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" +checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" [[package]] name = "thiserror" @@ -2569,16 +2552,15 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.8" +version = "0.7.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" dependencies = [ "bytes", "futures-core", "futures-sink", "pin-project-lite", "tokio", - "tracing", ] [[package]] @@ -2593,6 +2575,15 @@ dependencies = [ "toml_edit", ] +[[package]] +name = "toml-span" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce0e1be49e3b9bf33d1a8077c081a3b7afcfc94e4bc1002c80376784381bc106" +dependencies = [ + "smallvec", +] + [[package]] name = "toml_datetime" version = "0.6.8" @@ -2668,6 +2659,16 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" +[[package]] +name = "twox-hash" +version = "1.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" +dependencies = [ + "cfg-if", + "static_assertions", +] + [[package]] name = "typenum" version = "1.15.0" @@ -2695,12 +2696,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-xid" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" - [[package]] name = "unsafe-libyaml" version = "0.2.11" diff --git a/Cargo.toml b/Cargo.toml index 170d495..20c4663 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,9 +13,9 @@ repository = "https://github.com/wcm-io-devops/pippo" [dependencies] async-ctrlc = "1.2.0" async-trait = "0.1.83" -cargo-edit = "0.12.3" +cargo-edit = "0.13.0" chrono = { version = "0.4.38", features = ["serde"] } -clap = { version = "3.2.4", features = ["derive", "yaml", "env"] } +clap = { version = "3.2.25", features = ["derive", "yaml", "env"] } colored = "2.1.0" env_logger = "0.11.5" flate2 = "1.0.34" @@ -25,6 +25,7 @@ log = "0.4.22" magic-crypt = "3.1.13" num = "0.4.3" serde = { version = "1.0.210", features = ["derive"] } + serde_json = "1.0.132" serde_yaml = "0.9.34" strum = "0.26.3" @@ -50,6 +51,6 @@ pre-build = [ ] [target.x86_64-apple-darwin.dependencies] -openssl = { version = "0.10", features = ["vendored"] } +openssl = { version = "0.10.68", features = ["vendored"] } diff --git a/src/environments.rs b/src/environments.rs index 3e666e0..2c33de1 100644 --- a/src/environments.rs +++ b/src/environments.rs @@ -1,7 +1,7 @@ use crate::client::{AdobeConnector, CloudManagerClient}; use crate::errors::throw_adobe_api_error; -use crate::models::environment::{Environment, EnvironmentsList}; -use crate::models::variables::EnvironmentsResponse; +use crate::models::environment::{Environment, EnvironmentsList, EnvironmentsResponse}; + use crate::HOST_NAME; use reqwest::{Error, Method}; use std::process; diff --git a/src/models/auth.rs b/src/models/auth.rs index c6995f6..9d2a5ee 100644 --- a/src/models/auth.rs +++ b/src/models/auth.rs @@ -17,3 +17,29 @@ pub struct JwtClaims { pub struct BearerResponse { pub access_token: String, } + +#[cfg(test)] +mod tests { + + use super::*; + use crate::models::tests::read_json_from_file; + + #[test] + fn deserialize_bearer_response() { + // Read the JSON contents of the file as an instance of `User`. + let vobj: BearerResponse = + read_json_from_file("test/test_auth_bearer_response.json").unwrap(); + assert_eq!(vobj.access_token, "ths.is.a.token"); + } + #[test] + fn deserialize_jwt_claims() { + let vobj: JwtClaims = read_json_from_file("test/test_auth_jwt_response.json").unwrap(); + + assert_eq!(vobj.aud, "https://ims-na1.adobelogin.com/c/4df5gh....."); + assert_eq!(vobj.exp, 1550001438); + assert_eq!(vobj.iss, "C74F69D7594880280.....@AdobeOrg"); + assert_eq!(vobj.sub, "6657031C5C095BB40A4.....@techacct.adobe.com"); + assert_eq!(vobj.scope_ent_aem_cloud_api, false); + assert_eq!(vobj.scope_ent_cloudmgr_sdk, true); + } +} diff --git a/src/models/basic.rs b/src/models/basic.rs deleted file mode 100644 index bc58247..0000000 --- a/src/models/basic.rs +++ /dev/null @@ -1,29 +0,0 @@ -use serde::{Deserialize, Serialize}; - -#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)] -#[serde(rename_all = "camelCase")] -pub struct Error { - pub code: String, - pub message: String, - pub field: String, -} - -#[derive(Debug, Deserialize, Serialize)] -#[serde(rename_all = "camelCase")] -pub struct Download { - #[serde(rename = "_links")] - pub links: Links, -} - -#[derive(Debug, Deserialize, Serialize)] -#[serde(rename_all = "camelCase")] -pub struct Links { - #[serde(rename = "http://ns.adobe.com/adobecloud/rel/logs/tail")] - pub http_ns_adobe_com_adobecloud_rel_logs_tail: Option, -} - -#[derive(Debug, Deserialize, Serialize)] -#[serde(rename_all = "camelCase")] -pub struct HttpNsAdobeComAdobecloudRelLogsTail { - pub href: String, -} diff --git a/src/models/config.rs b/src/models/config.rs index 8eb0e9d..431573e 100644 --- a/src/models/config.rs +++ b/src/models/config.rs @@ -1,6 +1,7 @@ use serde::{Deserialize, Serialize}; use super::variables::{EnvironmentVariable, PipelineVariable}; + /// Model for all programs that will be read from the configuration YAML #[derive(Debug, Deserialize, Serialize)] pub struct YamlConfig { @@ -36,3 +37,18 @@ pub struct PipelinesConfig { pub id: u32, pub variables: Vec, } + +#[cfg(test)] +mod tests { + use super::*; + use crate::models::tests::read_yaml_from_file; + + #[test] + fn deserialize_yaml_config() { + let vobj: YamlConfig = read_yaml_from_file("test/test_yaml_config.yml").unwrap(); + + assert_eq!(vobj.programs.len(), 1); + assert_eq!(vobj.programs.first().unwrap().id, 222222); + assert_eq!(vobj.programs.first().unwrap().pipelines.is_some(), true); + } +} diff --git a/src/models/domain.rs b/src/models/domain.rs index 5916fcb..6787548 100644 --- a/src/models/domain.rs +++ b/src/models/domain.rs @@ -50,5 +50,40 @@ pub struct CreateDomainResponse { pub type_field: String, pub status: i64, pub title: String, - pub errors: Option>, + pub errors: Option>, +} + +#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct Error { + pub code: String, + pub message: String, + pub field: String, +} + +#[cfg(test)] +mod tests { + use super::*; + use std::{fs::File, io::BufReader, path::Path}; + + fn read_user_from_file>( + path: P, + ) -> Result> { + // Open the file in read-only mode with buffer. + let file = File::open(path)?; + let reader = BufReader::new(file); + + // Read the JSON contents of the file as an instance of `User`. + let u = serde_json::from_reader(reader)?; + + // Return the `User`. + Ok(u) + } + + #[test] + fn deserialize_domain_response() { + // Read the JSON contents of the file as an instance of `User`. + let vobj: DomainResponse = read_user_from_file("test/test_domain_response.json").unwrap(); + assert_eq!(vobj.domain_list.list.len(), 20); + } } diff --git a/src/models/environment.rs b/src/models/environment.rs index 8796a39..c9bf80d 100644 --- a/src/models/environment.rs +++ b/src/models/environment.rs @@ -4,6 +4,12 @@ use serde::{Deserialize, Serialize}; pub struct EnvironmentsList { environments: Vec, } +/// Struct that holds the response when requesting /api/program/{id}/environments +#[derive(Deserialize, Serialize)] +pub struct EnvironmentsResponse { + #[serde(rename(deserialize = "_embedded", serialize = "_embedded"))] + pub environments_list: EnvironmentsList, +} /// Model for an environment and its relevant metadata #[derive(Debug, Deserialize, Serialize)] @@ -16,3 +22,21 @@ pub struct Environment { #[serde(rename(deserialize = "programId", serialize = "programId"))] program_id: String, } + +#[cfg(test)] +mod tests { + + use super::*; + use crate::models::tests::read_json_from_file; + + #[test] + fn deserialize_environments_response() { + let vobj: EnvironmentsResponse = + read_json_from_file("test/test_environment_response.json").unwrap(); + + assert_eq!( + vobj.environments_list.environments.first().unwrap().id, + "222222" + ); + } +} diff --git a/src/models/execution.rs b/src/models/execution.rs index 4b08313..288591a 100644 --- a/src/models/execution.rs +++ b/src/models/execution.rs @@ -31,3 +31,18 @@ pub struct Execution { pipeline_execution_mode: String, finished_at: Option, } + +#[cfg(test)] +mod tests { + + use super::*; + use crate::models::tests::read_json_from_file; + + #[test] + fn deserialize_execution_response() { + let vobj: ExecutionResponse = + read_json_from_file("test/test_execution_response.json").unwrap(); + + assert_eq!(vobj.execution_list.list.first().unwrap().id, "66666"); + } +} diff --git a/src/models/log.rs b/src/models/log.rs index 34fb1f2..6ac6e5a 100644 --- a/src/models/log.rs +++ b/src/models/log.rs @@ -3,7 +3,6 @@ use serde::{Deserialize, Serialize}; use strum_macros::{EnumString, IntoStaticStr}; -use super::basic::Download; /// Possible types that a service can have #[derive(Clone, Deserialize, Serialize, IntoStaticStr, EnumString)] #[strum(serialize_all = "lowercase")] @@ -70,3 +69,36 @@ pub struct LogTailResponse { pub struct LogTailList { pub downloads: Vec, } + +#[derive(Debug, Deserialize, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct Download { + #[serde(rename = "_links")] + pub links: Links, +} + +#[derive(Debug, Deserialize, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct Links { + #[serde(rename = "http://ns.adobe.com/adobecloud/rel/logs/tail")] + pub http_ns_adobe_com_adobecloud_rel_logs_tail: Option, +} + +#[derive(Debug, Deserialize, Serialize)] +#[serde(rename_all = "camelCase")] +pub struct HttpNsAdobeComAdobecloudRelLogsTail { + pub href: String, +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::models::tests::read_json_from_file; + + #[test] + fn deserialize_logs_response() { + let vobj: LogsResponse = read_json_from_file("test/test_log_response.json").unwrap(); + + assert_eq!(vobj.embedded.downloads.len(), 3); + } +} diff --git a/src/models/mod.rs b/src/models/mod.rs index e6ca4ee..a7796cd 100644 --- a/src/models/mod.rs +++ b/src/models/mod.rs @@ -1,5 +1,4 @@ pub mod auth; -pub mod basic; pub mod config; pub mod domain; pub mod environment; @@ -8,3 +7,44 @@ pub mod log; pub mod pipeline; pub mod program; pub mod variables; + +#[cfg(test)] +mod tests { + use serde::de::DeserializeOwned; + use std::fs::File; + use std::io::BufReader; + use std::path::Path; + + #[cfg(test)] + pub fn read_json_from_file(path: P) -> Result> + where + T: DeserializeOwned, // Verifies,that Type T can be deserialized + P: AsRef, // reference to path + { + // opens teh file in read-mode with buffer + let file = File::open(path)?; + let reader = BufReader::new(file); + + // read the json content int instance of type T + let value = serde_json::from_reader(reader)?; + + // return deserialized object. + Ok(value) + } + #[cfg(test)] + pub fn read_yaml_from_file(path: P) -> Result> + where + T: DeserializeOwned, // Verifies,that Type T can be deserialized + P: AsRef, // reference to path + { + // opens teh file in read-mode with buffer + let file = File::open(path)?; + let reader = BufReader::new(file); + + // read the json content int instance of type T + let value = serde_yaml::from_reader(reader)?; + + // return deserialized object. + Ok(value) + } +} diff --git a/src/models/pipeline.rs b/src/models/pipeline.rs index e5ff198..b842738 100644 --- a/src/models/pipeline.rs +++ b/src/models/pipeline.rs @@ -27,3 +27,17 @@ pub struct Pipeline { } // ------------------------------------------------------------------------------------------------- + +#[cfg(test)] +mod tests { + use super::*; + use crate::models::tests::read_json_from_file; + + #[test] + fn deserialize_program_response() { + let vobj: PipelinesResponse = + read_json_from_file("test/test_pipeline_response.json").unwrap(); + + assert_eq!(vobj.pipelines_list.pipelines.len(), 5); + } +} diff --git a/src/models/program.rs b/src/models/program.rs index cb8f232..873a99a 100644 --- a/src/models/program.rs +++ b/src/models/program.rs @@ -26,3 +26,18 @@ pub struct Program { enabled: bool, status: String, } + +#[cfg(test)] +mod tests { + use crate::models::tests::read_json_from_file; + + use super::*; + + #[test] + fn deserialize_bearer_response() { + let vobj: ProgramsResponse = + read_json_from_file("test/test_programs_response.json").unwrap(); + + assert_eq!(vobj.programs_list.programs.first().unwrap().id, "22222"); + } +} diff --git a/src/models/variables.rs b/src/models/variables.rs index 64133ca..1aa98ad 100644 --- a/src/models/variables.rs +++ b/src/models/variables.rs @@ -1,13 +1,12 @@ -use serde::{Deserialize, Serialize}; +use serde::de::Visitor; +use serde::{de, Deserialize, Deserializer, Serialize}; use std::fmt; use strum_macros::{EnumString, IntoStaticStr}; -use super::environment::EnvironmentsList; - /// Model for common cloud manager variables /// Possible types that a variable can have -#[derive(Clone, Debug, Deserialize, Serialize)] +#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub enum VariableType { String, @@ -30,7 +29,7 @@ pub struct EnvironmentVariable { } /// Possible service types that an environment variable can have -#[derive(Clone, Debug, Deserialize, Serialize, IntoStaticStr, EnumString, PartialEq, Eq)] +#[derive(Clone, Debug, Serialize, IntoStaticStr, EnumString, PartialEq, Eq)] #[strum(serialize_all = "lowercase")] #[serde(rename_all = "lowercase")] pub enum EnvironmentVariableServiceType { @@ -55,6 +54,38 @@ fn environment_variable_skip_serializing(t: &EnvironmentVariableServiceType) -> *t == EnvironmentVariableServiceType::All } +impl<'de> serde::Deserialize<'de> for EnvironmentVariableServiceType { + fn deserialize(deserializer: D) -> Result + where + D: Deserializer<'de>, + { + struct EnvVarVisitor; + + impl<'de> Visitor<'de> for EnvVarVisitor { + type Value = EnvironmentVariableServiceType; + + fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { + formatter.write_str("a string representing an environment variable service type") + } + + fn visit_str(self, value: &str) -> Result + where + E: de::Error, + { + match value { + "" => Ok(EnvironmentVariableServiceType::All), // Handle empty string as `All` + "author" => Ok(EnvironmentVariableServiceType::Author), + "publish" => Ok(EnvironmentVariableServiceType::Publish), + "preview" => Ok(EnvironmentVariableServiceType::Preview), + _ => Ok(EnvironmentVariableServiceType::Invalid), + } + } + } + + deserializer.deserialize_str(EnvVarVisitor) + } +} + impl EnvironmentVariableServiceType { fn default() -> Self { EnvironmentVariableServiceType::All @@ -102,13 +133,6 @@ impl PipelineVariableServiceType { } } -/// Struct that holds the response when requesting /api/program/{id}/environments -#[derive(Deserialize, Serialize)] -pub struct EnvironmentsResponse { - #[serde(rename(deserialize = "_embedded", serialize = "_embedded"))] - pub environments_list: EnvironmentsList, -} - /// Struct to serialize the response of requesting /api/program/{id}/environment/{id}/variables #[derive(Debug, Deserialize, Serialize)] pub struct EnvironmentVariablesResponse { @@ -134,3 +158,146 @@ pub struct EnvironmentVariablesList { pub struct PipelineVariablesList { pub variables: Vec, } + +#[cfg(test)] +mod tests { + use super::*; + use crate::models::tests::read_json_from_file; + + #[test] + fn deserialize_all_service_environment_variable() { + let vobj: EnvironmentVariablesResponse = + read_json_from_file("test/variables/environment_variables_response.json").unwrap(); + + let under_test: &EnvironmentVariable = vobj.variables_list.variables.get(0).unwrap(); + assert_eq!(under_test.service, EnvironmentVariableServiceType::All,); + assert_eq!(under_test.name, "VARIABLE",); + assert_eq!( + under_test + .value + .clone() + .unwrap_or("default string".to_string()), + "no service specified", + ); + assert_eq!(under_test.variable_type, VariableType::String,); + } + + #[test] + fn deserialize_empty_service_environment_variable() { + let vobj: EnvironmentVariablesResponse = + read_json_from_file("test/variables/environment_variables_response.json").unwrap(); + + let under_test: &EnvironmentVariable = vobj.variables_list.variables.get(1).unwrap(); + assert_eq!(under_test.service, EnvironmentVariableServiceType::All,); + assert_eq!(under_test.name, "SECRET_VARIABLE",); + assert_eq!( + under_test.value.clone().unwrap_or("no_value".to_string()), + "no_value", + ); + assert_eq!(under_test.variable_type, VariableType::SecretString,); + } + + #[test] + fn deserialize_publish_service_environment_variable() { + let vobj: EnvironmentVariablesResponse = + read_json_from_file("test/variables/environment_variables_response.json").unwrap(); + + let under_test: &EnvironmentVariable = vobj.variables_list.variables.get(3).unwrap(); + assert_eq!(under_test.service, EnvironmentVariableServiceType::Publish,); + assert_eq!(under_test.name, "VARIABLE",); + assert_eq!( + under_test.value.clone().unwrap_or("no_value".to_string()), + "publish variable", + ); + assert_eq!(under_test.variable_type, VariableType::String,); + } + + #[test] + fn deserialize_author_service_environment_variable() { + let vobj: EnvironmentVariablesResponse = + read_json_from_file("test/variables/environment_variables_response.json").unwrap(); + + let under_test: &EnvironmentVariable = vobj.variables_list.variables.get(4).unwrap(); + assert_eq!(under_test.service, EnvironmentVariableServiceType::Author,); + assert_eq!(under_test.name, "SECRET_VARIABLE",); + assert_eq!( + under_test.value.clone().unwrap_or("no_value".to_string()), + "no_value", + ); + assert_eq!(under_test.variable_type, VariableType::SecretString,); + } + + #[test] + fn deserialize_preview_service_environment_variable() { + let vobj: EnvironmentVariablesResponse = + read_json_from_file("test/variables/environment_variables_response.json").unwrap(); + + let under_test: &EnvironmentVariable = vobj.variables_list.variables.get(2).unwrap(); + assert_eq!(under_test.service, EnvironmentVariableServiceType::Preview,); + assert_eq!(under_test.name, "VARIABLE",); + assert_eq!( + under_test.value.clone().unwrap_or("no_value".to_string()), + "preview variable", + ); + assert_eq!(under_test.variable_type, VariableType::String,); + } + #[test] + fn deserialize_invalid_service_environment_variable() { + let vobj: EnvironmentVariablesResponse = + read_json_from_file("test/variables/environment_variables_response.json").unwrap(); + + let under_test: &EnvironmentVariable = vobj.variables_list.variables.get(7).unwrap(); + assert_eq!(under_test.service, EnvironmentVariableServiceType::Invalid,); + assert_eq!(under_test.name, "INVALID_SERVICE_VARIABLE",); + assert_eq!( + under_test.value.clone().unwrap_or("no_value".to_string()), + "invalid service variable", + ); + assert_eq!(under_test.variable_type, VariableType::String,); + } + + #[test] + fn serialize_author_service_environment_variable() { + let variable: EnvironmentVariable = EnvironmentVariable { + name: String::from("authorVarName"), + variable_type: VariableType::String, + service: EnvironmentVariableServiceType::All, + value: Some(String::from("authorVarValue")), + }; + let under_test: String = serde_json::to_string(&variable).unwrap(); + assert_eq!( + under_test, + "{\"name\":\"authorVarName\",\"value\":\"authorVarValue\",\"type\":\"string\"}", + ); + } + + #[test] + fn serialize_publish_service_environment_variable() { + let variable: EnvironmentVariable = EnvironmentVariable { + name: String::from("publishVarName"), + variable_type: VariableType::SecretString, + service: EnvironmentVariableServiceType::Publish, + value: Some(String::from("publishValue")), + }; + let under_test: String = serde_json::to_string(&variable).unwrap(); + assert_eq!( + under_test, + "{\"name\":\"publishVarName\",\"value\":\"publishValue\",\"type\":\"secretString\",\"service\":\"publish\"}", + ); + } + + #[test] + fn serialize_preview_service_environment_variable() { + let variable: EnvironmentVariable = EnvironmentVariable { + name: String::from("previewVarName"), + variable_type: VariableType::String, + service: EnvironmentVariableServiceType::Preview, + value: Some(String::from("previewValue")), + }; + let under_test: String = serde_json::to_string(&variable).unwrap(); + assert_eq!( + under_test, + "{\"name\":\"previewVarName\",\"value\":\"previewValue\",\"type\":\"string\",\"service\":\"preview\"}", + ); + } +} diff --git a/test/test_auth_bearer_response.json b/test/test_auth_bearer_response.json new file mode 100644 index 0000000..78366e2 --- /dev/null +++ b/test/test_auth_bearer_response.json @@ -0,0 +1,5 @@ +{ + "access_token": "ths.is.a.token", + "token_type": "bearer", + "expires_in": 14 +} \ No newline at end of file diff --git a/test/test_auth_jwt_response.json b/test/test_auth_jwt_response.json new file mode 100644 index 0000000..2eb9ecf --- /dev/null +++ b/test/test_auth_jwt_response.json @@ -0,0 +1,9 @@ +{ + "exp": 1550001438, + "iss": "C74F69D7594880280.....@AdobeOrg", + "sub": "6657031C5C095BB40A4.....@techacct.adobe.com", + "https://ims-na1.adobelogin.com/s/ent_dataservices_sdk": true, + "aud": "https://ims-na1.adobelogin.com/c/4df5gh.....", + "scope_ent_cloudmgr_sdk":true, + "scope_ent_aem_cloud_api": false + } \ No newline at end of file diff --git a/test/test_domain_config.json b/test/test_domain_config.json new file mode 100644 index 0000000..5aff4af --- /dev/null +++ b/test/test_domain_config.json @@ -0,0 +1,36 @@ +{ + "programs": [ + { + "id": 1, + "environments": [ + { + "id": 2, + "domains": [ + { + "domainname": "www.demo.de", + "certificateId": 12 + } + ] + }, + { + "id": 2, + "environments": [ + { + "id": 3, + "domains": [ + { + "domainname": "www.demo.dev", + "certificateId": 10 + }, + { + "domainname": "www.demo2.dev", + "certificateId": 11 + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/test/test_domain_response.json b/test/test_domain_response.json new file mode 100644 index 0000000..2ea4e49 --- /dev/null +++ b/test/test_domain_response.json @@ -0,0 +1,1073 @@ +{ + "_links": { + "next": { + "href": "/api/program/00000/domainNames?start=20&limit=20" + }, + "page": { + "href": "/api/program/00000/domainNames" + }, + "prev": { + "href": "/api/program/00000/domainNames?start=0&limit=20" + }, + "self": { + "href": "/api/program/00000/domainNames", + "templated": false + } + }, + "_embedded": { + "domainNames": [ + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "www.demo.de", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=www.demo.ee/00000/54321/a9730213-9620-4e86-bace-fb65f3d41b1a", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2024-06-05T05:11:57.240+0000", + "updatedAt": "2024-06-06T07:58:49.110+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "demo.ee", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=demo.ee/00000/54321/13c961ee-3944-493e-8a36-5a0cc407fdff", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2024-06-05T05:10:43.977+0000", + "updatedAt": "2024-06-06T07:58:49.448+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "www.demo.de", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=www.demo.uy/00000/54321/7d8b0a71-43ac-43da-b5dc-c0acaf43094a", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2024-06-05T05:09:32.125+0000", + "updatedAt": "2024-06-06T07:59:18.668+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "demo.uy", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=demo.uy/00000/54321/11162895-a94e-4ad6-9a7f-34becf27b255", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2024-06-05T05:08:48.624+0000", + "updatedAt": "2024-06-06T07:58:49.248+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "ca.aem-prod.demo.com", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=ca.aem-prod.demo.com/00000/54321/4300735b-8a17-486e-ade0-b5b702d51fad", + "dnsZone": "aem-prod.demo.com.", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 1000, + "certificateName": "aem-prod.demo.com", + "certificateExpireAt": "2025-06-05T23:59:59.000+0000", + "createdAt": "2024-04-18T06:43:17.022+0000", + "updatedAt": "2024-06-05T14:57:43.262+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "www.demo.de", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=www.ve.demo.com/00000/54321/1860e248-01b1-4f66-b573-d1f28334a53c", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-09-12T07:19:06.422+0000", + "updatedAt": "2024-06-04T01:06:29.594+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "ve.demo.com", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=ve.demo.com/00000/54321/a590c409-b5b4-4c2d-8fd7-dae7256e48e9", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-09-12T07:18:13.840+0000", + "updatedAt": "2024-06-04T01:06:29.594+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "ee.aem-prod.demo.com", + "status": "not_verified", + "dnsTxtRecord": "adobe-aem-verification=ee.aem-prod.demo.com/00000/54321/7805e818-65e4-4c68-9ce0-a40a14023655", + "dnsZone": "aem-prod.demo.com.", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 1000, + "certificateName": "aem-prod.demo.com", + "certificateExpireAt": "2025-06-05T23:59:59.000+0000", + "createdAt": "2023-08-28T05:48:52.373+0000", + "updatedAt": "2024-04-26T12:30:53.536+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "www.demo.de", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=www.atlas.demo.com/00000/54321/5d9e5d37-94e9-4092-8cea-c6cb76bb3a22", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-08-17T07:13:20.762+0000", + "updatedAt": "2024-06-04T01:06:29.592+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "atlas.demo.com", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=atlas.demo.com/00000/54321/954d354b-f489-45d6-a8fe-868025bdca09", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-08-17T07:12:52.562+0000", + "updatedAt": "2024-06-04T01:06:29.593+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "www.demo.de", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=www.india.demo.com/00000/54321/0798acaf-c4d2-4fb8-8d17-d37c40cb5759", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-08-17T07:11:54.317+0000", + "updatedAt": "2024-06-04T01:06:29.592+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "india.demo.com", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=india.demo.com/00000/54321/02ff6b26-a77a-479e-8fc2-33f3ca3d6165", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-08-17T07:11:19.903+0000", + "updatedAt": "2024-06-04T01:06:29.593+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "www.demo.de", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=www.demo.com.ve/00000/54321/f39170a6-3575-4a71-99dc-c826131de085", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-08-16T08:03:20.507+0000", + "updatedAt": "2024-06-04T01:06:29.594+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "demo.com.ve", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=demo.com.ve/00000/54321/a5d3a829-2eec-4668-8bc2-a614756a2397", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-08-16T08:02:24.496+0000", + "updatedAt": "2024-06-04T01:06:29.594+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "www.demo.de", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=www.ca.demo.com/00000/54321/766eeec8-6500-4996-a54b-bf97bd519e9d", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-08-01T04:23:57.621+0000", + "updatedAt": "2024-06-04T01:06:29.592+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "ca.demo.com", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=ca.demo.com/00000/54321/28e7a93b-151e-467b-9f8c-aad5bf0dcc0e", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-07-31T10:33:06.924+0000", + "updatedAt": "2024-06-04T01:06:29.593+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "sa.demo.com", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=sa.demo.com/00000/54321/79a99436-861e-4f91-9a5c-241f7c21f950", + "dnsZone": "demo.com.", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-03-24T05:46:29.795+0000", + "updatedAt": "2024-06-04T01:06:29.592+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "ve.aem-prod.demo.com", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=ve.aem-prod.demo.com/00000/54321/df41a6fc-cc43-4137-8d9b-e987e43a9104", + "dnsZone": "aem-prod.demo.com.", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 1000, + "certificateName": "aem-prod.demo.com", + "certificateExpireAt": "2025-06-05T23:59:59.000+0000", + "createdAt": "2023-02-20T09:45:59.548+0000", + "updatedAt": "2024-06-05T14:57:43.262+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "www.demo.de", + "status": "ready", + "type": "CNAME", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=www.regis.demo.com/00000/54321/b6ac702e-c966-4823-9e43-4a0682ab1b7e", + "dnsZone": "demo.com.", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-02-06T07:09:18.916+0000", + "updatedAt": "2024-06-04T01:06:29.593+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/domainName/certificates": { + "href": "/api/program/00000/certificates", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/deploy": { + "href": "/api/program/00000/domainName/000000/deploy", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/domainName/verify": { + "href": "/api/program/00000/domainName/000000/verify", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/00000/environment/000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/domainName/000000", + "templated": false + } + }, + "id": 1, + "name": "regis.demo.com", + "status": "ready", + "type": "A", + "dnsResolution": [ + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + }, + { + "target": "127.0.0.1", + "detected": true + } + ], + "dnsTxtRecord": "adobe-aem-verification=regis.demo.com/00000/54321/8283beb6-a10a-4963-9ecb-025d9fd424e4", + "environmentId": 54321, + "environmentName": "demo-prod", + "tier": "publish", + "certificateId": 10253, + "certificateName": "group.demo.com", + "certificateExpireAt": "2025-07-01T23:59:59.000+0000", + "createdAt": "2023-02-06T07:04:38.538+0000", + "updatedAt": "2024-06-04T01:06:29.593+0000" + } + ] + }, + "_totalNumberOfItems": 161, + "_page": { + "limit": 20, + "next": 20, + "prev": 0 + } +} \ No newline at end of file diff --git a/test/test_environment_response.json b/test/test_environment_response.json new file mode 100644 index 0000000..a54360c --- /dev/null +++ b/test/test_environment_response.json @@ -0,0 +1,498 @@ +{ + "_links": { + "self": { + "href": "/api/program/11111/environments", + "templated": false + } + }, + "_embedded": { + "environments": [ + { + "_links": { + "http: //ns.adobe.com/adobecloud/rel/advancedNetworking": { + "href": "/api/program/11111/environment/88888/advancedNetworking", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/author": { + "href": "https://author-p11111-e222222.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/developerConsole": { + "href": "https://dev-console-ns-team-aem-cm-prd-n88888.ethos13-prod-nld2.dev.adobeaemcloud.com/#release-cm-p11111-e222222" + }, + "http://ns.adobe.com/adobecloud/rel/environment/domainNames": { + "href": "/api/program/11111/environment/88888/domainNames", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/logs": { + "href": "/api/program/11111/environment/88888/logs?service={service}&name={name}&days={days}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/11111/pipeline/999999", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/preview": { + "href": "https://preview-p11111-e222222.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/11111", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/publish": { + "href": "https://publish-p11111-e222222.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/regionDeployments": { + "href": "/api/program/11111/environment/88888/regionDeployments", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/11111/environment/88888/variables", + "templated": false + }, + "self": { + "href": "/api/program/11111/environment/88888", + "templated": false + } + }, + "id": "222222", + "programId": "11111", + "name": "demo-prod", + "description": "production environment for demo ", + "type": "prod", + "status": "ready", + "availableLogOptions": [ + { + "service": "preview_dispatcher", + "name": "httpdaccess" + }, + { + "service": "preview_dispatcher", + "name": "httpderror" + }, + { + "service": "preview_dispatcher", + "name": "aemdispatcher" + }, + { + "service": "author", + "name": "aemaccess" + }, + { + "service": "author", + "name": "aemerror" + }, + { + "service": "author", + "name": "aemrequest" + }, + { + "service": "author", + "name": "cdn" + }, + { + "service": "publish", + "name": "aemaccess" + }, + { + "service": "publish", + "name": "aemerror" + }, + { + "service": "publish", + "name": "aemrequest" + }, + { + "service": "publish", + "name": "cdn" + }, + { + "service": "preview_publish", + "name": "aemaccess" + }, + { + "service": "preview_publish", + "name": "aemerror" + }, + { + "service": "preview_publish", + "name": "aemrequest" + }, + { + "service": "preview_publish", + "name": "cdn" + }, + { + "service": "dispatcher", + "name": "httpdaccess" + }, + { + "service": "dispatcher", + "name": "httpderror" + }, + { + "service": "dispatcher", + "name": "aemdispatcher" + } + ], + "region": "nld2", + "additionalPublishMinReleaseId": 12142 + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/advancedNetworking": { + "href": "/api/program/11111/environment/88888/advancedNetworking", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/author": { + "href": "https://author-p11111-e33333.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/developerConsole": { + "href": "https://dev-console-ns-team-aem-cm-prd-n88888.ethos14-prod-nld2.dev.adobeaemcloud.com/#release-cm-p11111-e33333" + }, + "http://ns.adobe.com/adobecloud/rel/environment/domainNames": { + "href": "/api/program/11111/environment/88888/domainNames", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/logs": { + "href": "/api/program/11111/environment/88888/logs?service={service}&name={name}&days={days}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/11111/pipeline/999999", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/preview": { + "href": "https://preview-p11111-e33333.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/11111", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/publish": { + "href": "https://publish-p11111-e33333.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/regionDeployments": { + "href": "/api/program/11111/environment/88888/regionDeployments", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/11111/environment/88888/variables", + "templated": false + }, + "self": { + "href": "/api/program/11111/environment/88888", + "templated": false + } + }, + "id": "33333", + "programId": "11111", + "name": "development", + "description": "", + "type": "dev", + "status": "ready", + "availableLogOptions": [ + { + "service": "preview_dispatcher", + "name": "httpdaccess" + }, + { + "service": "preview_dispatcher", + "name": "httpderror" + }, + { + "service": "preview_dispatcher", + "name": "aemdispatcher" + }, + { + "service": "author", + "name": "aemaccess" + }, + { + "service": "author", + "name": "aemerror" + }, + { + "service": "author", + "name": "aemrequest" + }, + { + "service": "author", + "name": "cdn" + }, + { + "service": "publish", + "name": "aemaccess" + }, + { + "service": "publish", + "name": "aemerror" + }, + { + "service": "publish", + "name": "aemrequest" + }, + { + "service": "publish", + "name": "cdn" + }, + { + "service": "preview_publish", + "name": "aemaccess" + }, + { + "service": "preview_publish", + "name": "aemerror" + }, + { + "service": "preview_publish", + "name": "aemrequest" + }, + { + "service": "preview_publish", + "name": "cdn" + }, + { + "service": "dispatcher", + "name": "httpdaccess" + }, + { + "service": "dispatcher", + "name": "httpderror" + }, + { + "service": "dispatcher", + "name": "aemdispatcher" + } + ], + "region": "nld2", + "additionalPublishMinReleaseId": 12142 + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/advancedNetworking": { + "href": "/api/program/11111/environment/88888/advancedNetworking", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/author": { + "href": "https://author-p11111-e0000000.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/developerConsole": { + "href": "https://dev-console-ns-team-aem-cm-prd-n88888.ethos14-prod-deu6.dev.adobeaemcloud.com/#release-cm-p11111-e0000000" + }, + "http://ns.adobe.com/adobecloud/rel/environment/domainNames": { + "href": "/api/program/11111/environment/88888/domainNames", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/logs": { + "href": "/api/program/11111/environment/88888/logs?service={service}&name={name}&days={days}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/11111", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/publish": { + "href": "https://publish-p11111-e0000000.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/regionDeployments": { + "href": "/api/program/11111/environment/88888/regionDeployments", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/11111/environment/88888/variables", + "templated": false + }, + "self": { + "href": "/api/program/11111/environment/88888", + "templated": false + } + }, + "id": "1240104", + "programId": "11111", + "name": "demo-rde", + "description": "", + "type": "rde", + "status": "ready", + "availableLogOptions": [ + { + "service": "author", + "name": "aemaccess" + }, + { + "service": "author", + "name": "aemerror" + }, + { + "service": "author", + "name": "aemrequest" + }, + { + "service": "author", + "name": "cdn" + }, + { + "service": "publish", + "name": "aemaccess" + }, + { + "service": "publish", + "name": "aemerror" + }, + { + "service": "publish", + "name": "aemrequest" + }, + { + "service": "publish", + "name": "cdn" + }, + { + "service": "dispatcher", + "name": "httpdaccess" + }, + { + "service": "dispatcher", + "name": "httpderror" + }, + { + "service": "dispatcher", + "name": "aemdispatcher" + } + ], + "region": "deu6", + "additionalPublishMinReleaseId": 12142 + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/advancedNetworking": { + "href": "/api/program/11111/environment/88888/advancedNetworking", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/author": { + "href": "https://author-p11111-e117454.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/developerConsole": { + "href": "https://dev-console-ns-team-aem-cm-prd-n88888.ethos14-prod-nld2.dev.adobeaemcloud.com/#release-cm-p11111-e117454" + }, + "http://ns.adobe.com/adobecloud/rel/environment/domainNames": { + "href": "/api/program/11111/environment/88888/domainNames", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/logs": { + "href": "/api/program/11111/environment/88888/logs?service={service}&name={name}&days={days}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/11111/pipeline/999999", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/preview": { + "href": "https://preview-p11111-e117454.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/11111", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/publish": { + "href": "https://publish-p11111-e117454.adobeaemcloud.com" + }, + "http://ns.adobe.com/adobecloud/rel/regionDeployments": { + "href": "/api/program/11111/environment/88888/regionDeployments", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/11111/environment/88888/variables", + "templated": false + }, + "self": { + "href": "/api/program/11111/environment/88888", + "templated": false + } + }, + "id": "117454", + "programId": "11111", + "name": "demo-stage", + "description": "stage environment for demo ", + "type": "stage", + "status": "ready", + "availableLogOptions": [ + { + "service": "preview_dispatcher", + "name": "httpdaccess" + }, + { + "service": "preview_dispatcher", + "name": "httpderror" + }, + { + "service": "preview_dispatcher", + "name": "aemdispatcher" + }, + { + "service": "author", + "name": "aemaccess" + }, + { + "service": "author", + "name": "aemerror" + }, + { + "service": "author", + "name": "aemrequest" + }, + { + "service": "author", + "name": "cdn" + }, + { + "service": "publish", + "name": "aemaccess" + }, + { + "service": "publish", + "name": "aemerror" + }, + { + "service": "publish", + "name": "aemrequest" + }, + { + "service": "publish", + "name": "cdn" + }, + { + "service": "preview_publish", + "name": "aemaccess" + }, + { + "service": "preview_publish", + "name": "aemerror" + }, + { + "service": "preview_publish", + "name": "aemrequest" + }, + { + "service": "preview_publish", + "name": "cdn" + }, + { + "service": "dispatcher", + "name": "httpdaccess" + }, + { + "service": "dispatcher", + "name": "httpderror" + }, + { + "service": "dispatcher", + "name": "aemdispatcher" + } + ], + "region": "nld2", + "additionalPublishMinReleaseId": 12142 + } + ] + }, + "_totalNumberOfItems": 4 +} \ No newline at end of file diff --git a/test/test_execution_response.json b/test/test_execution_response.json new file mode 100644 index 0000000..25807df --- /dev/null +++ b/test/test_execution_response.json @@ -0,0 +1,4754 @@ +{ + "_links": { + "next": { + "href": "/api/program/00000/pipeline/100000000/executions?start=20&limit=20" + }, + "page": { + "href": "/api/program/00000/pipeline/100000000/executions?start={start}&limit={limit}", + "templated": true + }, + "prev": { + "href": "/api/program/00000/pipeline/100000000/executions?start=0&limit=20" + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/executions?start=0&limit=20" + } + }, + "_embedded": { + "executions": [ + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-10-14T12:01:04.751+0000", + "finishedAt": "2024-10-14T12:01:07.013+0000", + "updatedAt": "2024-10-14T12:01:07.017+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-10-14T12:01:08.701+0000", + "finishedAt": "2024-10-14T12:09:42.934+0000", + "updatedAt": "2024-10-14T12:09:42.938+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-10-14T12:09:52.302+0000", + "finishedAt": "2024-10-14T12:09:49.625+0000", + "updatedAt": "2024-10-14T12:09:52.306+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-10-14T12:09:54.792+0000", + "finishedAt": "2024-10-14T12:09:56.522+0000", + "updatedAt": "2024-10-14T12:09:56.529+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-14T12:10:03.075+0000", + "finishedAt": "2024-10-14T12:28:49.358+0000", + "updatedAt": "2024-10-14T12:28:50.949+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-10-14T12:10:13.865+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-10-14T12:15:16.239+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-10-14T12:15:26.006+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-10-14T12:21:24.180+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-10-14T12:25:14.692+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-14T12:28:57.994+0000", + "finishedAt": "2024-10-14T12:31:42.248+0000", + "updatedAt": "2024-10-14T12:31:42.254+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-14T12:31:47.837+0000", + "finishedAt": "2024-10-14T12:38:09.521+0000", + "updatedAt": "2024-10-14T12:38:09.528+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-14T12:38:14.873+0000", + "finishedAt": "2024-10-14T12:38:19.973+0000", + "updatedAt": "2024-10-14T12:38:19.981+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "MANUAL", + "user": "80951EAC65103BC30A495CD0@7f521e9465103bc1495fee.e", + "status": "FINISHED", + "createdAt": "2024-10-14T12:01:01.104+0000", + "updatedAt": "2024-10-14T12:38:39.536+0000", + "finishedAt": "2024-10-14T12:38:39.510+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-10-08T10:28:08.721+0000", + "finishedAt": "2024-10-08T10:28:11.173+0000", + "updatedAt": "2024-10-08T10:28:11.176+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-10-08T10:28:13.773+0000", + "finishedAt": "2024-10-08T10:36:30.076+0000", + "updatedAt": "2024-10-08T10:39:43.754+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-10-08T10:36:30.077+0000", + "finishedAt": "2024-10-08T10:39:50.258+0000", + "updatedAt": "2024-10-08T10:39:52.943+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-10-08T10:39:55.179+0000", + "finishedAt": "2024-10-08T10:39:56.991+0000", + "updatedAt": "2024-10-08T10:39:56.999+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-08T10:40:03.048+0000", + "finishedAt": "2024-10-08T10:56:58.509+0000", + "updatedAt": "2024-10-08T10:57:07.631+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-10-08T10:40:16.487+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-10-08T10:42:24.507+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-10-08T10:42:37.959+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-10-08T10:49:31.301+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-10-08T10:53:22.651+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-08T10:57:15.562+0000", + "finishedAt": "2024-10-08T11:00:56.696+0000", + "updatedAt": "2024-10-08T11:00:56.705+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-08T11:01:04.341+0000", + "finishedAt": "2024-10-08T11:08:19.260+0000", + "updatedAt": "2024-10-08T11:08:19.265+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-08T11:08:26.032+0000", + "finishedAt": "2024-10-08T11:08:31.013+0000", + "updatedAt": "2024-10-08T11:08:31.019+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-10-08T10:28:03.977+0000", + "updatedAt": "2024-10-08T11:08:47.415+0000", + "finishedAt": "2024-10-08T11:08:47.379+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-10-02T08:29:39.541+0000", + "finishedAt": "2024-10-02T08:29:41.591+0000", + "updatedAt": "2024-10-02T08:29:41.595+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-10-02T08:29:43.297+0000", + "finishedAt": "2024-10-02T08:37:54.893+0000", + "updatedAt": "2024-10-02T08:41:12.828+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-10-02T08:37:54.894+0000", + "finishedAt": "2024-10-02T08:41:19.668+0000", + "updatedAt": "2024-10-02T08:41:22.342+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-10-02T08:41:25.485+0000", + "finishedAt": "2024-10-02T08:41:27.181+0000", + "updatedAt": "2024-10-02T08:41:27.188+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-02T08:41:32.124+0000", + "finishedAt": "2024-10-02T08:59:20.040+0000", + "updatedAt": "2024-10-02T08:59:21.745+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-10-02T08:41:47.981+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-10-02T08:44:16.358+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-10-02T08:44:30.687+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-10-02T08:50:54.396+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-10-02T08:55:14.333+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-02T08:59:28.881+0000", + "finishedAt": "2024-10-02T09:03:14.627+0000", + "updatedAt": "2024-10-02T09:03:14.635+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-02T09:03:20.632+0000", + "finishedAt": "2024-10-02T09:10:41.333+0000", + "updatedAt": "2024-10-02T09:10:41.339+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-10-02T09:10:48.096+0000", + "finishedAt": "2024-10-02T09:10:53.086+0000", + "updatedAt": "2024-10-02T09:10:53.092+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-10-02T08:29:35.834+0000", + "updatedAt": "2024-10-02T09:11:08.622+0000", + "finishedAt": "2024-10-02T09:11:08.598+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-09-30T10:38:12.292+0000", + "finishedAt": "2024-09-30T10:38:14.165+0000", + "updatedAt": "2024-09-30T10:38:14.170+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-30T10:38:16.151+0000", + "finishedAt": "2024-09-30T10:44:47.798+0000", + "updatedAt": "2024-09-30T10:44:47.801+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-30T10:44:56.735+0000", + "finishedAt": "2024-09-30T10:44:54.075+0000", + "updatedAt": "2024-09-30T10:44:56.739+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-09-30T10:44:59.489+0000", + "finishedAt": "2024-09-30T10:45:01.139+0000", + "updatedAt": "2024-09-30T10:45:01.145+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-30T10:45:06.906+0000", + "finishedAt": "2024-09-30T11:06:24.946+0000", + "updatedAt": "2024-09-30T11:06:26.411+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-09-30T10:45:17.369+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-09-30T10:47:51.281+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-09-30T10:48:00.894+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-09-30T10:55:00.125+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-09-30T11:02:50.149+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-30T11:06:33.925+0000", + "finishedAt": "2024-09-30T11:10:10.651+0000", + "updatedAt": "2024-09-30T11:10:10.658+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-30T11:10:18.471+0000", + "finishedAt": "2024-09-30T11:16:44.637+0000", + "updatedAt": "2024-09-30T11:16:44.648+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-30T11:16:50.433+0000", + "finishedAt": "2024-09-30T11:16:55.632+0000", + "updatedAt": "2024-09-30T11:16:55.639+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "__CloudManagerAutoRestart__", + "status": "FINISHED", + "createdAt": "2024-09-30T10:38:08.016+0000", + "updatedAt": "2024-09-30T11:17:12.737+0000", + "finishedAt": "2024-09-30T11:17:12.706+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-09-30T09:56:49.685+0000", + "finishedAt": "2024-09-30T09:56:52.181+0000", + "updatedAt": "2024-09-30T09:56:52.184+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-30T09:56:53.704+0000", + "finishedAt": "2024-09-30T10:05:10.071+0000", + "updatedAt": "2024-09-30T10:08:22.067+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-30T10:05:10.072+0000", + "finishedAt": "2024-09-30T10:08:28.311+0000", + "updatedAt": "2024-09-30T10:08:30.851+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-09-30T10:08:33.677+0000", + "finishedAt": "2024-09-30T10:08:35.794+0000", + "updatedAt": "2024-09-30T10:08:35.800+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-30T10:08:41.075+0000", + "finishedAt": "2024-09-30T10:27:26.735+0000", + "updatedAt": "2024-09-30T10:27:36.052+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-09-30T10:08:56.880+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-09-30T10:11:23.972+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-09-30T10:11:39.156+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-09-30T10:18:29.742+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-09-30T10:24:19.820+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-30T10:27:45.043+0000", + "finishedAt": "2024-09-30T10:31:06.181+0000", + "updatedAt": "2024-09-30T10:31:06.189+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-30T10:31:12.296+0000", + "finishedAt": "2024-09-30T10:37:36.068+0000", + "updatedAt": "2024-09-30T10:37:36.075+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-30T10:37:44.105+0000", + "finishedAt": "2024-09-30T10:37:49.237+0000", + "updatedAt": "2024-09-30T10:37:49.244+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-09-30T09:56:44.801+0000", + "updatedAt": "2024-09-30T10:38:07.203+0000", + "finishedAt": "2024-09-30T10:38:07.169+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-09-05T10:23:45.957+0000", + "finishedAt": "2024-09-05T10:23:47.895+0000", + "updatedAt": "2024-09-05T10:23:47.898+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-05T10:23:49.782+0000", + "finishedAt": "2024-09-05T10:31:56.357+0000", + "updatedAt": "2024-09-05T10:35:22.843+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-05T10:31:56.358+0000", + "finishedAt": "2024-09-05T10:35:31.567+0000", + "updatedAt": "2024-09-05T10:35:34.828+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-09-05T10:35:37.369+0000", + "finishedAt": "2024-09-05T10:35:38.686+0000", + "updatedAt": "2024-09-05T10:35:38.694+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-05T10:35:43.874+0000", + "finishedAt": "2024-09-05T10:51:31.922+0000", + "updatedAt": "2024-09-05T10:51:41.150+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-09-05T10:35:57.484+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-09-05T10:38:27.654+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-09-05T10:38:40.084+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-09-05T10:45:33.344+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-09-05T10:48:29.851+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-05T10:51:48.839+0000", + "finishedAt": "2024-09-05T10:55:56.483+0000", + "updatedAt": "2024-09-05T10:55:56.490+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-05T10:56:02.564+0000", + "finishedAt": "2024-09-05T11:02:57.880+0000", + "updatedAt": "2024-09-05T11:02:57.888+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-05T11:03:04.223+0000", + "finishedAt": "2024-09-05T11:03:09.287+0000", + "updatedAt": "2024-09-05T11:03:09.294+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-09-05T10:23:41.549+0000", + "updatedAt": "2024-09-05T11:03:26.563+0000", + "finishedAt": "2024-09-05T11:03:26.536+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-09-03T06:58:25.812+0000", + "finishedAt": "2024-09-03T06:58:27.737+0000", + "updatedAt": "2024-09-03T06:58:27.741+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-03T06:58:29.784+0000", + "finishedAt": "2024-09-03T07:06:34.549+0000", + "updatedAt": "2024-09-03T07:09:41.461+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-03T07:06:34.550+0000", + "finishedAt": "2024-09-03T07:09:47.923+0000", + "updatedAt": "2024-09-03T07:09:50.389+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-09-03T07:09:52.707+0000", + "finishedAt": "2024-09-03T07:09:54.244+0000", + "updatedAt": "2024-09-03T07:09:54.250+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-03T07:10:00.686+0000", + "finishedAt": "2024-09-03T07:25:37.219+0000", + "updatedAt": "2024-09-03T07:25:38.704+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-09-03T07:10:12.930+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-09-03T07:12:32.000+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-09-03T07:12:41.656+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-09-03T07:19:11.515+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-09-03T07:22:30.579+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-03T07:25:47.434+0000", + "finishedAt": "2024-09-03T07:28:56.669+0000", + "updatedAt": "2024-09-03T07:28:56.676+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-03T07:29:02.810+0000", + "finishedAt": "2024-09-03T07:35:56.474+0000", + "updatedAt": "2024-09-03T07:35:56.481+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-03T07:36:12.444+0000", + "finishedAt": "2024-09-03T07:36:17.100+0000", + "updatedAt": "2024-09-03T07:36:17.107+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-09-03T06:58:21.624+0000", + "updatedAt": "2024-09-03T07:36:35.565+0000", + "finishedAt": "2024-09-03T07:36:35.528+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-09-03T05:08:12.136+0000", + "finishedAt": "2024-09-03T05:08:14.207+0000", + "updatedAt": "2024-09-03T05:08:14.210+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-03T05:08:16.140+0000", + "finishedAt": "2024-09-03T05:16:15.516+0000", + "updatedAt": "2024-09-03T05:19:30.450+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-09-03T05:16:15.517+0000", + "finishedAt": "2024-09-03T05:19:38.422+0000", + "updatedAt": "2024-09-03T05:19:40.885+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-09-03T05:19:43.222+0000", + "finishedAt": "2024-09-03T05:19:44.817+0000", + "updatedAt": "2024-09-03T05:19:44.824+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-03T05:19:49.836+0000", + "finishedAt": "2024-09-03T05:36:49.194+0000", + "updatedAt": "2024-09-03T05:36:50.981+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-09-03T05:20:01.172+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-09-03T05:22:46.099+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-09-03T05:22:58.360+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-09-03T05:30:24.388+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-09-03T05:33:44.329+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-03T05:36:58.394+0000", + "finishedAt": "2024-09-03T05:40:41.462+0000", + "updatedAt": "2024-09-03T05:40:41.469+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-03T05:40:48.220+0000", + "finishedAt": "2024-09-03T05:47:26.240+0000", + "updatedAt": "2024-09-03T05:47:26.247+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-09-03T05:47:32.298+0000", + "finishedAt": "2024-09-03T05:47:37.018+0000", + "updatedAt": "2024-09-03T05:47:37.026+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-09-03T05:08:08.990+0000", + "updatedAt": "2024-09-03T05:47:54.176+0000", + "finishedAt": "2024-09-03T05:47:54.148+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-08-30T05:34:37.607+0000", + "finishedAt": "2024-08-30T05:34:39.658+0000", + "updatedAt": "2024-08-30T05:34:39.662+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-30T05:34:41.498+0000", + "finishedAt": "2024-08-30T05:41:33.837+0000", + "updatedAt": "2024-08-30T05:41:33.841+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-30T05:41:42.526+0000", + "finishedAt": "2024-08-30T05:41:39.958+0000", + "updatedAt": "2024-08-30T05:41:42.530+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-08-30T05:41:45.187+0000", + "finishedAt": "2024-08-30T05:41:46.743+0000", + "updatedAt": "2024-08-30T05:41:46.750+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-30T05:41:51.536+0000", + "finishedAt": "2024-08-30T05:59:25.456+0000", + "updatedAt": "2024-08-30T05:59:26.986+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-08-30T05:42:03.665+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-08-30T05:45:21.466+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-08-30T05:45:31.014+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-08-30T05:52:29.548+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-08-30T05:55:19.661+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-30T05:59:33.180+0000", + "finishedAt": "2024-08-30T06:03:16.613+0000", + "updatedAt": "2024-08-30T06:03:16.619+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-30T06:03:22.735+0000", + "finishedAt": "2024-08-30T06:09:56.472+0000", + "updatedAt": "2024-08-30T06:09:56.479+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-30T06:10:02.137+0000", + "finishedAt": "2024-08-30T06:10:06.727+0000", + "updatedAt": "2024-08-30T06:10:06.735+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "__CloudManagerAutoRestart__", + "status": "FINISHED", + "createdAt": "2024-08-30T05:34:34.135+0000", + "updatedAt": "2024-08-30T06:10:23.478+0000", + "finishedAt": "2024-08-30T06:10:23.455+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-08-30T04:47:51.492+0000", + "finishedAt": "2024-08-30T04:47:53.396+0000", + "updatedAt": "2024-08-30T04:47:53.401+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-30T04:47:55.428+0000", + "finishedAt": "2024-08-30T04:55:56.963+0000", + "updatedAt": "2024-08-30T05:01:13.368+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-30T04:55:56.964+0000", + "finishedAt": "2024-08-30T05:01:20.073+0000", + "updatedAt": "2024-08-30T05:01:22.532+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-08-30T05:01:25.833+0000", + "finishedAt": "2024-08-30T05:01:27.389+0000", + "updatedAt": "2024-08-30T05:01:27.396+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-30T05:01:34.083+0000", + "finishedAt": "2024-08-30T05:23:15.869+0000", + "updatedAt": "2024-08-30T05:23:17.706+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-08-30T05:01:45.029+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-08-30T05:05:42.602+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-08-30T05:05:58.818+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-08-30T05:13:20.983+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-08-30T05:19:40.868+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-30T05:23:24.947+0000", + "finishedAt": "2024-08-30T05:26:38.223+0000", + "updatedAt": "2024-08-30T05:26:38.230+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-30T05:26:44.158+0000", + "finishedAt": "2024-08-30T05:34:07.895+0000", + "updatedAt": "2024-08-30T05:34:07.902+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-30T05:34:13.220+0000", + "finishedAt": "2024-08-30T05:34:17.912+0000", + "updatedAt": "2024-08-30T05:34:17.918+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-08-30T04:47:48.162+0000", + "updatedAt": "2024-08-30T05:34:33.552+0000", + "finishedAt": "2024-08-30T05:34:33.525+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-08-27T06:30:21.210+0000", + "finishedAt": "2024-08-27T06:30:24.412+0000", + "updatedAt": "2024-08-27T06:30:24.416+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-27T06:30:26.742+0000", + "finishedAt": "2024-08-27T06:32:12.649+0000", + "updatedAt": "2024-08-27T06:32:12.653+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-27T06:32:22.367+0000", + "finishedAt": "2024-08-27T06:32:19.890+0000", + "updatedAt": "2024-08-27T06:32:22.370+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-08-27T06:32:26.996+0000", + "finishedAt": "2024-08-27T06:32:28.881+0000", + "updatedAt": "2024-08-27T06:32:28.889+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-27T06:32:34.902+0000", + "finishedAt": "2024-08-27T07:45:37.684+0000", + "updatedAt": "2024-08-27T07:45:44.697+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-08-27T06:32:50.492+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-08-27T06:35:10.790+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-08-27T06:35:23.335+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-08-27T06:43:17.930+0000\"}]" + }, + "status": "ERROR" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "updatedAt": "2024-08-27T06:30:16.410+0000", + "details": {}, + "status": "NOT_STARTED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "updatedAt": "2024-08-27T06:30:16.410+0000", + "details": {}, + "status": "NOT_STARTED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "updatedAt": "2024-08-27T06:30:16.410+0000", + "details": {}, + "status": "NOT_STARTED" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "MANUAL", + "user": "80951EAC65103BC30A495CD0@7f521e9465103bc1495fee.e", + "status": "ERROR", + "createdAt": "2024-08-27T06:30:16.355+0000", + "updatedAt": "2024-08-27T07:45:44.697+0000", + "finishedAt": "2024-08-27T07:45:37.684+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-08-22T06:22:58.172+0000", + "finishedAt": "2024-08-22T06:23:00.166+0000", + "updatedAt": "2024-08-22T06:23:00.169+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-22T06:23:02.054+0000", + "finishedAt": "2024-08-22T06:31:28.947+0000", + "updatedAt": "2024-08-22T06:34:43.134+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-22T06:31:28.948+0000", + "finishedAt": "2024-08-22T06:34:49.601+0000", + "updatedAt": "2024-08-22T06:34:52.109+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-08-22T06:34:54.500+0000", + "finishedAt": "2024-08-22T06:34:56.210+0000", + "updatedAt": "2024-08-22T06:34:56.218+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-22T06:35:02.004+0000", + "finishedAt": "2024-08-22T06:52:23.539+0000", + "updatedAt": "2024-08-22T06:52:25.158+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-08-22T06:35:13.353+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-08-22T06:37:55.932+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-08-22T06:38:06.758+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-08-22T06:46:28.786+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-08-22T06:49:18.510+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-22T06:52:32.237+0000", + "finishedAt": "2024-08-22T06:56:13.224+0000", + "updatedAt": "2024-08-22T06:56:13.230+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-22T06:56:19.019+0000", + "finishedAt": "2024-08-22T07:03:46.924+0000", + "updatedAt": "2024-08-22T07:03:46.933+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-22T07:03:53.228+0000", + "finishedAt": "2024-08-22T07:03:57.948+0000", + "updatedAt": "2024-08-22T07:03:57.957+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-08-22T06:22:54.814+0000", + "updatedAt": "2024-08-22T07:04:15.116+0000", + "finishedAt": "2024-08-22T07:04:15.091+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-08-21T05:19:58.735+0000", + "finishedAt": "2024-08-21T05:20:01.219+0000", + "updatedAt": "2024-08-21T05:20:01.223+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-21T05:20:03.569+0000", + "finishedAt": "2024-08-21T05:28:34.136+0000", + "updatedAt": "2024-08-21T05:28:34.142+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-21T05:28:42.959+0000", + "finishedAt": "2024-08-21T05:28:40.501+0000", + "updatedAt": "2024-08-21T05:28:42.962+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-08-21T05:28:45.796+0000", + "finishedAt": "2024-08-21T05:28:47.354+0000", + "updatedAt": "2024-08-21T05:28:47.360+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-21T05:28:52.165+0000", + "finishedAt": "2024-08-21T05:46:02.634+0000", + "updatedAt": "2024-08-21T05:46:03.926+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-08-21T05:29:04.689+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-08-21T05:31:30.019+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-08-21T05:31:39.371+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-08-21T05:39:37.016+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-08-21T05:42:26.769+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-21T05:46:11.088+0000", + "finishedAt": "2024-08-21T05:49:54.903+0000", + "updatedAt": "2024-08-21T05:49:54.911+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-21T05:50:00.150+0000", + "finishedAt": "2024-08-21T05:56:39.006+0000", + "updatedAt": "2024-08-21T05:56:39.013+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-21T05:56:45.155+0000", + "finishedAt": "2024-08-21T05:56:49.992+0000", + "updatedAt": "2024-08-21T05:56:49.998+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "__CloudManagerAutoRestart__", + "status": "FINISHED", + "createdAt": "2024-08-21T05:19:54.761+0000", + "updatedAt": "2024-08-21T05:57:06.101+0000", + "finishedAt": "2024-08-21T05:57:06.072+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-08-21T04:36:54.599+0000", + "finishedAt": "2024-08-21T04:36:57.029+0000", + "updatedAt": "2024-08-21T04:36:57.033+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-21T04:36:58.646+0000", + "finishedAt": "2024-08-21T04:45:05.239+0000", + "updatedAt": "2024-08-21T04:48:22.967+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-21T04:45:05.240+0000", + "finishedAt": "2024-08-21T04:48:29.679+0000", + "updatedAt": "2024-08-21T04:48:32.163+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-08-21T04:48:35.697+0000", + "finishedAt": "2024-08-21T04:48:37.683+0000", + "updatedAt": "2024-08-21T04:48:37.690+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-21T04:48:44.323+0000", + "finishedAt": "2024-08-21T05:08:09.608+0000", + "updatedAt": "2024-08-21T05:08:18.550+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-08-21T04:48:59.877+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-08-21T04:51:36.449+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-08-21T04:51:53.457+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-08-21T04:58:43.271+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-08-21T05:04:03.063+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-21T05:08:26.343+0000", + "finishedAt": "2024-08-21T05:12:04.229+0000", + "updatedAt": "2024-08-21T05:12:04.236+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-21T05:12:11.464+0000", + "finishedAt": "2024-08-21T05:19:24.691+0000", + "updatedAt": "2024-08-21T05:19:24.700+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-21T05:19:31.176+0000", + "finishedAt": "2024-08-21T05:19:35.893+0000", + "updatedAt": "2024-08-21T05:19:35.900+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-08-21T04:36:49.891+0000", + "updatedAt": "2024-08-21T05:19:53.440+0000", + "finishedAt": "2024-08-21T05:19:53.405+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-08-07T08:10:09.138+0000", + "finishedAt": "2024-08-07T08:10:12.283+0000", + "updatedAt": "2024-08-07T08:10:12.288+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-07T08:10:13.836+0000", + "finishedAt": "2024-08-07T08:19:00.483+0000", + "updatedAt": "2024-08-07T08:23:59.671+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-08-07T08:19:00.484+0000", + "finishedAt": "2024-08-07T08:24:06.184+0000", + "updatedAt": "2024-08-07T08:24:08.761+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-08-07T08:24:11.390+0000", + "finishedAt": "2024-08-07T08:24:13.121+0000", + "updatedAt": "2024-08-07T08:24:13.127+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-07T08:24:18.472+0000", + "finishedAt": "2024-08-07T08:42:45.971+0000", + "updatedAt": "2024-08-07T08:42:59.408+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-08-07T08:24:32.735+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-08-07T08:27:07.907+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-08-07T08:27:21.265+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-08-07T08:34:15.209+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-08-07T08:38:34.232+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-07T08:43:07.336+0000", + "finishedAt": "2024-08-07T08:47:05.443+0000", + "updatedAt": "2024-08-07T08:47:05.450+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-07T08:47:11.833+0000", + "finishedAt": "2024-08-07T08:54:02.652+0000", + "updatedAt": "2024-08-07T08:54:02.658+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-08-07T08:54:09.926+0000", + "finishedAt": "2024-08-07T08:54:14.493+0000", + "updatedAt": "2024-08-07T08:54:14.500+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-08-07T08:10:04.649+0000", + "updatedAt": "2024-08-07T08:54:32.023+0000", + "finishedAt": "2024-08-07T08:54:31.991+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-07-18T12:23:53.813+0000", + "finishedAt": "2024-07-18T12:23:57.266+0000", + "updatedAt": "2024-07-18T12:23:57.271+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-18T12:23:59.053+0000", + "finishedAt": "2024-07-18T12:32:46.876+0000", + "updatedAt": "2024-07-18T12:36:37.349+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-18T12:32:46.877+0000", + "finishedAt": "2024-07-18T12:36:43.876+0000", + "updatedAt": "2024-07-18T12:36:46.270+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-07-18T12:36:48.910+0000", + "finishedAt": "2024-07-18T12:36:50.726+0000", + "updatedAt": "2024-07-18T12:36:50.732+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T12:36:55.358+0000", + "finishedAt": "2024-07-18T12:55:14.355+0000", + "updatedAt": "2024-07-18T12:55:22.527+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-07-18T12:37:09.883+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-07-18T12:40:40.032+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-07-18T12:40:50.549+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-07-18T12:48:47.628+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-07-18T12:52:09.550+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T12:55:30.071+0000", + "finishedAt": "2024-07-18T12:59:04.757+0000", + "updatedAt": "2024-07-18T12:59:04.763+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T12:59:10.953+0000", + "finishedAt": "2024-07-18T13:05:57.421+0000", + "updatedAt": "2024-07-18T13:05:57.428+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T13:06:03.473+0000", + "finishedAt": "2024-07-18T13:06:07.987+0000", + "updatedAt": "2024-07-18T13:06:07.995+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-07-18T12:23:49.209+0000", + "updatedAt": "2024-07-18T13:06:24.271+0000", + "finishedAt": "2024-07-18T13:06:24.246+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-07-18T11:08:46.246+0000", + "finishedAt": "2024-07-18T11:08:47.936+0000", + "updatedAt": "2024-07-18T11:08:47.940+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-18T11:08:49.570+0000", + "finishedAt": "2024-07-18T11:17:12.083+0000", + "updatedAt": "2024-07-18T11:20:20.937+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-18T11:17:12.084+0000", + "finishedAt": "2024-07-18T11:20:27.333+0000", + "updatedAt": "2024-07-18T11:20:29.708+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-07-18T11:20:31.586+0000", + "finishedAt": "2024-07-18T11:20:33.161+0000", + "updatedAt": "2024-07-18T11:20:33.169+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T11:20:38.241+0000", + "finishedAt": "2024-07-18T11:37:11.720+0000", + "updatedAt": "2024-07-18T11:37:13.221+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-07-18T11:20:51.116+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-07-18T11:23:09.771+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-07-18T11:23:21.819+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-07-18T11:30:17.447+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-07-18T11:34:07.576+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T11:37:19.564+0000", + "finishedAt": "2024-07-18T11:40:33.710+0000", + "updatedAt": "2024-07-18T11:40:33.718+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T11:40:38.877+0000", + "finishedAt": "2024-07-18T11:47:04.797+0000", + "updatedAt": "2024-07-18T11:47:04.805+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T11:47:11.464+0000", + "finishedAt": "2024-07-18T11:47:16.022+0000", + "updatedAt": "2024-07-18T11:47:16.030+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-07-18T11:08:42.731+0000", + "updatedAt": "2024-07-18T11:47:32.093+0000", + "finishedAt": "2024-07-18T11:47:32.068+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-07-18T05:19:53.117+0000", + "finishedAt": "2024-07-18T05:19:55.274+0000", + "updatedAt": "2024-07-18T05:19:55.278+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-18T05:19:57.406+0000", + "finishedAt": "2024-07-18T05:28:16.274+0000", + "updatedAt": "2024-07-18T05:31:22.976+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-18T05:28:16.275+0000", + "finishedAt": "2024-07-18T05:31:29.453+0000", + "updatedAt": "2024-07-18T05:31:31.924+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-07-18T05:31:34.751+0000", + "finishedAt": "2024-07-18T05:31:40.644+0000", + "updatedAt": "2024-07-18T05:31:40.652+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T05:31:46.038+0000", + "finishedAt": "2024-07-18T05:49:21.830+0000", + "updatedAt": "2024-07-18T05:49:31.016+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-07-18T05:32:00.539+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-07-18T05:35:18.529+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-07-18T05:35:35.724+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-07-18T05:42:55.584+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-07-18T05:45:29.550+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T05:49:37.390+0000", + "finishedAt": "2024-07-18T05:53:12.255+0000", + "updatedAt": "2024-07-18T05:53:12.261+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T05:53:17.182+0000", + "finishedAt": "2024-07-18T06:00:12.266+0000", + "updatedAt": "2024-07-18T06:00:12.275+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-18T06:00:26.455+0000", + "finishedAt": "2024-07-18T06:00:31.007+0000", + "updatedAt": "2024-07-18T06:00:31.014+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "AnonymousNoPermission", + "status": "FINISHED", + "createdAt": "2024-07-18T05:19:47.843+0000", + "updatedAt": "2024-07-18T06:00:45.309+0000", + "finishedAt": "2024-07-18T06:00:45.276+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-07-11T12:56:05.948+0000", + "finishedAt": "2024-07-11T12:56:16.935+0000", + "updatedAt": "2024-07-11T12:56:16.939+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-11T12:56:18.322+0000", + "finishedAt": "2024-07-11T13:04:33.179+0000", + "updatedAt": "2024-07-11T13:04:33.183+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-11T13:04:41.880+0000", + "finishedAt": "2024-07-11T13:04:39.374+0000", + "updatedAt": "2024-07-11T13:04:41.885+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-07-11T13:04:44.423+0000", + "finishedAt": "2024-07-11T13:04:46.224+0000", + "updatedAt": "2024-07-11T13:04:46.231+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-11T13:04:51.476+0000", + "finishedAt": "2024-07-11T13:21:58.790+0000", + "updatedAt": "2024-07-11T13:22:00.040+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-07-11T13:05:03.894+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-07-11T13:07:49.748+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-07-11T13:07:59.145+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-07-11T13:15:28.484+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-07-11T13:18:21.094+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-11T13:22:07.626+0000", + "finishedAt": "2024-07-11T13:24:50.533+0000", + "updatedAt": "2024-07-11T13:24:50.540+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-11T13:24:55.494+0000", + "finishedAt": "2024-07-11T13:31:06.116+0000", + "updatedAt": "2024-07-11T13:31:06.123+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-11T13:31:11.007+0000", + "finishedAt": "2024-07-11T13:31:15.976+0000", + "updatedAt": "2024-07-11T13:31:15.983+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "__CloudManagerAutoRestart__", + "status": "FINISHED", + "createdAt": "2024-07-11T12:56:02.732+0000", + "updatedAt": "2024-07-11T13:31:33.357+0000", + "finishedAt": "2024-07-11T13:31:33.335+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline": { + "href": "/api/program/00000/pipeline/100000000", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/00000", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123", + "templated": false + } + }, + "_embedded": { + "stepStates": [ + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "validate", + "startedAt": "2024-07-11T12:15:37.704+0000", + "finishedAt": "2024-07-11T12:15:40.122+0000", + "updatedAt": "2024-07-11T12:15:40.126+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "build", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-11T12:15:41.521+0000", + "finishedAt": "2024-07-11T12:24:29.921+0000", + "updatedAt": "2024-07-11T12:27:59.221+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "codeQuality", + "repository": "demo-p00000", + "branch": "develop", + "commitId": "secret", + "startedAt": "2024-07-11T12:24:29.922+0000", + "finishedAt": "2024-07-11T12:28:05.554+0000", + "updatedAt": "2024-07-11T12:28:07.904+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "buildImage", + "startedAt": "2024-07-11T12:28:10.673+0000", + "finishedAt": "2024-07-11T12:28:12.448+0000", + "updatedAt": "2024-07-11T12:28:12.456+0000", + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "deploy", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-11T12:28:18.164+0000", + "finishedAt": "2024-07-11T12:46:14.744+0000", + "updatedAt": "2024-07-11T12:46:22.804+0000", + "details": { + "environmentUrls": [ + { + "instanceType": "author", + "instanceUrl": "https://author-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "publish", + "instanceUrl": "https://publish-p00000-e22222.adobeaemcloud.com" + }, + { + "instanceType": "preview", + "instanceUrl": "https://preview-p00000-e22222.adobeaemcloud.com" + } + ], + "deploymentStepDescription": "[{\"id\":1,\"stepAction\":\"update-author-indexes\",\"updated\":\"2024-07-11T12:28:34.018+0000\"},{\"id\":2,\"stepAction\":\"update-publish-indexes\",\"updated\":\"2024-07-11T12:31:10.596+0000\"},{\"id\":3,\"stepAction\":\"update-services\",\"updated\":\"2024-07-11T12:31:20.563+0000\"},{\"id\":4,\"stepAction\":\"build-transform\",\"updated\":\"2024-07-11T12:37:47.188+0000\"},{\"id\":5,\"stepAction\":\"install-mutable-content\",\"updated\":\"2024-07-11T12:43:08.445+0000\"}]" + }, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "productTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-11T12:46:29.335+0000", + "finishedAt": "2024-07-11T12:49:13.276+0000", + "updatedAt": "2024-07-11T12:49:13.284+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "functionalTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-11T12:49:19.215+0000", + "finishedAt": "2024-07-11T12:55:34.795+0000", + "updatedAt": "2024-07-11T12:55:34.803+0000", + "details": {}, + "status": "FINISHED" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/pipeline/logs": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/logs", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/pipeline/metrics": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004/metrics", + "templated": false + }, + "self": { + "href": "/api/program/00000/pipeline/100000000/execution/123123/phase/0000/step/0004", + "templated": false + } + }, + "id": "66666", + "stepId": "1000", + "phaseId": "1000", + "action": "uiTest", + "environment": "development", + "environmentType": "dev", + "environmentId": "100000", + "startedAt": "2024-07-11T12:55:40.747+0000", + "finishedAt": "2024-07-11T12:55:45.592+0000", + "updatedAt": "2024-07-11T12:55:45.600+0000", + "details": {}, + "status": "INCOMPLETE" + } + ] + }, + "id": "66666", + "programId": "00000", + "pipelineId": "100000000", + "trigger": "ON_COMMIT", + "user": "__CloudManagerAutoRestart__", + "status": "FINISHED", + "createdAt": "2024-07-11T12:15:32.897+0000", + "updatedAt": "2024-07-11T12:56:01.632+0000", + "finishedAt": "2024-07-11T12:56:01.607+0000", + "pipelineType": "CI_CD", + "pipelineExecutionMode": "NORMAL" + } + ] + }, + "_totalNumberOfItems": 20, + "_page": { + "limit": 20, + "property": [], + "next": 20, + "prev": 0 + } +} \ No newline at end of file diff --git a/test/test_log_response.json b/test/test_log_response.json new file mode 100644 index 0000000..0dac771 --- /dev/null +++ b/test/test_log_response.json @@ -0,0 +1,65 @@ +{ + "_links": { + "http: //ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/111111", + "templated": false + }, + "self": { + "href": "/api/program/111111/environment/22222/logs?service=%5Bauthor%5D&name=%5Baemaccess%5D&days=2", + "templated": false + } + }, + "_embedded": { + "downloads": [ + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/logs/download": { + "href": "/api/program/111111/environment/22222/logs/download?service=author&name=aemaccess&date=2024-10-18", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/logs/tail": { + "href": "https://sa0111111log222220494ea1.file.core.windows.net/log-111111-22222/logs/author_aemaccess_2024-10-18.log?sig=SPdcXiGvhSu957xsZoW7BzwFkeh0qkK4fFNx0NEMcYU%3D&api-version=2019-02-02&se=2024-10-19T14%3A12%3A17Z&sv=2019-02-02&sp=r&sr=f" + } + }, + "service": "author", + "name": "aemaccess", + "date": "2024-10-18", + "programId": 111111, + "environmentId": 22222 + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/logs/download": { + "href": "/api/program/111111/environment/22222/logs/download?service=author&name=aemaccess&date=2024-10-17", + "templated": false + } + }, + "service": "author", + "name": "aemaccess", + "date": "2024-10-17", + "programId": 111111, + "environmentId": 22222 + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/logs/download": { + "href": "/api/program/111111/environment/22222/logs/download?service=author&name=aemaccess&date=2024-10-16", + "templated": false + } + }, + "service": "author", + "name": "aemaccess", + "date": "2024-10-16", + "programId": 111111, + "environmentId": 22222 + } + ] + }, + "service": [ + "author" + ], + "name": [ + "aemaccess" + ], + "days": 2 +} \ No newline at end of file diff --git a/test/test_pipeline_response.json b/test/test_pipeline_response.json new file mode 100644 index 0000000..c46db7f --- /dev/null +++ b/test/test_pipeline_response.json @@ -0,0 +1,474 @@ +{ + "_links": { + "next": { + "href": "/api/program/22222/pipelines?start=500&limit=500" + }, + "page": { + "href": "/api/program/22222/pipelines" + }, + "prev": { + "href": "/api/program/22222/pipelines?start=0&limit=500" + }, + "self": { + "href": "/api/program/22222/pipelines?start=0&limit=500" + } + }, + "_embedded": { + "pipelines": [ + { + "_links": { + "http: //ns.adobe.com/adobecloud/rel/artifacts": { + "href": "/api/program/22222/artifacts", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/cache": { + "href": "/api/program/22222/pipeline/55555555/cache", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution": { + "href": "/api/program/22222/pipeline/55555555/execution", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution/id": { + "href": "/api/program/22222/pipeline/55555555/execution/{executionId}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/executions": { + "href": "/api/program/22222/pipeline/55555555/executions", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/22222", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/22222/pipeline/55555555/variables", + "templated": false + }, + "self": { + "href": "/api/program/22222/pipeline/55555555", + "templated": false + } + }, + "id": "55555555", + "programId": "22222", + "name": "DEV Deployment - Application Code", + "trigger": "ON_COMMIT", + "type": "CI_CD", + "status": "IDLE", + "phases": [ + { + "name": "VALIDATE", + "type": "VALIDATE" + }, + { + "name": "BUILD_22222", + "type": "BUILD", + "repositoryId": "22222", + "branch": "develop", + "steps": [ + { + "name": "build" + }, + { + "name": "codeQuality" + } + ], + "options": {} + }, + { + "name": "BUILD_IMAGE_9999", + "type": "BUILD_IMAGE", + "releaseId": "22222" + }, + { + "name": "DEPLOY_22222", + "type": "DEPLOY", + "environmentId": "22222", + "environmentType": "dev", + "steps": [ + { + "name": "deploy", + "options": {} + }, + { + "name": "productTest" + }, + { + "name": "functionalTest" + }, + { + "name": "uiTest" + } + ] + } + ], + "createdAt": "2022-08-10T12:38:03.104+0000", + "updatedAt": "2024-10-14T14:30:51.166+0000", + "lastStartedAt": "2024-10-14T12:01:01.060+0000", + "lastFinishedAt": "2024-10-14T12:38:39.510+0000", + "options": { + "ignoreWebTierConfig": true, + "composable": false + } + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/artifacts": { + "href": "/api/program/22222/artifacts", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/cache": { + "href": "/api/program/22222/pipeline/4444444/cache", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution": { + "href": "/api/program/22222/pipeline/4444444/execution", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution/id": { + "href": "/api/program/22222/pipeline/4444444/execution/{executionId}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/executions": { + "href": "/api/program/22222/pipeline/4444444/executions", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/22222", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/22222/pipeline/4444444/variables", + "templated": false + }, + "self": { + "href": "/api/program/22222/pipeline/4444444", + "templated": false + } + }, + "id": "4444444", + "programId": "22222", + "name": "Code Quality Check - develop", + "trigger": "ON_COMMIT", + "type": "CI_CD", + "status": "IDLE", + "phases": [ + { + "name": "VALIDATE", + "type": "VALIDATE" + }, + { + "name": "BUILD_22222", + "type": "BUILD", + "repositoryId": "22222", + "branch": "develop", + "steps": [ + { + "name": "build" + }, + { + "name": "codeQuality" + } + ], + "options": {} + }, + { + "name": "BUILD_IMAGE_9999", + "type": "BUILD_IMAGE", + "releaseId": "22222" + } + ], + "createdAt": "2022-07-05T09:16:54.943+0000", + "updatedAt": "2024-10-08T10:41:27.691+0000", + "lastStartedAt": "2024-10-08T10:28:07.857+0000", + "lastFinishedAt": "2024-10-08T10:41:27.678+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/artifacts": { + "href": "/api/program/22222/artifacts", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/cache": { + "href": "/api/program/22222/pipeline/4444444/cache", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution": { + "href": "/api/program/22222/pipeline/4444444/execution", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution/id": { + "href": "/api/program/22222/pipeline/4444444/execution/{executionId}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/executions": { + "href": "/api/program/22222/pipeline/4444444/executions", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/22222", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/22222/pipeline/4444444/variables", + "templated": false + }, + "self": { + "href": "/api/program/22222/pipeline/4444444", + "templated": false + } + }, + "id": "4444444", + "programId": "22222", + "name": "DEV Deployment - Dispatcher", + "trigger": "ON_COMMIT", + "type": "WEB_TIER", + "status": "IDLE", + "phases": [ + { + "name": "VALIDATE", + "type": "VALIDATE" + }, + { + "name": "BUILD_22222", + "type": "BUILD", + "repositoryId": "22222", + "branch": "develop", + "options": { + "codeLocation": "/dispatcher/src" + } + }, + { + "name": "DEPLOY_22222", + "type": "DEPLOY", + "environmentId": "22222", + "environmentType": "dev", + "steps": [ + { + "name": "deploy", + "options": {} + } + ] + } + ], + "createdAt": "2022-07-05T09:16:12.116+0000", + "updatedAt": "2024-10-08T10:49:49.162+0000", + "lastStartedAt": "2024-10-08T10:37:12.133+0000", + "lastFinishedAt": "2024-10-08T10:49:49.110+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/artifacts": { + "href": "/api/program/22222/artifacts", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/cache": { + "href": "/api/program/22222/pipeline/4444444/cache", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution": { + "href": "/api/program/22222/pipeline/4444444/execution", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution/id": { + "href": "/api/program/22222/pipeline/4444444/execution/{executionId}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/executions": { + "href": "/api/program/22222/pipeline/4444444/executions", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/22222", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/22222/pipeline/4444444/variables", + "templated": false + }, + "self": { + "href": "/api/program/22222/pipeline/4444444", + "templated": false + } + }, + "id": "4444444", + "programId": "22222", + "name": "PROD Deployment - Dispatcher", + "trigger": "MANUAL", + "type": "WEB_TIER", + "status": "IDLE", + "phases": [ + { + "name": "VALIDATE", + "type": "VALIDATE" + }, + { + "name": "BUILD_22222", + "type": "BUILD", + "repositoryId": "22222", + "branch": "master", + "options": { + "codeLocation": "/dispatcher/src" + } + }, + { + "name": "DEPLOY_333333", + "type": "DEPLOY", + "environmentId": "333333", + "environmentType": "stage", + "steps": [ + { + "name": "deploy", + "options": {} + } + ] + }, + { + "name": "DEPLOY_333333", + "type": "DEPLOY", + "environmentId": "333333", + "environmentType": "prod", + "steps": [ + { + "name": "approval" + }, + { + "name": "deploy", + "options": {} + } + ] + } + ], + "createdAt": "2022-07-05T09:15:27.500+0000", + "updatedAt": "2024-10-08T11:10:56.777+0000", + "lastStartedAt": "2024-10-08T10:55:05.733+0000", + "lastFinishedAt": "2024-10-08T11:10:56.740+0000" + }, + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/artifacts": { + "href": "/api/program/22222/artifacts", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/cache": { + "href": "/api/program/22222/pipeline/4444444/cache", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution": { + "href": "/api/program/22222/pipeline/4444444/execution", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/execution/id": { + "href": "/api/program/22222/pipeline/4444444/execution/{executionId}", + "templated": true + }, + "http://ns.adobe.com/adobecloud/rel/executions": { + "href": "/api/program/22222/pipeline/4444444/executions", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/22222", + "templated": false + }, + "http://ns.adobe.com/adobecloud/rel/variables": { + "href": "/api/program/22222/pipeline/4444444/variables", + "templated": false + }, + "self": { + "href": "/api/program/22222/pipeline/4444444", + "templated": false + } + }, + "id": "4444444", + "programId": "22222", + "name": "PROD Deployment - Application Code", + "trigger": "MANUAL", + "type": "CI_CD", + "status": "IDLE", + "phases": [ + { + "name": "VALIDATE", + "type": "VALIDATE" + }, + { + "name": "BUILD_22222", + "type": "BUILD", + "repositoryId": "22222", + "branch": "master", + "steps": [ + { + "name": "build" + }, + { + "name": "codeQuality" + } + ], + "options": {} + }, + { + "name": "BUILD_IMAGE_9999", + "type": "BUILD_IMAGE", + "releaseId": "22222" + }, + { + "name": "DEPLOY_333333", + "type": "DEPLOY", + "environmentId": "333333", + "environmentType": "stage", + "steps": [ + { + "name": "deploy", + "options": {} + }, + { + "name": "productTest" + }, + { + "name": "functionalTest" + }, + { + "name": "uiTest" + }, + { + "name": "contentAudit", + "options": { + "pagePaths": [] + } + } + ] + }, + { + "name": "DEPLOY_333333", + "type": "DEPLOY", + "environmentId": "333333", + "environmentType": "prod", + "steps": [ + { + "name": "approval" + }, + { + "name": "deploy", + "options": {} + } + ] + } + ], + "createdAt": "2021-04-13T12:34:52.193+0000", + "updatedAt": "2024-10-15T06:14:44.906+0000", + "lastStartedAt": "2024-10-15T04:10:54.521+0000", + "lastFinishedAt": "2024-10-15T06:14:44.870+0000", + "options": { + "ignoreWebTierConfig": true, + "composable": false + } + } + ] + }, + "_totalNumberOfItems": 5, + "_page": { + "limit": 500, + "next": 500, + "prev": 0 + } +} \ No newline at end of file diff --git a/test/test_programs_response.json b/test/test_programs_response.json new file mode 100644 index 0000000..401005e --- /dev/null +++ b/test/test_programs_response.json @@ -0,0 +1,33 @@ +{ + "_links": { + "self": { + "href": "/api/programs", + "templated": false + } + }, + "_embedded": { + "programs": [ + { + "_links": { + "http://ns.adobe.com/adobecloud/rel/tenant": { + "href": "/api/tenant/22222", + "templated": false + }, + "self": { + "href": "/api/program/22222", + "templated": false + } + }, + "_embedded": {}, + "id": "22222", + "name": "Demo", + "status": "ready", + "enabled": true, + "createdAt": "1111-12-01T12:26:30.036+1111", + "updatedAt": "1111-12-17T10:31:03.923+1111", + "tenantId": "Demo" + } + ] + }, + "_totalNumberOfItems": 1 +} \ No newline at end of file diff --git a/test/test_yaml_config.yml b/test/test_yaml_config.yml new file mode 100644 index 0000000..f6ea029 --- /dev/null +++ b/test/test_yaml_config.yml @@ -0,0 +1,14 @@ +--- +programs: + - id: 222222 + pipelines: + # DEV Deployment - Application Code + - id: 1010101010 + variables: + - name: FOO + value: bar + type: string + - name: VARIABLE + value: author_variable + type: string + service: build diff --git a/test/variables/environment_variables_response.json b/test/variables/environment_variables_response.json new file mode 100644 index 0000000..8c4697e --- /dev/null +++ b/test/variables/environment_variables_response.json @@ -0,0 +1,70 @@ +{ + "_links": { + "http://ns.adobe.com/adobecloud/rel/environment": { + "href": "/api/program/111111/environment/2222222" + }, + "http://ns.adobe.com/adobecloud/rel/program": { + "href": "/api/program/111111", + "templated": false + }, + "self": { + "href": "/api/program/111111/environment/2222222/variables" + } + }, + "_embedded": { + "variables": [ + { + "name": "VARIABLE", + "value": "no service specified", + "type": "string", + "status": "ready" + }, + { + "name": "SECRET_VARIABLE", + "type": "secretString", + "service": "", + "status": "ready" + }, + { + "name": "VARIABLE", + "value": "preview variable", + "type": "string", + "service": "preview", + "status": "ready" + }, + { + "name": "VARIABLE", + "value": "publish variable", + "type": "string", + "service": "publish", + "status": "ready" + }, + { + "name": "SECRET_VARIABLE", + "type": "secretString", + "service": "author", + "status": "ready" + }, + { + "name": "SECRET_VARIABLE", + "type": "secretString", + "service": "publish", + "status": "ready" + }, + { + "name": "SSECRET_VARIABLE", + "type": "secretString", + "service": "preview", + "status": "ready" + }, + { + "name": "INVALID_SERVICE_VARIABLE", + "value": "invalid service variable", + "type": "string", + "service": "lorem", + "status": "ready" + } + ] + }, + "_totalNumberOfItems": 8 +} \ No newline at end of file