Release 2.8.0.202610120333
This commit is contained in:
@@ -5,7 +5,7 @@ server runs on your computer. It accepts connections from `127.0.0.1` only.
|
||||
|
||||
## Choose a mode
|
||||
|
||||
EPOD has two modes. Both modes give the same 31 tools.
|
||||
EPOD has two modes. Both modes give the same 33 tools.
|
||||
|
||||
| Topic | Eclipse mode | Standalone mode |
|
||||
|---|---|---|
|
||||
|
||||
@@ -194,10 +194,10 @@ Each connected system has an access mode: `write` or `read-only`. A new connecti
|
||||
|
||||
The tab **Log** shows `System <name> is now read-only.`
|
||||
|
||||
A read-only system refuses these 10 tools and makes no call to SAP: `sap_push_source`, `sap_push_source_from_file`,
|
||||
`sap_push_element`, `sap_push_message`, `sap_create_object`, `sap_activate`, `sap_lock`, `sap_unlock`,
|
||||
`sap_transport_create`, and `sap_transport_release`. All other tools work. The view stores the mode for each
|
||||
project. The mode stays after a restart of Eclipse.
|
||||
A read-only system refuses these 11 tools and makes no call to SAP: `sap_push_source`, `sap_push_source_from_file`,
|
||||
`sap_push_element`, `sap_push_message`, `sap_push_fields`, `sap_create_object`, `sap_activate`, `sap_lock`,
|
||||
`sap_unlock`, `sap_transport_create`, and `sap_transport_release`. All other tools work. The view stores the mode
|
||||
for each project. The mode stays after a restart of Eclipse.
|
||||
|
||||
## 9. Security log
|
||||
|
||||
|
||||
@@ -32,6 +32,10 @@ The launcher is `epod-adt` on macOS and `epod-adt.ps1` on Windows. Run a command
|
||||
`start`, `stop`, and `install` hold the file `start.lock` while they work. A client entry that must start the server
|
||||
waits for this lock.
|
||||
|
||||
`mode <id> read-only` and `mode <id> write` send the change to the running server. When the server does not answer on
|
||||
its port, the commands read `epod-adt.pid`. When that process runs, the commands change nothing and exit with code 1.
|
||||
Else the commands write `epod.properties`.
|
||||
|
||||
The commands `__install`, `__start`, `__stop`, `run-locked`, and `monitor --frames-to-stderr` are internal. Do not
|
||||
use them.
|
||||
|
||||
@@ -143,6 +147,6 @@ The server accepts a maximum of 8 sessions. It drops a session after 30 minutes
|
||||
Every request to `/mcp` needs the header `Authorization: Bearer <token>`. A request with an `Origin` header gets HTTP
|
||||
403.
|
||||
|
||||
The 10 write tools refuse a read-only system: `sap_push_source`, `sap_push_source_from_file`, `sap_push_element`,
|
||||
`sap_push_message`, `sap_create_object`, `sap_activate`, `sap_lock`, `sap_unlock`, `sap_transport_create`, and
|
||||
`sap_transport_release`.
|
||||
The 11 write tools refuse a read-only system: `sap_push_source`, `sap_push_source_from_file`, `sap_push_element`,
|
||||
`sap_push_message`, `sap_push_fields`, `sap_create_object`, `sap_activate`, `sap_lock`, `sap_unlock`,
|
||||
`sap_transport_create`, and `sap_transport_release`.
|
||||
|
||||
@@ -25,8 +25,8 @@ version and a SHA-256 file in the folder `standalone/`.
|
||||
<!-- external-only:start -->
|
||||
Users outside SAP use the external update site:
|
||||
|
||||
curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.6.1.zip
|
||||
curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.6.1.zip.sha256
|
||||
curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.8.0.zip
|
||||
curl -L -O https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.8.0.zip.sha256
|
||||
|
||||
<!-- external-only:end -->
|
||||
SAP developers download the two files from `https://github.tools.sap/GLOFINDEFICA/epod-adt-mcp-updatesite/raw/main/standalone/` in a browser with a sign-in. The second way is a clone of
|
||||
@@ -34,9 +34,9 @@ version and a SHA-256 file in the folder `standalone/`.
|
||||
|
||||
3. Check the zip:
|
||||
|
||||
shasum -a 256 -c epod-adt-standalone-2.6.1.zip.sha256
|
||||
shasum -a 256 -c epod-adt-standalone-2.8.0.zip.sha256
|
||||
|
||||
The command prints `epod-adt-standalone-2.6.1.zip: OK`.
|
||||
The command prints `epod-adt-standalone-2.8.0.zip: OK`.
|
||||
|
||||
CAUTION: Do not install a zip when the check does not print `OK`.
|
||||
|
||||
@@ -48,11 +48,11 @@ You can also build the zip from the source repository with `./mvnw clean verify`
|
||||
1. Open a terminal in the folder of the zip.
|
||||
2. Unpack the zip:
|
||||
|
||||
unzip epod-adt-standalone-2.6.1.zip
|
||||
unzip epod-adt-standalone-2.8.0.zip
|
||||
|
||||
3. Run the install:
|
||||
|
||||
sh epod-adt-standalone-2.6.1/epod-adt install
|
||||
sh epod-adt-standalone-2.8.0/epod-adt install
|
||||
|
||||
The command prints `EPOD ADT MCP server installed in /Users/<user>/.epod-adt:` and the two jars.
|
||||
|
||||
@@ -177,7 +177,7 @@ Check the destination list after the addition.
|
||||
## 8. Access mode
|
||||
|
||||
Each destination has an access mode, `write` or `read-only`. A destination without a mode line is `write`. A
|
||||
read-only destination refuses the 10 write tools and makes no request to SAP.
|
||||
read-only destination refuses the 11 write tools and makes no request to SAP.
|
||||
|
||||
- Show the destinations and their mode:
|
||||
|
||||
@@ -278,3 +278,4 @@ Do not delete `~/.adtls/destinations.json`. The ADT for VS Code extension owns t
|
||||
| A tool returns `System <id> is set to read-only.` | The destination is read-only. | Run `~/.epod-adt/epod-adt mode <id> write` in a terminal. |
|
||||
| A tool returns `Multiple systems available. Specify 'systemId'.` | Two or more destinations exist. | Tell the MCP client the destination ID. |
|
||||
| `A change to write mode needs an interactive terminal.` | A shell tool or a pipe ran `mode <id> write`. | Run the command in a terminal. |
|
||||
| `A server process runs (pid <pid>), but it does not answer on port <port>. The mode of <id> did not change.` | The server process runs, but it does not answer on the port of `epod.properties`. A start can still run. | Wait until the start ends. Run the command again. If the message stays, run `~/.epod-adt/epod-adt stop` and run the command again. |
|
||||
|
||||
@@ -32,8 +32,8 @@ version and a SHA-256 file in the folder `standalone/`.
|
||||
<!-- external-only:start -->
|
||||
Users outside SAP use the external update site:
|
||||
|
||||
Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.6.1.zip -OutFile epod-adt-standalone-2.6.1.zip
|
||||
Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.6.1.zip.sha256 -OutFile epod-adt-standalone-2.6.1.zip.sha256
|
||||
Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.8.0.zip -OutFile epod-adt-standalone-2.8.0.zip
|
||||
Invoke-WebRequest -UseBasicParsing -Uri https://git.epod.dev/erhan/epod-adt-mcp-updatesite/raw/branch/main/standalone/epod-adt-standalone-2.8.0.zip.sha256 -OutFile epod-adt-standalone-2.8.0.zip.sha256
|
||||
|
||||
<!-- external-only:end -->
|
||||
SAP developers download the two files from `https://github.tools.sap/GLOFINDEFICA/epod-adt-mcp-updatesite/raw/main/standalone/` in a browser with a sign-in. The second way is a clone of
|
||||
@@ -41,7 +41,7 @@ version and a SHA-256 file in the folder `standalone/`.
|
||||
|
||||
3. Check the zip:
|
||||
|
||||
(Get-FileHash -Algorithm SHA256 .\epod-adt-standalone-2.6.1.zip).Hash -eq (Get-Content .\epod-adt-standalone-2.6.1.zip.sha256).Split(' ')[0]
|
||||
(Get-FileHash -Algorithm SHA256 .\epod-adt-standalone-2.8.0.zip).Hash -eq (Get-Content .\epod-adt-standalone-2.8.0.zip.sha256).Split(' ')[0]
|
||||
|
||||
The command prints `True`.
|
||||
|
||||
@@ -57,15 +57,15 @@ Windows marks a file from the internet. A Group Policy can block a marked script
|
||||
1. Open a terminal in the folder of the zip.
|
||||
2. Remove the mark from the downloaded zip:
|
||||
|
||||
Unblock-File .\epod-adt-standalone-2.6.1.zip
|
||||
Unblock-File .\epod-adt-standalone-2.8.0.zip
|
||||
|
||||
3. Unpack the zip:
|
||||
|
||||
Expand-Archive epod-adt-standalone-2.6.1.zip -DestinationPath .
|
||||
Expand-Archive epod-adt-standalone-2.8.0.zip -DestinationPath .
|
||||
|
||||
4. Run the install:
|
||||
|
||||
powershell -ExecutionPolicy Bypass -File .\epod-adt-standalone-2.6.1\epod-adt.ps1 install
|
||||
powershell -ExecutionPolicy Bypass -File .\epod-adt-standalone-2.8.0\epod-adt.ps1 install
|
||||
|
||||
The command prints `EPOD ADT MCP server installed in C:\Users\<user>\.epod-adt:` and the two jars.
|
||||
|
||||
@@ -198,7 +198,7 @@ Check the destination list after the addition.
|
||||
## 8. Access mode
|
||||
|
||||
Each destination has an access mode, `write` or `read-only`. A destination without a mode line is `write`. A
|
||||
read-only destination refuses the 10 write tools and makes no request to SAP.
|
||||
read-only destination refuses the 11 write tools and makes no request to SAP.
|
||||
|
||||
- Show the destinations and their mode with `epod-adt.ps1 mode`.
|
||||
- Set a destination to read-only with `epod-adt.ps1 mode ABC_001 read-only`.
|
||||
@@ -289,3 +289,4 @@ Do not delete `%USERPROFILE%\.adtls\destinations.json`. The ADT for VS Code exte
|
||||
| A tool returns `System <id> is set to read-only.` | The destination is read-only. | Run `epod-adt.ps1 mode <id> write` in a terminal. |
|
||||
| A tool returns `Multiple systems available. Specify 'systemId'.` | Two or more destinations exist. | Tell the MCP client the destination ID. |
|
||||
| `A change to write mode needs an interactive terminal.` | A shell tool or a pipe ran `mode <id> write`. | Run the command in a terminal. |
|
||||
| `A server process runs (pid <pid>), but it does not answer on port <port>. The mode of <id> did not change.` | The server process runs, but it does not answer on the port of `epod.properties`. A start can still run. | Wait until the start ends. Run the command again. If the message stays, run `epod-adt.ps1 stop` and run the command again. |
|
||||
|
||||
Reference in New Issue
Block a user