diff --git a/README.md b/README.md index 3bec3b9..0052a2d 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ SAP LeanIX agent to discover self built software in self-hosted GitHub Enterpris - `GITHUB_ENTERPRISE_BASE_URL`: The base URL of your GitHub Enterprise Server instance. - `GITHUB_APP_ID`: The ID of your GitHub App. - `PEM_FILE`: The path to your GitHub App's PEM file inside the Docker container. + - `MANIFEST_FILE_DIRECTORY`: The directory path where the manifest files are located in every repository. For more details on the manifest file: [Microservice Discovery Through a Manifest File](https://docs-eam.leanix.net/reference/microservice-discovery-manifest-file) 5. **Start the Agent**: Run the Docker command to start the agent. Replace `` with your actual values: @@ -36,6 +37,7 @@ SAP LeanIX agent to discover self built software in self-hosted GitHub Enterpris -e GITHUB_ENTERPRISE_BASE_URL= \ -e GITHUB_APP_ID= \ -e PEM_FILE=/privateKey.pem \ + -e MANIFEST_FILE_DIRECTORY= \ leanix-github-agent ``` diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index ab0c603..fbda540 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -2,7 +2,7 @@ github-enterprise: baseUrl: ${GITHUB_ENTERPRISE_BASE_URL:} githubAppId: ${GITHUB_APP_ID:} pemFile: ${PEM_FILE:} - manifestFilePath: ${MANIFEST_FILE_PATH:} + manifestFilePath: ${MANIFEST_FILE_DIRECTORY:} leanix: base-url: https://${LEANIX_DOMAIN}/services ws-base-url: wss://${LEANIX_DOMAIN}/services diff --git a/src/test/resources/application.yaml b/src/test/resources/application.yaml index a915b6f..3b1b981 100644 --- a/src/test/resources/application.yaml +++ b/src/test/resources/application.yaml @@ -2,7 +2,7 @@ github-enterprise: baseUrl: ${GITHUB_ENTERPRISE_BASE_URL:dummy} githubAppId: ${GITHUB_APP_ID:dummy} pemFile: ${PEM_FILE:dummy} - manifestFilePath: ${MANIFEST_FILE_PATH:} + manifestFilePath: ${MANIFEST_FILE_DIRECTORY:} leanix: base-url: https://${LEANIX_DOMAIN:dummy}/services ws-base-url: wss://${LEANIX_DOMAIN:dummy}/services