Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Template to use resources on classpath #949

Closed
dipak-pawar opened this issue Jan 16, 2018 · 1 comment · Fixed by #956
Closed

Allow Template to use resources on classpath #949

dipak-pawar opened this issue Jan 16, 2018 · 1 comment · Fixed by #956
Assignees
Milestone

Comments

@dipak-pawar
Copy link
Contributor

dipak-pawar commented Jan 16, 2018

Currently we are configuring template as follows:

@Template(url = "https://gist.githubusercontent.com/lordofthejars/8781cacd4000a516695ad6c55b5815b3/raw/5151aeef0f5dd8823e2c581c3b7452f04a76af59/hello-template.yaml",
          parameters = @TemplateParameter(name = "RESPONSE", value = "Hello from Arquillian Template"))

If we have template which is available as test resources on classpath. Cube should be able to use it using like following:

@Template(url = "classpath:hello-template.yaml ", parameters = @TemplateParameter(name = "RESPONSE", value = "Hello from Arquillian Template"))
@lordofthejars
Copy link
Member

Exactly as we are doing with OpenShiftResource. Good catch.

@dipak-pawar dipak-pawar self-assigned this Jan 18, 2018
dipak-pawar added a commit to dipak-pawar/arquillian-cube that referenced this issue Jan 18, 2018
@lordofthejars lordofthejars added this to the 1.13.1 milestone Jan 18, 2018
dipak-pawar added a commit to dipak-pawar/arquillian-cube that referenced this issue Jan 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants