WireMock
Deploying a reliable and scalable environment for integration testing
Luiz Hermes Svoboda Junior
Gustavo Coelho
November 10
th, 2017
OneView Global Dashboard
- Helps IT staff troubleshoot alerts and view core inventory data across multiple HPE management systems
- Provides an enhanced infrastructure view for more informed and faster decision-making
- Smart search function that delivers access to devices of interest across data centers in seconds
- Aggregates critical activates from multiple appliances into a single feed to quickly identify issues
- Customizable inventory and compliance report for monitored assets
WireMock
Mock APIs for fast, robust and comprehensive testing
"Talk is cheap. Show me the code."
Linus Torvalds
WireMock
Results of WireMock applied to OVGD
HPE OneView Deployment Environment
- OneView runs in a virtualized environment
- Real hardware for development is expensive
- High resource consumption
- CPU, memory and disk
- Embeds a whole simulated data center within the same VM
- VM boot time ~15 minutes
- Lack of stability
- Usage of unreleased versions
- Running on a non compliant environment
HPE OneView Resource Identifiers (UUID)
- OneView uses an universally unique identifier to identify each resource
{
...
"serverProfileUri": "/rest/server-profiles/0d70e692-812a-40b4-ba45-68b6ddd399c0",
"serverGroupUri": "/rest/enclosure-groups/779ccfce-d8ac-41b0-8930-df7a5dd248b5",
...
}
- OVGD Reports module does not allow multiple resources with the same UUID
How to consistently replace these identifiers?
Conclusion
Integration Testing Environment Results
Gustavo Coelho
Software Engineer
Hewlett Packard Enterprise
gcoelho@gcoelho.com
gafcoelho
github.com/gcoelho
|
Luiz Svoboda
Software Engineer
Hewlett Packard Enterprise
luizek@gmail.com
luizsvoboda
github.com/lhsvobodaj
|