[PR #140] [MERGED] 1.16.0 #3953

Closed
opened 2026-04-13 15:16:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/moghtech/komodo/pull/140
Author: @mbecker20
Created: 10/20/2024
Status: Merged
Merged: 10/20/2024
Merged by: @mbecker20

Base: mainHead: 1.16.0


📝 Commits (10+)

📊 Changes

142 files changed (+17566 additions, -6779 deletions)

View changed files

📝 Cargo.lock (+235 -239)
📝 Cargo.toml (+3 -3)
📝 bin/cli/src/exec.rs (+6 -0)
📝 bin/core/Cargo.toml (+1 -0)
📝 bin/core/alpine.Dockerfile (+3 -2)
📝 bin/core/debian.Dockerfile (+2 -1)
📝 bin/core/src/alert/mod.rs (+3 -0)
bin/core/src/api/execute/action.rs (+206 -0)
📝 bin/core/src/api/execute/mod.rs (+4 -0)
📝 bin/core/src/api/execute/sync.rs (+28 -0)
bin/core/src/api/read/action.rs (+132 -0)
📝 bin/core/src/api/read/mod.rs (+8 -0)
📝 bin/core/src/api/read/toml.rs (+34 -1)
📝 bin/core/src/api/read/update.rs (+19 -10)
bin/core/src/api/write/action.rs (+59 -0)
📝 bin/core/src/api/write/description.rs (+9 -1)
📝 bin/core/src/api/write/mod.rs (+7 -0)
📝 bin/core/src/api/write/permissions.rs (+14 -0)
📝 bin/core/src/api/write/sync.rs (+13 -21)
📝 bin/core/src/api/write/tag.rs (+10 -1)

...and 80 more files

📄 Description

  • New Resource: Action

    • Write custom actions calling the Komodo API using Typescript and a pre initialized Komodo client.
    • In UI editor supports linting, suggestions, and shows documentation, using the fully typed komodo_client typescript package.
    • Can Interpolate in Variables using [[VARIABLE_NAME]]
    • Uses Deno to run the typescript.
    • Komodo Core container ships with Deno and the JS / TS client bundled in, there are no external requests needed to pull any libs.
    • The API also serves the lib files from your Komodo instance at {BASE_URL}/client/lib.js, and you can depend on that directly from Deno files. The version of the served lib will be ensured to match your Core version.
  • Stacks: If you have multiple env files in your folder / repo, you can now specify additional env files to be attached.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/moghtech/komodo/pull/140 **Author:** [@mbecker20](https://github.com/mbecker20) **Created:** 10/20/2024 **Status:** ✅ Merged **Merged:** 10/20/2024 **Merged by:** [@mbecker20](https://github.com/mbecker20) **Base:** `main` ← **Head:** `1.16.0` --- ### 📝 Commits (10+) - [`2bd63d0`](https://github.com/moghtech/komodo/commit/2bd63d026f32700fe774820bca09fbb12b717432) consolidate deserializers - [`0d9870f`](https://github.com/moghtech/komodo/commit/0d9870fd49ddd714a9094df50b582f21a0cdaef1) key value list doc - [`ae1f7a3`](https://github.com/moghtech/komodo/commit/ae1f7a30cde542b1cd6dc1975a1dd3d1023b35ef) use string list deserializers for all entity Vec<String> - [`2488a60`](https://github.com/moghtech/komodo/commit/2488a6078b907d63bf7f9841872b5635957f6095) add additional env files support - [`2be0bb6`](https://github.com/moghtech/komodo/commit/2be0bb647079fba70fec0d52fd07e8df435291e7) plumbing for Action resource - [`eb1a9fe`](https://github.com/moghtech/komodo/commit/eb1a9fe7ad5af977973bd4a69f8cbd765d8219ab) js client readme indentation - [`9e582a9`](https://github.com/moghtech/komodo/commit/9e582a9cada7a3cb0da9b55df6d59b69a88657f7) regen lock - [`4b40972`](https://github.com/moghtech/komodo/commit/4b40972009813b812f4f97fd224b920761eb12b7) add action UI - [`038e96a`](https://github.com/moghtech/komodo/commit/038e96a98104fc819bd31a5bea773c9c3aa34e82) action backend - [`822c2f0`](https://github.com/moghtech/komodo/commit/822c2f0da40d19608c0ae33c14b30e8f96cb7db4) start on action frontend ### 📊 Changes **142 files changed** (+17566 additions, -6779 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+235 -239) 📝 `Cargo.toml` (+3 -3) 📝 `bin/cli/src/exec.rs` (+6 -0) 📝 `bin/core/Cargo.toml` (+1 -0) 📝 `bin/core/alpine.Dockerfile` (+3 -2) 📝 `bin/core/debian.Dockerfile` (+2 -1) 📝 `bin/core/src/alert/mod.rs` (+3 -0) ➕ `bin/core/src/api/execute/action.rs` (+206 -0) 📝 `bin/core/src/api/execute/mod.rs` (+4 -0) 📝 `bin/core/src/api/execute/sync.rs` (+28 -0) ➕ `bin/core/src/api/read/action.rs` (+132 -0) 📝 `bin/core/src/api/read/mod.rs` (+8 -0) 📝 `bin/core/src/api/read/toml.rs` (+34 -1) 📝 `bin/core/src/api/read/update.rs` (+19 -10) ➕ `bin/core/src/api/write/action.rs` (+59 -0) 📝 `bin/core/src/api/write/description.rs` (+9 -1) 📝 `bin/core/src/api/write/mod.rs` (+7 -0) 📝 `bin/core/src/api/write/permissions.rs` (+14 -0) 📝 `bin/core/src/api/write/sync.rs` (+13 -21) 📝 `bin/core/src/api/write/tag.rs` (+10 -1) _...and 80 more files_ </details> ### 📄 Description - **New Resource: Action** - Write custom actions calling the Komodo API using Typescript and a pre initialized Komodo client. - In UI editor supports linting, suggestions, and shows documentation, using the fully typed `komodo_client` typescript package. - Can Interpolate in Variables using `[[VARIABLE_NAME]]` - Uses [Deno](https://deno.com) to run the typescript. - Komodo Core container ships with Deno and the JS / TS client bundled in, there are no external requests needed to pull any libs. - The API also serves the lib files from your Komodo instance at `{BASE_URL}/client/lib.js`, and you can depend on that directly from Deno files. The version of the served lib will be ensured to match your Core version. - **Stacks**: If you have multiple env files in your folder / repo, you can now specify additional env files to be attached. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 15:16:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#3953