diff --git a/.gitignore b/.gitignore index fe5307d..3470415 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,12 @@ outgoing *sync-con-flict-2023* -sync.ffs_db \ No newline at end of file +sync.ffs_db + +vscode/*.svg +vscode/readme.md + +service-shop/file.json +service-shop/out.json +ssa/out.json +ssa/file.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..f996dab --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "bun", + "internalConsoleOptions": "neverOpen", + "request": "launch", + "name": "Debug File", + "program": "${file}", + "cwd": "${workspaceFolder}", + "stopOnEntry": false, + "watchMode": false + }, + { + "type": "bun", + "internalConsoleOptions": "neverOpen", + "request": "launch", + "name": "Run File", + "program": "${file}", + "cwd": "${workspaceFolder}", + "noDebug": true, + "watchMode": false + } + ] +} \ No newline at end of file diff --git a/package.json b/package.json index eedaa60..0a85439 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,14 @@ "garbage-collect": "git gc" }, "devDependencies": { - "prettier": "3.0.0" + "prettier": "3.0.0", + "@types/bun": "latest" + }, + "name": "ec-documentation", + "module": "index.ts", + "type": "module", + "private": true, + "peerDependencies": { + "typescript": "^5" } } diff --git a/server/messa010ec.md b/server/messa010ec.md index b6b7b3c..750d71d 100644 --- a/server/messa010ec.md +++ b/server/messa010ec.md @@ -94,3 +94,15 @@ Expand-Archive -Force D:\ProgramData\messa010ec\vscode-1.81.0-insider-268f34992c - [x] Windows updates Tue May 20 2025 10:16:49 GMT-0700 (Mountain Standard Time) - [x] OpenSSH-Win64-v9.8.1.0.msi - [x] VSCode Sync 1748879427232 = 638844762272320000 = 2025-2.Spring = Mon Jun 02 2025 08:50:26 GMT-0700 (Mountain Standard Time) + +```yaml 1755180952181 = 638907777521810000 = 2025-4.Summer = Thu Aug 14 2025 07:15:51 GMT-0700 (Mountain Standard Time) +Assign to Burboz Surge (IT OS IC WA AME) +In-place Windows upgrade to 2022 +messa010ec.infineon.com +Service account: ecFIsysadmin +IP: 10.95.140.37 +``` + +- [ ] Set services to manual +- [ ] 254312 - ORD3555783 - INC000008591393 +- [x] Windows updates Tue Aug 19 2025 10:10:53 GMT-0700 (Mountain Standard Time) diff --git a/server/messa011ec.md b/server/messa011ec.md index 813e14a..4732c91 100644 --- a/server/messa011ec.md +++ b/server/messa011ec.md @@ -102,3 +102,4 @@ IP: 10.95.140.38 - [x] Windows updates Wed May 21 2025 08:13:46 GMT-0700 (Mountain Standard Time) - [x] OpenSSH-Win64-v9.8.1.0.msi - [x] VSCode Sync 1748879427232 = 638844762272320000 = 2025-2.Spring = Mon Jun 02 2025 08:50:26 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 10:09:53 GMT-0700 (Mountain Standard Time) diff --git a/server/messa012ec.md b/server/messa012ec.md index 730109e..cdfd824 100644 --- a/server/messa012ec.md +++ b/server/messa012ec.md @@ -81,3 +81,4 @@ Expand-Archive -Force \\mesfs.infineon.com\mestsa02ec\vscode-1.81.0-insider-268f - [x] Windows updates Mon Nov 18 2024 09:41:57 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue Feb 25 2025 06:58:10 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 08:15:25 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:47:08 GMT-0700 (Mountain Standard Time) diff --git a/server/messa013ec.md b/server/messa013ec.md index 5697a9f..f5e53ee 100644 --- a/server/messa013ec.md +++ b/server/messa013ec.md @@ -81,3 +81,4 @@ Expand-Archive -Force \\mesfs.infineon.com\mestsa02ec\vscode-1.81.0-insider-268f - [x] Windows updates Mon Nov 18 2024 09:42:04 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue Feb 25 2025 07:08:06 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 08:40:19 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:46:08 GMT-0700 (Mountain Standard Time) \ No newline at end of file diff --git a/server/messa014ec.md b/server/messa014ec.md index c9a3110..0a96b98 100644 --- a/server/messa014ec.md +++ b/server/messa014ec.md @@ -86,3 +86,4 @@ Expand-Archive -Force \\mesfs.infineon.com\mestsa03ec\vscode-1.81.0-insider-268f - ```bash dism.exe /Online /Cleanup-image /StartComponentCleanup /ResetBase``` - [x] Windows updates Thu Apr 03 2025 10:49:13 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 10:01:56 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 10:16:53 GMT-0700 (Mountain Standard Time) diff --git a/server/messa015ec.md b/server/messa015ec.md index 9e02c94..20ee28f 100644 --- a/server/messa015ec.md +++ b/server/messa015ec.md @@ -97,3 +97,4 @@ IP: 10.95.140.42 - [x] Set services to manual - [x] 254309 - ORD3418729 - INC000008314882 - [x] Windows updates Tue May 20 2025 10:08:34 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 10:08:53 GMT-0700 (Mountain Standard Time) diff --git a/server/messa022ec.md b/server/messa022ec.md index 5c64a0f..5d57971 100644 --- a/server/messa022ec.md +++ b/server/messa022ec.md @@ -65,3 +65,4 @@ updated: 2025-06-20T23:03:02.674Z - [x] Windows updates Mon Aug 19 2024 09:36:35 GMT-0700 (Mountain Standard Time) - [x] Windows updates Mon Nov 18 2024 09:43:33 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue Feb 25 2025 07:04:38 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 09:49:53 GMT-0700 (Mountain Standard Time) diff --git a/server/messa023ec.md b/server/messa023ec.md index c53d446..e3df2d6 100644 --- a/server/messa023ec.md +++ b/server/messa023ec.md @@ -66,3 +66,4 @@ updated: 2025-06-20T23:03:02.674Z - [x] Windows updates Mon Aug 19 2024 09:36:47 GMT-0700 (Mountain Standard Time) - [x] Windows updates Mon Nov 18 2024 09:43:44 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue Feb 25 2025 07:04:49 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 09:50:53 GMT-0700 (Mountain Standard Time) diff --git a/server/messa06ec.md b/server/messa06ec.md index f8c418a..2535a16 100644 --- a/server/messa06ec.md +++ b/server/messa06ec.md @@ -70,3 +70,4 @@ Expand-Archive -Force \\mesfs.infineon.com\mestsa06ec\vscode-1.81.0-insider-268f - [x] Windows updates Tue May 20 2025 08:16:11 GMT-0700 (Mountain Standard Time) - [ ] OpenSSH-Win64-v9.8.1.0.msi - [x] VSCode Sync 1748879427232 = 638844762272320000 = 2025-2.Spring = Mon Jun 02 2025 08:50:26 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:47:08 GMT-0700 (Mountain Standard Time) diff --git a/server/messa08ec.md b/server/messa08ec.md index d68f64c..b6497e0 100644 --- a/server/messa08ec.md +++ b/server/messa08ec.md @@ -40,7 +40,7 @@ updated: 2025-06-20T22:59:31.094Z - [ ] [EAF Runtime Agent](../process/eaf-runtime-agent.md) - [ ] Config -## Sub-tasks +## Sub-tasks I - [x] Ask Travis to remove MES from stl account - [x] Clear Connection Security Rules @@ -104,3 +104,7 @@ IP: 10.95.140.35 Order: ORD3474325 Incident: INC000008426160 ``` + +## Sub-tasks II + +- [x] Windows updates Tue Aug 19 2025 11:08:43 GMT-0700 (Mountain Standard Time) diff --git a/server/mestsa003.md b/server/mestsa003.md index 28cfd6b..1f1c11e 100644 --- a/server/mestsa003.md +++ b/server/mestsa003.md @@ -29,3 +29,4 @@ - [x] Windows updates Tue Feb 25 2025 07:07:20 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue Feb 25 2025 07:19:07 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 08:19:16 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:44:08 GMT-0700 (Mountain Standard Time) diff --git a/server/mestsa005.md b/server/mestsa005.md index 0291897..5728806 100644 --- a/server/mestsa005.md +++ b/server/mestsa005.md @@ -37,3 +37,4 @@ updated: 2025-06-20T23:07:02.153Z - [x] Windows updates Mon Nov 18 2024 10:15:30 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue Feb 25 2025 07:03:04 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 08:17:46 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:44:08 GMT-0700 (Mountain Standard Time) diff --git a/server/mestsa006.md b/server/mestsa006.md index 8fd5b09..37e89e3 100644 --- a/server/mestsa006.md +++ b/server/mestsa006.md @@ -48,3 +48,4 @@ updated: 2025-06-20T23:05:14.664Z - [x] Windows updates Tue May 20 2025 08:17:18 GMT-0700 (Mountain Standard Time) - [x] OpenSSH-Win64-v9.8.1.0.msi - [x] VSCode Sync 1748879427232 = 638844762272320000 = 2025-2.Spring = Mon Jun 02 2025 08:50:26 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:44:08 GMT-0700 (Mountain Standard Time) diff --git a/server/mestsa02ec.md b/server/mestsa02ec.md index 6d9247e..11c95fc 100644 --- a/server/mestsa02ec.md +++ b/server/mestsa02ec.md @@ -93,3 +93,4 @@ Expand-Archive -Force D:\ProgramData\mestsa02ec\vscode-1.81.0-insider-268f34992c - [x] Windows updates Fri Mar 21 2025 11:47:43 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 07:34:11 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 08:40:51 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:47:08 GMT-0700 (Mountain Standard Time) diff --git a/server/mestsa03ec.md b/server/mestsa03ec.md index 164a69e..ee9b3d9 100644 --- a/server/mestsa03ec.md +++ b/server/mestsa03ec.md @@ -90,3 +90,4 @@ tibrvlisten -service 7704 -network ;239.255.77.04 -daemon tibrvd.mes.infineon.co - [x] Windows updates Tue Aug 20 2024 10:06:54 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue Nov 19 2024 10:03:16 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 08:36:17 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:45:08 GMT-0700 (Mountain Standard Time) diff --git a/server/mestsa06ec.md b/server/mestsa06ec.md index a9e2036..b8c4a08 100644 --- a/server/mestsa06ec.md +++ b/server/mestsa06ec.md @@ -55,3 +55,4 @@ Expand-Archive -Force D:\ProgramData\mestsa06ec\vscode-1.81.0-insider-268f34992c - [x] Windows updates Tue Nov 19 2024 09:51:10 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue Feb 25 2025 07:14:52 GMT-0700 (Mountain Standard Time) - [x] Windows updates Tue May 20 2025 08:36:48 GMT-0700 (Mountain Standard Time) +- [x] Windows updates Tue Aug 19 2025 08:46:08 GMT-0700 (Mountain Standard Time) diff --git a/server/mestsa07ec.md b/server/mestsa07ec.md index b011959..f535b21 100644 --- a/server/mestsa07ec.md +++ b/server/mestsa07ec.md @@ -204,66 +204,6 @@ D:\ProgramData\EC_Characterization_Si\RawData - [x] OpenSSH-Win64-v9.8.1.0.msi - [x] VSCode Sync 1748879427232 = 638844762272320000 = 2025-2.Spring = Mon Jun 02 2025 08:50:26 GMT-0700 (Mountain Standard Time) -## Gatus - -```conf => http 1750091306939 = 638856881069390000 = 2025-2.Spring = Mon Jun 16 2025 09:28:26 GMT-0700 (Mountain Standard Time) -### - -# http://leosaec17.infineon.com:8082/ - -### - -http://localhost:8082/ - -### - -http://messa01ec.infineon.com:8082/ - -### - -# http://messa004.infineon.com:8082/ - -### - -# http://messa014.infineon.com:8082/ - -### - -http://messa04ec.infineon.com:8082/ - -### - -http://messa08ec.infineon.com:8082/ - -### - -http://messa010ec.infineon.com:8082/ - -### - -# http://messa013ec.infineon.com:8082/ - -### - -# http://messa015ec.infineon.com:8082/ - -### - -# http://messa020ec.infineon.com:8082/ - -### - -http://mestsa01ec.infineon.com:8082/ - -### - -http://mestsa07ec.infineon.com:8082/ - -### - -# http://messa016ec.infineon.com:8082/ - -### -``` - ## Log + +- [x] Windows updates Tue Aug 19 2025 09:15:53 GMT-0700 (Mountain Standard Time) diff --git a/service-shop/fetch.js b/service-shop/fetch.js new file mode 100644 index 0000000..76b9748 --- /dev/null +++ b/service-shop/fetch.js @@ -0,0 +1,9 @@ +let url = 'https://serviceshop.infineon.com/m42Services/api/orders?decider=false&costCenterDecider=false&catalogRequest=false&minimalResultSet=true&$orderby=CreatedDate%20desc&$top=2000&$count=true'; +fetch(url) + .then((res) => res.text()) + .then((text) => { + const data = JSON.parse(text); + if (data.length > 0) + console.log(data[0]); + }) + .catch((e) => console.error(e)); \ No newline at end of file diff --git a/service-shop/file.js b/service-shop/file.js new file mode 100644 index 0000000..fef977a --- /dev/null +++ b/service-shop/file.js @@ -0,0 +1,27 @@ +import serviceShop from '../service-shop/file.json' with { type: 'json' }; + +let booking; +let element; +let services = []; +let bookings = []; +const path = 'J:/5-Other-Small/Notes/EC-Documentation/service-shop/out.json'; + +for (let i = 0; i < serviceShop.Orders.length; i++) { + bookings = []; + element = serviceShop.Orders[i]; + for (let j = 0; j < element.Bookings.length; j++) { + booking = element.Bookings[j]; + bookings.push({ + 'Name': booking.Name, + 'ServiceId': booking.Service.Id + }); + } + services.push({ + 'Name': element.Name, + 'CreatedDate': element.CreatedDate, + 'Bookings': bookings + }); +} + +const json = JSON.stringify(services); +await Bun.write(path, json); \ No newline at end of file diff --git a/ssa/fetch.js b/ssa/fetch.js new file mode 100644 index 0000000..cbb0318 --- /dev/null +++ b/ssa/fetch.js @@ -0,0 +1,9 @@ +let url = 'https://ssa.eu.infineon.com/m42Services/api/orders?decider=false&costCenterDecider=false&catalogRequest=false&minimalResultSet=true&$orderby=CreatedDate%20desc&$top=2000&$count=true'; +fetch(url) + .then((res) => res.text()) + .then((text) => { + const data = JSON.parse(text); + if (data.length > 0) + console.log(data[0]); + }) + .catch((e) => console.error(e)); \ No newline at end of file diff --git a/ssa/file.js b/ssa/file.js new file mode 100644 index 0000000..0e73a5f --- /dev/null +++ b/ssa/file.js @@ -0,0 +1,27 @@ +import ssa from '../ssa/file.json' with { type: 'json' }; + +let booking; +let element; +let services = []; +let bookings = []; +const path = 'J:/5-Other-Small/Notes/EC-Documentation/ssa/out.json'; + +for (let i = 0; i < ssa.Orders.length; i++) { + bookings = []; + element = ssa.Orders[i]; + for (let j = 0; j < element.Bookings.length; j++) { + booking = element.Bookings[j]; + bookings.push({ + 'Name': booking.Name, + 'ServiceId': booking.Service.Id + }); + } + services.push({ + 'Name': element.Name, + 'CreatedDate': element.CreatedDate, + 'Bookings': bookings + }); +} + +const json = JSON.stringify(services); +await Bun.write(path, json); \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..bfa0fea --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + // Environment setup & latest features + "lib": ["ESNext"], + "target": "ESNext", + "module": "Preserve", + "moduleDetection": "force", + "jsx": "react-jsx", + "allowJs": true, + + // Bundler mode + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "noEmit": true, + + // Best practices + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + + // Some stricter flags (disabled by default) + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false + } +}