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
    Modifier and Type
    Class
    Description
    static @interface 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The 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.
  • Element Details

    • value

      String value
      The 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