v1.6.0: Switch to user-logon task, migrate API to tsgwp00525 FQDN
- Install-ScheduledTask.ps1: run at user logon with visible UI (was startup with no UI), hardcode install path to C:\eDNC-Fix - Migrate ShopDB API URL from http://geitshopdb/api.asp to https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp in code and docs - eDNC-SpecialCharFix.ps1: ~250 line rework (see diff) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@ PowerShell utility that monitors DNC folders and removes invalid special charact
|
||||
|
||||
- **Language:** PowerShell 5.1+
|
||||
- **Deployment:** Network share (S:\DT\cameron\eDNC-Fix\) → Local (C:\eDNC-Fix\)
|
||||
- **Logging:** ShopDB API (http://geitshopdb/api.asp)
|
||||
- **Logging:** ShopDB API (https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp)
|
||||
- **Version Control:** Gitea (localhost:3000/cproudlock/edncfix)
|
||||
|
||||
## IMPORTANT: After Making Changes
|
||||
@@ -54,7 +54,7 @@ PowerShell utility that monitors DNC folders and removes invalid special charact
|
||||
| Watch Folder | `C:\Dnc_Files\Q` | eDNC-SpecialCharFix.ps1 |
|
||||
| File Filter | `*.pun` | eDNC-SpecialCharFix.ps1 |
|
||||
| Update Source | `S:\DT\cameron\eDNC-Fix` | eDNC-SpecialCharFix.ps1 |
|
||||
| API URL | `http://geitshopdb/api.asp` | eDNC-SpecialCharFix.ps1 |
|
||||
| API URL | `https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp` | eDNC-SpecialCharFix.ps1 |
|
||||
| Update Interval | 300 seconds (5 min) | eDNC-SpecialCharFix.ps1 |
|
||||
|
||||
## ShopDB API Integration
|
||||
@@ -67,7 +67,7 @@ The script logs events to ShopDB via the API. Reference the ShopDB API documenta
|
||||
### API Endpoint: logDNCEvent
|
||||
|
||||
**Method:** POST
|
||||
**URL:** `http://geitshopdb/api.asp`
|
||||
**URL:** `https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp`
|
||||
|
||||
**Parameters:**
|
||||
| Parameter | Type | Required | Description |
|
||||
@@ -89,7 +89,7 @@ The script logs events to ShopDB via the API. Reference the ShopDB API documenta
|
||||
### API Endpoint: getDNCStats
|
||||
|
||||
**Method:** GET
|
||||
**URL:** `http://geitshopdb/api.asp?action=getDNCStats`
|
||||
**URL:** `https://tsgwp00525.rd.ds.ge.com/shopdb/api.asp?action=getDNCStats`
|
||||
|
||||
Returns JSON with all eDNC installations and their stats.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user