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

Fixes to Actions and Transformers #15

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

pbo-cirus
Copy link

This PR contains:

  • Updates to latest Cloud-vision plugin.
  • Update to Output schema.
  • Fixed the spacing in the source files.

Known Issues:

https://issues.cask.co/browse/PLUGIN-120

Errors in pipeline run on Sandbox environment only.

Note: Examples will be sent in another PR.

checkstyle.xml Outdated Show resolved Hide resolved
pom.xml Show resolved Hide resolved
pom.xml Show resolved Hide resolved
pom.xml Show resolved Hide resolved
Copy link
Contributor

@bdmogal bdmogal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pbo-cirus made some initial comments. Thanks a lot for fixing the indentation changes for the most part. Could you also please remove the package-info.java files - we generally don't add them in plugin code.

@pbo-cirus
Copy link
Author

pbo-cirus commented Apr 10, 2020 via email

@pbo-cirus pbo-cirus requested a review from bdmogal April 10, 2020 15:58
pom.xml Outdated
</goals>
</execution>
</executions>
</plugin>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this removed? This makes the build not include the plugins. The target/.jar size isn't 22Mb but 128Kb. And using the REST api to upload the .jar throws <title>Error 400 (Bad Request)!!1</title>. But even after adding back this part the <title>Error 400 (Bad Request)!!1</title> still remains.
I build the project with mvn -Dmaven.test.skip=true package, what can be the problem? Could you help please?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, this should not have been removed.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thx

@atigyi
Copy link

atigyi commented Apr 30, 2020

Hi, I've built both branches cirus-code and cirus-example, first had rat-check errors, second had checkstyle errors during the build. I've turned these off, even added back the _exportcontents tag to include the plugins in the .jar.
After having the .jar, used the REST api to upload the plugin, but it resulted in <title>Error 400 (Bad Request)!!1</title>.
Is there something I do wrong?
Thanks in advance.

@pbo-cirus
Copy link
Author

I fixed the pom and now it builds correctly.

Also, the examples are in a separate PR but will only work on this version. We were asked to separate them out into two PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants