Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check Single Commit
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
const commits = await github.rest.pulls.listCommits({
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
java-version: ${{ matrix.java_version }}

- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}
cache: yarn
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
uses: sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 # v1

- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}
cache: yarn
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/documentaion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check required confirmation checkbox
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v7
with:
script: |
const prBody = context.payload.pull_request.body || "";
const checkbox1Text = "- [x] I have determined that no documentation updates are needed for these changes";
const checkbox2Text = "- [x] I have added following documentation for these changes";

const checkbox2Text = "- [x] I have added the following documentation for these changes";
if (!prBody.includes(checkbox1Text) && !prBody.includes(checkbox2Text)) {
core.setFailed("❌ Required documentation checkbox not checked. Please check one of the the box before merging.");
} else {
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}
cache: yarn
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}
cache: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
java-version: ${{ matrix.java_version }}

- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
java-version: 17

- name: Install Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v4.4.0
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v4.4.0
with:
node-version: 20
cache: yarn
Expand Down
31 changes: 31 additions & 0 deletions doc/Wiki.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,37 @@ Referenced Links:
* https://sematext.com/blog/logging-levels/
* https://www.crowdstrike.com/en-us/cybersecurity-101/next-gen-siem/logging-levels/

## Variable Configuration

Variables are configured using **Key** and **Value** fields in the launch configuration wizard.

- **Key**: The variable name
- **Value**: The value assigned to the variable

Use the **“+ Add Variable”** button to add additional entries. Each row can be removed using the **“X”** button.

<img width="790" height="186" alt="variables_gui" src="https://github.com/user-attachments/assets/0bd03842-4fe9-41e9-985b-272c0a80e48d" />

<img width="470" height="152" alt="variables_launchjson" src="https://github.com/user-attachments/assets/09ce477c-1026-4d6c-9922-a31459e7b0e1" />

## Tunable Configuration

Tunables are configured using **Key** and **Value** fields in the launch configuration wizard.

- **Key**: The tunable name
- **Value**: The value assigned to the tunable

Use the **“+ Add Tunable”** button to add additional entries. Each row can be removed using the **“X”** button.

Tunables control runtime behavior and performance characteristics. Most tunables have default values, so you only need to specify a value if you want to override them.

<img width="790" height="176" alt="tunables_gui" src="https://github.com/user-attachments/assets/f78d5471-bfff-4cfb-b6cf-62c787a8e31b" />

<img width="360" height="177" alt="tunables_launchjson" src="https://github.com/user-attachments/assets/0d70044d-d04c-4f47-958c-175c6e67f3f9" />

### Reference
- https://daffodil.apache.org/tunables/

## Root element and namespace auto suggestions/finding
In the launch.json file, there's a new suggestion mode that gives you suggestions to fill in for the rootname. If you specify the specific schema path, and then save the file, and reopen it. Go to rootname and delete whatever value is set-- it will show you various suggestions.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@
"@types/vscode-webview": "^1.57.5",
"@vscode/debugadapter-testsupport": "1.68.0",
"@vscode/test-electron": "2.5.2",
"@vscode/vsce": "^3.5.0",
"@vscode/vsce": "^3.9.1",
"chai": "^6.0.1",
"cli-progress": "^3.12.0",
"concurrently": "^9.2.1",
"css-loader": "^7.1.2",
"esbuild": "^0.25.10",
"fast-xml-parser": "^5.5.9",
"fast-xml-parser": "^5.7.2",
"glob": "13.0.0",
"mocha": "11.5.0",
"picocolors": "^1.1.1",
Expand Down
2 changes: 2 additions & 0 deletions src/classes/vscode-launch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export interface VSCodeLaunchConfigArgs {
stopOnEntry: boolean
useExistingServer: boolean
trace: boolean
tunables?: Record<string, string>
variables?: Record<string, string>
openDataEditor: boolean
openInfosetView: boolean
openInfosetDiffView: boolean
Expand Down
44 changes: 43 additions & 1 deletion src/launchWizard/launchWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,50 @@ class LaunchWizard {
<p id="tdmlPathLabel" style="${tdmlPathVisOrHiddenStyle}" class="setting-description">TDML File Path:</p>
<input style="${tdmlPathVisOrHiddenStyle}" class="file-input" value="${tdmlPath}" id="tdmlPath">
</div>

<div id="tunablesDiv" class="setting-div" style="margin-top: 15px;">
<p>Tunables:</p>
<p class="setting-description">Key/value configuration options</p>

<table style="width: 100%; border-collapse: collapse; margin-top: 5px;">
<thead>
<tr>
<th style="text-align: left;">Key</th>
<th style="text-align: left;">Value</th>
<th></th>
</tr>
</thead>
<tbody id="tunablesTableBody">
<!-- rows later -->
</tbody>
</table>

<button id="addTunableBtn" onclick="addTunableRow()" style="margin-top: 10px;">
+ Add Tunable
</button>
</div>

<div id="VariablesDiv" class="setting-div" style="margin-top: 15px;">
Comment thread
adedoyinNteligen marked this conversation as resolved.
<p>Variables:</p>
<p class="setting-description">Key/value configuration options</p>

<table style="width: 100%; border-collapse: collapse; margin-top: 5px;">
<thead>
<tr>
<th style="text-align: left;">Key</th>
<th style="text-align: left;">Value</th>
<th></th>
</tr>
</thead>
<tbody id="variablesTableBody">
<!-- rows later -->
</tbody>
</table>

<button id="addVariableBtn" onclick="addVariableRow()" style="margin-top: 10px;">
+ Add Variable
</button>
</div>
<div id="dataEditorDiv" class="setting-div">
<p>Data Editor Settings:</p>

Expand All @@ -769,7 +812,6 @@ class LaunchWizard {
${dataEditorLogLevelSelect}
</select>
</div>

<br/>
<button class="save-button" type="button" onclick="save()">Save</button>
</body>
Expand Down
Loading
Loading