Created by jdcasey on 1/19/17.
This test assures that a particular maven-metadata.xml file should be missing in a group structure, but after it's
uploaded to a repository all groups affected by that repository should be able to return the metadata file.
GIVEN:
- Group A with no members.
- Group B containing only Group A as a member.
- Retrieval of metadata path P from Group A returns null/404 result
- Retrieval of metadata path P from Group B returns null/404 result
- HostedRepository X is created for a build
WHEN:
- metadata path P is uploaded to HostedRepository X as part of a build
- HostedRepository X is promoted via
GroupPromoteRequest into Group A
THEN:
- Subsequent requests for metadata path P from Group B return the uploaded metadata
- Subsequent requests for metadata path P from Group A return the uploaded metadata
(
NOTE: Order of operations is important for verification steps, just in case checking Group A's metadata could
trigger the availability of the metadata in Group B.)