Skip to content

MCP Server MVP#231

Merged
panizzag merged 14 commits intodevelopfrom
feature/mcp-server-mvp
Jul 22, 2025
Merged

MCP Server MVP#231
panizzag merged 14 commits intodevelopfrom
feature/mcp-server-mvp

Conversation

@panizzag
Copy link
Collaborator

@panizzag panizzag commented Jul 8, 2025

Add support for MCP Server (Model Context Protocol) to perform basic GET operations exposing them as tools to MCP clients. This code will allow agents using this server (the clients) to discover and call the available tools as needed. This new layer provides a fine grained granularity upon the endpoints, avoiding retrieving all the collectors all at once to not impact the "streaming" experience. For instance, if Cloudhub and APIM metrics are needed, the agent should call two times the same operation with different collectors.

@panizzag panizzag requested a review from DavoCoder July 8, 2025 12:38
Copy link
Collaborator

@DavoCoder DavoCoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! We might need to revisit a couple of minor things 1/ MCP connector version 2/ amq, osv2 collectors (connected apps) 3/ temp files from dataweave

@panizzag panizzag merged commit bb256ae into develop Jul 22, 2025
1 check failed
@panizzag panizzag deleted the feature/mcp-server-mvp branch July 22, 2025 18:00
panizzag added a commit that referenced this pull request Aug 7, 2025
* Rebranding

- Refactored the application to remove every mention to Metrics Framework
- Fixed MUnit response payload that was causing unit tests to fail

* Fixing naming convention and adding embedded dashboards readme section

* Resolving APIM limit of 100 assets using pagination

* Fixing readme

* Adding MongoDB loader.

* Fixing AM Loader metrics

* Ading enable/disable option for the embedded dashboard

* Usable vCores available for any BG should be vCores assigned less vCores reassigned.

* Usable vCores available for any BG should be vCores assigned less vCores reassigned.

* Usable vCores available for any BG should be vCores assigned less vCores reassigned.

* Resolutions for PR57

* Update build-platform-metrics-aggregation.dwl

* Tableu Strategy

- Added platform metrics current consolidated dashboard
- Changed tableau strategy JSON file generation rule
- Changed tableau.path property to tableau.outputDir
- Added tableau strategy request in postman collection
- Updated README.md with tableau instructions

* Splunk - Current Consolidated Dashboard Fixes

- Fixed stats calculations (use sum instead of max for quantities)
- Fixed typos

* RawData var assignment

Fixed rawData variable assignment: when setting loaderDetails from payload, rawData value was being retrieved from vars context instead of being retrieved from payload.

* ARM API Max Concurrency

ARM API call requests were failing with 503 (SERVICE UNAVAILABLE). Reducing ARM API max concurrent calls from 100 to 3 prevents this error to happen.

* Overall Satisfaction Calculation

Changed Overall Satisfaction Calculation to consider only rated assets (unrated assets shouldn't be considered when calculating overall satisfaction.

* Log Messages

- Fixed misleading log message when role groups collection is disabled
- Added log messages when ARM Apps collection is disabled
- Fixed log message typos

* Issue #64

Fixed issue #64: platform benefits metrics loader default router should call platform benefits metrics default loader flow instead of platform metrics default loader flow.

* Revert "Issue #64"

This reverts commit c2ebcf9.

* Issue #64

Fixes issue #64: platform benefits metrics loader default router should call platform benefits metrics default loader flow instead of platform metrics default loader flow.

* Tableau Strategy

- Added Cloudhub runtime manager metrics in current consolidated Tableau dashboard
- Fixed current consolidated Tableau dashboard to look similar to Splunk verion.
- Updated README.md file with further instructions regarding Tableau Strategy: limitation if MA is running on CH or RTF, and instructions about how to manually generate JSON files using JSON strategy.

* Tableau Strategy

Fixed Tableau Steps section in README.md

* Changing API Platform logic in order to aggregate all available api applications/clients through a foreach

* ELK loader fixes

Fixed ELK bulk load HTTP request"
-added Content-Type=application/json
-used correct vars.index for metrics/benefits index
Fixed flow reference name in loader-router for loader-benefits-elk-main-flow

* Fix README typo for Tableau. Externalize path calculation in write operation for Tableau. Refactor external systems configuration files to include related HTTP config on each file, removing these from global.xml. Add note in README.md

* PR fixes

* fixes of the MongoDB loader

* README fixes

* Updating dependencies

* upgrade to 4.2.2 as min version

* Disabling MongoDB loader by default

* Disabling MongoDB loader by default

* Fixing logs

* Fixed tests + adding new tests - 93.79 test coverage - refactor of some flows

* 95.0 coverage + examples location refactor + poller adjustments

* adding APIManager example payloads with apis and api instances, updating mocks

* adding test for environment call failure

* reformat

* Update pom.xml

* Increase artifact version

* Add new incremental version of the artifact

* OSV2 metrics added

* OSV2 metrics added with munits fixed

* Adding readme, group of api manager metrics for scatter gather room

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent with apim grouped metrics

* Issue #90 - Comma in BG names

Updated README.md to instruct the users that changing the implementation may be required in some situations, and explaining how to configure CSV output formatting options.

* Update README.md

* Removing osv2 for connected apps

* Adding details for CloudHub apps and API Manager

* adding RTF and Standalone granular metrics

* Refactor + covering MQ + unit tests

* Adding osv2 details

* Fixing munits

* Add server, cluster, and serverGroup by environment and fix MUnit tests

* Adding/Updating detailed metrics to have full consistency with aggregated sections

* Missing ignoring osv2 in connected apps when set from payload

* Missing ignoring osv2 in connected apps when set from query params

* Fixing munit for the missing property in connected apps

* Removing wrong dependency

* Adding osv2 to the raml

* Increasing version

* Update README.md

* Update README.md

* OSv2: Add fixes. Increase version for release

* OSv2: Add fixes. Increase version for release. Add note to README

* Re phrase Splunk character limitation

* Hide metrics sheets

Change sheets hidden property to true in order to make only the dashboard sheet visible. As there is a sheet per metric / indicator, it was hard to find the actual dashboard.

* Enhance RAML spec, Features Backlog items 21, 22, 23, 24 and 25

* Add models for elk, am and mongodb as loaders options. Fix file name

* fix to aggregate API manager payload when # of contracts is greater than value defined in vars.apisTotalObtained

* Externalize offset into props file. Fix agg transform.

* Externalize APIM offset using a var, set at beginning as other commons

* This is the new einstein feature

* Updated reference to tableau output dir in loader to align poller and API approachees. Updated postman collection to align table request with Splunk request

* Added accept header to analytics API query to ensure JSON response

* Update api.xml

Add missing ">" after manually merging conflicts

* Add call to 'common-set-collector-vars-from-properties-api-manager' from missing post platform metrics, business metrics and poller.xml

* Update api.xml

Fix indentation

* Merge auth feature and some fixes into develop (#1)

# Features
**Separate Anypoint Headers from API Auth**
  - api.raml: moved anypoint headers to Anypoint headers trait and removed from securedBy.  The headers are the Anypoint Platform securty, NOT necessarily the security for this API.  Keeping them out of the Authorization header allows for implementers to use their own security such as OAuth.  The Anypoint security must still be provided in addition to any security added by the implementer.
  - Added feature to allow Base64 or plain text secrets in both secret/password Anypoint headers.

**Added properties and loggers for API and Dash**
  - Added API and Dashboard HTTP values as properties in app-dev.yaml.
  - Added loggers to dashboard choices for debugging.  Added 501-Not Implemented if dashboard is disabled.

# Fixes
- Fixed api.xml flow names to match api.raml for POST.  Auto-generated flow names were different.
- Updated latest version of dependencies
- api-call-api-platform: Added default empty string to avoid null error when no response code provided.

* Updating Unit tests for tableau strategies

* Changed references of Accelerator to Toolkit in Tableau dashboard

* Updated titles of Splunk dashboards

* Issue #109 - Exchange assets Query limit off 250 records

* Rebrand

* Rebranding README andd RAML files. Updated references of accelerator to toolkit. Also updated refs in postman collection

* Done with CoreServicesMetric - usersTotal pagination

* Separate the headers into multiple traits.

* Separate the headers into multiple traits.

* Revert dependencies versions

* Fix platform user auth test case. After removing the Basic Auth option, the test case was breaking. 98.45% Code Coverage.

* Fix Connected App. Base64 regex reccognize the client secret as Base64 by default, so if sent as plain, fails auth. Remove the option of client-secret as base64

* Remove duplicated header X-ANYPNT-ORG-ID

* Adding additional context to required roles for Anypoint User

* Rename project and update pom references

* Update pom.xml

Increment pom version for release

* Update pom.xml

Incremented pom to next Snapshot version following release 1.8.0

* Fix cannot coerce array as string to object

* Increase code coverage, including un tested code added for resolution of Issue #109

* Reverting local pom changes

* Update pom.xml

Updated pom version for release 1.8.1

* Update pom.xml

Increment pom to next snapshot version

* Resolving issue 137 - Added X-PLAINTEXT-PASSWORD header as plaintext flag

Added a new header X-PLAINTEXT-PASSWORD to act as a flag when a plaintext password is provided to avoid incorrectly decoding from base64

* Update pom.xml

Updated pom version for release 1.8.2

* Casing of attributes.headers references

Capital casing of references to attributes.headers.<header> resolving as null. Changed to lower case to mitigate

* Added base64 encoding to password in embedded dashboard

* Update set-client-secret-var.dwl

* Update pom.xml

Increment pom to next SNAPSHOT version

* Wrapped target values in DW expression

* Minor Munit updates, and dependency version increases to align with Mule 4.4.0

* Modifying how security policies are identified

* Added list of security policies as property to allow for easier customisation

* Updated postman collection for usability.
- Added markdown documentation in collection description that describes folders and required variables.
- Moved requests into categorized folders: Benefits & Platform Metrics for now.
- Added prerequest scripts to folders for setting all Anypoint Platform headers from variables
- Added url variable for requests, to support multiple environments.

* Updated README with new config property for security policiy list

* Adding env level details to CSV and JSON loaders

* Streamling SFDC metrics loader flow

* Added SDLC Metrics for Azure DevOps

* Removed extra logging and changed component names

* externalized dataweave scripts

* Update pom.xml

* Update .gitignore

* Adding env level metrics to SFDC output

* Introduce ability to ignore environments

Similar to the ability to ignore organizations, it is useful to be able to specify environments to ignore - this is especially useful when using connected-app-credentials and only granting access to a subset of the environments within an organization

* Update .gitignore

* Adding MUnits for SFDC analytics

* Update README.md

* Updating READMEs

* Update README.md

* Update postman_collection.json

* Delete api.raml

* Update blank_dataset.csv

* Update api-call-coreservices.xml

* Extract filter environments transform to DW file

* Changing year formatting from yyyy to uuuu to prevent parsing errors

* Update pom.xml

* Update pom.xml

* Simplifying Postman collection

Simplified Postman collection to use only Environment vars rather than Global and Environment.
Added section to README on Postman collection usage
Removed toLowerCase() from pre-request scripts

* Update README.md

* corrected copy paste error

* Update README.md

* Update README.md

* Changed links to be relative

* Added secure properties list to mule-artifact.json

* Updated HTTP ELK Request Config to use defined property

* Fix for incorrect variable rawData

The variable rawData was set in the same Transform Message component as the variable loaderDetails, on which the DataWeave for rawData depends. Thus vars.rawData was not set correctly.

* Adding version to the Splunk forms according Splunk 9.0.0 specifications on https://docs.splunk.com/Documentation/Splunk/9.0.0/Viz/DashboardjQuery

* #195 Excluded secure property files from index

* Release 1.9.1

* Release 1.9.1 (#197)

* Done with CoreServicesMetric - usersTotal pagination

* Added SDLC Metrics for Azure DevOps

* Removed extra logging and changed component names

* externalized dataweave scripts

* Update pom.xml

* Simplifying Postman collection

Simplified Postman collection to use only Environment vars rather than Global and Environment.
Added section to README on Postman collection usage
Removed toLowerCase() from pre-request scripts

* Update README.md

* corrected copy paste error

* Update README.md

* Update README.md

* Changed links to be relative

* Added secure properties list to mule-artifact.json

* Updated HTTP ELK Request Config to use defined property

* Fix for incorrect variable rawData

The variable rawData was set in the same Transform Message component as the variable loaderDetails, on which the DataWeave for rawData depends. Thus vars.rawData was not set correctly.

* Adding version to the Splunk forms according Splunk 9.0.0 specifications on https://docs.splunk.com/Documentation/Splunk/9.0.0/Viz/DashboardjQuery

* #195 Excluded secure property files from index

* Release 1.9.1

Co-authored-by: Andres Alleva <andres.alleva@gmail.com>
Co-authored-by: Scott Ratliff <scott.ratliff@mulesoft.com>
Co-authored-by: richardmckinley <58299919+richardmckinley@users.noreply.github.com>
Co-authored-by: Alberici <92322091+angelalbericisfdc@users.noreply.github.com>
Co-authored-by: Rodrigo Fuentes <rodrigojfuentes@gmail.com>
Co-authored-by: Victor Moreno <vmoreno@mulesoft.com>
Co-authored-by: Christina Bauer <christina.bauer@mulesoft.com>
Co-authored-by: George Kroon <info@george-kroon.nl>

* Increment version

* Add code check to run unit tests

* Increment version

* Remove sensitive data

* Revert POM version

* MCP Server MVP (#231)

* Added MCP documentation. Refactor documentation to include /docs folder and moving existing docs under it.

* Add MCP Support for Metrics Toolkit. Implement getAvailableCollectors and getCapabilities. Add MUnit tests for both.

* Implement getPlatformMetricsByCollector. Make amq collector to work with Connected Apps (this is not MCP related).

* Implement MCP Exchange collector

* Implement MCP Design Center and Api Manager collector

* Implement Test MCP Arm, Core. RTF is dummy

* Add support for MCP tool getPlatformMetricsByKey

* Update README to capture requirement for Mule 4.9.3 as minimum version to support MCP

* Update postman collection to include MCP support

* Update runtime version to make it compatible with min mule version

* Refactor listener and server for MCP. Move to Global.xml

* Externalize most of Dataweave transformations into files

* Replace Agent by Server terminology

* Update mcp connector version to GA version

---------

Co-authored-by: panizzag <gpanizza@salesforce.com>

---------

Co-authored-by: olamiral-mulesoft <olamiral@mulesoft.com>
Co-authored-by: David Cisneros <cisneros.david@gmail.com>
Co-authored-by: jmelamed <melamedjoel@gmail.com>
Co-authored-by: Elyes Jouini <joax87@gmail.com>
Co-authored-by: vs193928 <vikas.sharma@mulesoft.com>
Co-authored-by: gozdy <gonzalo.ozdy@mulesoft.com>
Co-authored-by: rafa <rafa@mulesoft>
Co-authored-by: rpavek <rpavek@mulesoft.com>
Co-authored-by: Damian Calabresi <damiancalabresi@gmail.com>
Co-authored-by: Qamar Ahmed <qahmed@qahmed-ltm5s52.internal.salesforce.com>
Co-authored-by: Richard McKinley <richard.mckinley@mulesoft.com>
Co-authored-by: titans-of-code <53096698+titans-of-code@users.noreply.github.com>
Co-authored-by: richardmckinley <58299919+richardmckinley@users.noreply.github.com>
Co-authored-by: Andres Alleva <andres.alleva@gmail.com>
Co-authored-by: Charles Young <charles.young@mulesoft.com>
Co-authored-by: Scott Ratliff <scott.ratliff@mulesoft.com>
Co-authored-by: Chris Hughes <Chris.Hughes1@test-and-trace.nhs.uk>
Co-authored-by: Chris Hughes <cajhughes@users.noreply.github.com>
Co-authored-by: Alberici <92322091+angelalbericisfdc@users.noreply.github.com>
Co-authored-by: Rodrigo Fuentes <rodrigojfuentes@gmail.com>
Co-authored-by: Victor Moreno <vmoreno@mulesoft.com>
Co-authored-by: Christina Bauer <christina.bauer@mulesoft.com>
Co-authored-by: George Kroon <info@george-kroon.nl>
Co-authored-by: muleysteve <30406388+muleysteve@users.noreply.github.com>
Co-authored-by: Steve Roberts <steve.roberts@mulesoft.com>
Co-authored-by: panizzag <gpanizza@salesforce.com>
panizzag added a commit that referenced this pull request Dec 2, 2025
* Rebranding

- Refactored the application to remove every mention to Metrics Framework
- Fixed MUnit response payload that was causing unit tests to fail

* Fixing naming convention and adding embedded dashboards readme section

* Resolving APIM limit of 100 assets using pagination

* Fixing readme

* Adding MongoDB loader.

* Fixing AM Loader metrics

* Ading enable/disable option for the embedded dashboard

* Usable vCores available for any BG should be vCores assigned less vCores reassigned.

* Usable vCores available for any BG should be vCores assigned less vCores reassigned.

* Usable vCores available for any BG should be vCores assigned less vCores reassigned.

* Resolutions for PR57

* Update build-platform-metrics-aggregation.dwl

* Tableu Strategy

- Added platform metrics current consolidated dashboard
- Changed tableau strategy JSON file generation rule
- Changed tableau.path property to tableau.outputDir
- Added tableau strategy request in postman collection
- Updated README.md with tableau instructions

* Splunk - Current Consolidated Dashboard Fixes

- Fixed stats calculations (use sum instead of max for quantities)
- Fixed typos

* RawData var assignment

Fixed rawData variable assignment: when setting loaderDetails from payload, rawData value was being retrieved from vars context instead of being retrieved from payload.

* ARM API Max Concurrency

ARM API call requests were failing with 503 (SERVICE UNAVAILABLE). Reducing ARM API max concurrent calls from 100 to 3 prevents this error to happen.

* Overall Satisfaction Calculation

Changed Overall Satisfaction Calculation to consider only rated assets (unrated assets shouldn't be considered when calculating overall satisfaction.

* Log Messages

- Fixed misleading log message when role groups collection is disabled
- Added log messages when ARM Apps collection is disabled
- Fixed log message typos

* Issue #64

Fixed issue #64: platform benefits metrics loader default router should call platform benefits metrics default loader flow instead of platform metrics default loader flow.

* Revert "Issue #64"

This reverts commit c2ebcf9.

* Issue #64

Fixes issue #64: platform benefits metrics loader default router should call platform benefits metrics default loader flow instead of platform metrics default loader flow.

* Tableau Strategy

- Added Cloudhub runtime manager metrics in current consolidated Tableau dashboard
- Fixed current consolidated Tableau dashboard to look similar to Splunk verion.
- Updated README.md file with further instructions regarding Tableau Strategy: limitation if MA is running on CH or RTF, and instructions about how to manually generate JSON files using JSON strategy.

* Tableau Strategy

Fixed Tableau Steps section in README.md

* Changing API Platform logic in order to aggregate all available api applications/clients through a foreach

* ELK loader fixes

Fixed ELK bulk load HTTP request"
-added Content-Type=application/json
-used correct vars.index for metrics/benefits index
Fixed flow reference name in loader-router for loader-benefits-elk-main-flow

* Fix README typo for Tableau. Externalize path calculation in write operation for Tableau. Refactor external systems configuration files to include related HTTP config on each file, removing these from global.xml. Add note in README.md

* PR fixes

* fixes of the MongoDB loader

* README fixes

* Updating dependencies

* upgrade to 4.2.2 as min version

* Disabling MongoDB loader by default

* Disabling MongoDB loader by default

* Fixing logs

* Fixed tests + adding new tests - 93.79 test coverage - refactor of some flows

* 95.0 coverage + examples location refactor + poller adjustments

* adding APIManager example payloads with apis and api instances, updating mocks

* adding test for environment call failure

* reformat

* Update pom.xml

* Increase artifact version

* Add new incremental version of the artifact

* OSV2 metrics added

* OSV2 metrics added with munits fixed

* Adding readme, group of api manager metrics for scatter gather room

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent

* Fixing indent with apim grouped metrics

* Issue #90 - Comma in BG names

Updated README.md to instruct the users that changing the implementation may be required in some situations, and explaining how to configure CSV output formatting options.

* Update README.md

* Removing osv2 for connected apps

* Adding details for CloudHub apps and API Manager

* adding RTF and Standalone granular metrics

* Refactor + covering MQ + unit tests

* Adding osv2 details

* Fixing munits

* Add server, cluster, and serverGroup by environment and fix MUnit tests

* Adding/Updating detailed metrics to have full consistency with aggregated sections

* Missing ignoring osv2 in connected apps when set from payload

* Missing ignoring osv2 in connected apps when set from query params

* Fixing munit for the missing property in connected apps

* Removing wrong dependency

* Adding osv2 to the raml

* Increasing version

* Update README.md

* Update README.md

* OSv2: Add fixes. Increase version for release

* OSv2: Add fixes. Increase version for release. Add note to README

* Re phrase Splunk character limitation

* Hide metrics sheets

Change sheets hidden property to true in order to make only the dashboard sheet visible. As there is a sheet per metric / indicator, it was hard to find the actual dashboard.

* Enhance RAML spec, Features Backlog items 21, 22, 23, 24 and 25

* Add models for elk, am and mongodb as loaders options. Fix file name

* fix to aggregate API manager payload when # of contracts is greater than value defined in vars.apisTotalObtained

* Externalize offset into props file. Fix agg transform.

* Externalize APIM offset using a var, set at beginning as other commons

* This is the new einstein feature

* Updated reference to tableau output dir in loader to align poller and API approachees. Updated postman collection to align table request with Splunk request

* Added accept header to analytics API query to ensure JSON response

* Update api.xml

Add missing ">" after manually merging conflicts

* Add call to 'common-set-collector-vars-from-properties-api-manager' from missing post platform metrics, business metrics and poller.xml

* Update api.xml

Fix indentation

* Merge auth feature and some fixes into develop (#1)

# Features
**Separate Anypoint Headers from API Auth**
  - api.raml: moved anypoint headers to Anypoint headers trait and removed from securedBy.  The headers are the Anypoint Platform securty, NOT necessarily the security for this API.  Keeping them out of the Authorization header allows for implementers to use their own security such as OAuth.  The Anypoint security must still be provided in addition to any security added by the implementer.
  - Added feature to allow Base64 or plain text secrets in both secret/password Anypoint headers.

**Added properties and loggers for API and Dash**
  - Added API and Dashboard HTTP values as properties in app-dev.yaml.
  - Added loggers to dashboard choices for debugging.  Added 501-Not Implemented if dashboard is disabled.

# Fixes
- Fixed api.xml flow names to match api.raml for POST.  Auto-generated flow names were different.
- Updated latest version of dependencies
- api-call-api-platform: Added default empty string to avoid null error when no response code provided.

* Updating Unit tests for tableau strategies

* Changed references of Accelerator to Toolkit in Tableau dashboard

* Updated titles of Splunk dashboards

* Issue #109 - Exchange assets Query limit off 250 records

* Rebrand

* Rebranding README andd RAML files. Updated references of accelerator to toolkit. Also updated refs in postman collection

* Done with CoreServicesMetric - usersTotal pagination

* Separate the headers into multiple traits.

* Separate the headers into multiple traits.

* Revert dependencies versions

* Fix platform user auth test case. After removing the Basic Auth option, the test case was breaking. 98.45% Code Coverage.

* Fix Connected App. Base64 regex reccognize the client secret as Base64 by default, so if sent as plain, fails auth. Remove the option of client-secret as base64

* Remove duplicated header X-ANYPNT-ORG-ID

* Adding additional context to required roles for Anypoint User

* Rename project and update pom references

* Update pom.xml

Increment pom version for release

* Update pom.xml

Incremented pom to next Snapshot version following release 1.8.0

* Fix cannot coerce array as string to object

* Increase code coverage, including un tested code added for resolution of Issue #109

* Reverting local pom changes

* Update pom.xml

Updated pom version for release 1.8.1

* Update pom.xml

Increment pom to next snapshot version

* Resolving issue 137 - Added X-PLAINTEXT-PASSWORD header as plaintext flag

Added a new header X-PLAINTEXT-PASSWORD to act as a flag when a plaintext password is provided to avoid incorrectly decoding from base64

* Update pom.xml

Updated pom version for release 1.8.2

* Casing of attributes.headers references

Capital casing of references to attributes.headers.<header> resolving as null. Changed to lower case to mitigate

* Added base64 encoding to password in embedded dashboard

* Update set-client-secret-var.dwl

* Update pom.xml

Increment pom to next SNAPSHOT version

* Wrapped target values in DW expression

* Minor Munit updates, and dependency version increases to align with Mule 4.4.0

* Modifying how security policies are identified

* Added list of security policies as property to allow for easier customisation

* Updated postman collection for usability.
- Added markdown documentation in collection description that describes folders and required variables.
- Moved requests into categorized folders: Benefits & Platform Metrics for now.
- Added prerequest scripts to folders for setting all Anypoint Platform headers from variables
- Added url variable for requests, to support multiple environments.

* Updated README with new config property for security policiy list

* Adding env level details to CSV and JSON loaders

* Streamling SFDC metrics loader flow

* Added SDLC Metrics for Azure DevOps

* Removed extra logging and changed component names

* externalized dataweave scripts

* Update pom.xml

* Update .gitignore

* Adding env level metrics to SFDC output

* Introduce ability to ignore environments

Similar to the ability to ignore organizations, it is useful to be able to specify environments to ignore - this is especially useful when using connected-app-credentials and only granting access to a subset of the environments within an organization

* Update .gitignore

* Adding MUnits for SFDC analytics

* Update README.md

* Updating READMEs

* Update README.md

* Update postman_collection.json

* Delete api.raml

* Update blank_dataset.csv

* Update api-call-coreservices.xml

* Extract filter environments transform to DW file

* Changing year formatting from yyyy to uuuu to prevent parsing errors

* Update pom.xml

* Update pom.xml

* Simplifying Postman collection

Simplified Postman collection to use only Environment vars rather than Global and Environment.
Added section to README on Postman collection usage
Removed toLowerCase() from pre-request scripts

* Update README.md

* corrected copy paste error

* Update README.md

* Update README.md

* Changed links to be relative

* Added secure properties list to mule-artifact.json

* Updated HTTP ELK Request Config to use defined property

* Fix for incorrect variable rawData

The variable rawData was set in the same Transform Message component as the variable loaderDetails, on which the DataWeave for rawData depends. Thus vars.rawData was not set correctly.

* Adding version to the Splunk forms according Splunk 9.0.0 specifications on https://docs.splunk.com/Documentation/Splunk/9.0.0/Viz/DashboardjQuery

* #195 Excluded secure property files from index

* Release 1.9.1

* Release 1.9.1 (#197)

* Done with CoreServicesMetric - usersTotal pagination

* Added SDLC Metrics for Azure DevOps

* Removed extra logging and changed component names

* externalized dataweave scripts

* Update pom.xml

* Simplifying Postman collection

Simplified Postman collection to use only Environment vars rather than Global and Environment.
Added section to README on Postman collection usage
Removed toLowerCase() from pre-request scripts

* Update README.md

* corrected copy paste error

* Update README.md

* Update README.md

* Changed links to be relative

* Added secure properties list to mule-artifact.json

* Updated HTTP ELK Request Config to use defined property

* Fix for incorrect variable rawData

The variable rawData was set in the same Transform Message component as the variable loaderDetails, on which the DataWeave for rawData depends. Thus vars.rawData was not set correctly.

* Adding version to the Splunk forms according Splunk 9.0.0 specifications on https://docs.splunk.com/Documentation/Splunk/9.0.0/Viz/DashboardjQuery

* #195 Excluded secure property files from index

* Release 1.9.1

Co-authored-by: Andres Alleva <andres.alleva@gmail.com>
Co-authored-by: Scott Ratliff <scott.ratliff@mulesoft.com>
Co-authored-by: richardmckinley <58299919+richardmckinley@users.noreply.github.com>
Co-authored-by: Alberici <92322091+angelalbericisfdc@users.noreply.github.com>
Co-authored-by: Rodrigo Fuentes <rodrigojfuentes@gmail.com>
Co-authored-by: Victor Moreno <vmoreno@mulesoft.com>
Co-authored-by: Christina Bauer <christina.bauer@mulesoft.com>
Co-authored-by: George Kroon <info@george-kroon.nl>

* Increment version

* Add code check to run unit tests

* Increment version

* Remove sensitive data

* Revert POM version

* MCP Server MVP (#231)

* Added MCP documentation. Refactor documentation to include /docs folder and moving existing docs under it.

* Add MCP Support for Metrics Toolkit. Implement getAvailableCollectors and getCapabilities. Add MUnit tests for both.

* Implement getPlatformMetricsByCollector. Make amq collector to work with Connected Apps (this is not MCP related).

* Implement MCP Exchange collector

* Implement MCP Design Center and Api Manager collector

* Implement Test MCP Arm, Core. RTF is dummy

* Add support for MCP tool getPlatformMetricsByKey

* Update README to capture requirement for Mule 4.9.3 as minimum version to support MCP

* Update postman collection to include MCP support

* Update runtime version to make it compatible with min mule version

* Refactor listener and server for MCP. Move to Global.xml

* Externalize most of Dataweave transformations into files

* Replace Agent by Server terminology

* Update mcp connector version to GA version

---------

Co-authored-by: panizzag <gpanizza@salesforce.com>

* updated groupId (#234)

Co-authored-by: Robert Huddleston <r.huddleston@rhuddle-ltm6cnh.internal.salesforce.com>

---------

Co-authored-by: David Cisneros <cisneros.david@gmail.com>
Co-authored-by: jmelamed <melamedjoel@gmail.com>
Co-authored-by: Elyes Jouini <joax87@gmail.com>
Co-authored-by: vs193928 <vikas.sharma@mulesoft.com>
Co-authored-by: gozdy <gonzalo.ozdy@mulesoft.com>
Co-authored-by: rafa <rafa@mulesoft>
Co-authored-by: rpavek <rpavek@mulesoft.com>
Co-authored-by: Damian Calabresi <damiancalabresi@gmail.com>
Co-authored-by: Qamar Ahmed <qahmed@qahmed-ltm5s52.internal.salesforce.com>
Co-authored-by: Richard McKinley <richard.mckinley@mulesoft.com>
Co-authored-by: titans-of-code <53096698+titans-of-code@users.noreply.github.com>
Co-authored-by: richardmckinley <58299919+richardmckinley@users.noreply.github.com>
Co-authored-by: Andres Alleva <andres.alleva@gmail.com>
Co-authored-by: Charles Young <charles.young@mulesoft.com>
Co-authored-by: Scott Ratliff <scott.ratliff@mulesoft.com>
Co-authored-by: Chris Hughes <Chris.Hughes1@test-and-trace.nhs.uk>
Co-authored-by: Chris Hughes <cajhughes@users.noreply.github.com>
Co-authored-by: Alberici <92322091+angelalbericisfdc@users.noreply.github.com>
Co-authored-by: Rodrigo Fuentes <rodrigojfuentes@gmail.com>
Co-authored-by: Victor Moreno <vmoreno@mulesoft.com>
Co-authored-by: Christina Bauer <christina.bauer@mulesoft.com>
Co-authored-by: George Kroon <info@george-kroon.nl>
Co-authored-by: muleysteve <30406388+muleysteve@users.noreply.github.com>
Co-authored-by: Steve Roberts <steve.roberts@mulesoft.com>
Co-authored-by: panizzag <gpanizza@salesforce.com>
Co-authored-by: Robert Huddleston <robert@inteli-core.com>
Co-authored-by: Robert Huddleston <r.huddleston@rhuddle-ltm6cnh.internal.salesforce.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants