Annotation Type OpenShiftResource
@Retention(RUNTIME)
@Target({TYPE,ANNOTATION_TYPE,METHOD})
@Repeatable(List.class)
public @interface OpenShiftResource
Annotation to set the OpenShift resource to be executed before test execution.
These resources creation were meant to be used for resources that aren't tied to a living thing.
Examples of these are service accounts, credentials, routes, ...
- Author:
- Ales Justin
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements
-
Element Details
-
value
String valueThe value can either be link (https://www.github.com/alesj/template-testing/some.json) test classpath resource (classpath:some.json) or plain content ({"kind" : "Secret", ...}) W/o any prefix (or http schema) it's treated as plain content.- Returns:
- link, classpath resource, archive resource or content
-