A prototype of what event portal configuration audit could be like.
You need your very own MySQL instance running.
You need a SOLACE CLOUD TOKEN capable of reading environments, event meshes, messaging services and scan data.
Create a .env file with the following information:
DATABASE_URL="mysql://myuser:mypassword@localhost:3308/my_database"
SOLACE_CLOUD_TOKEN="eyabcdefg123bedfa"
SOLACE_URL="https://api.solace.cloud"
clone this repo
npm install
npx prisma generate
npx prisma db push
npm run dev
Navigate to http://localhost:3000 (or whatever port it starts the server on. It will tell you)
- Click the advanced link on the first page.
- Click "Resync with Event Portal"
- Navigate back to the first page.
- Select a Environment, Event Mesh and Messaging Service
- Click on the checkboxes beside 2 of the scans (order matters here, do the later one first - yah, I know, it's just a prototype though)
- Click the
Diff
button that just appeared.
You should then be taken to the diff results page.
This is not an officially supported Solace product.
For more information try these resources:
- Ask the Solace Community
- The Solace Developer Portal website at: https://solace.dev
Contributions are encouraged! Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
See the list of contributors who participated in this project.
See the LICENSE file for details.