-
Notifications
You must be signed in to change notification settings - Fork 154
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
Exception: This REST API is available only in Artifactory Pro #203
Comments
@Zerozzzz, |
@eyalbe4 No, I using an Artifactory OSS, you mean the reason for the exception is the version. Only Artifacroty Pro can access some specific APIs.(I apologize for my poor English 😭) |
No problem @Zerozzzz. |
I'm glad to have your help, but I have no doubt now. |
Does repository creation through REST api require license? That's hindrance for open source developers to integrate with Artifactory. I was trying to automate a workflow to create repos in artifactory automatically and I am getting the same error. I was expecting that whatever feature is available in OSS Web UI will be available with REST api |
I know this is old but I have to agree with @smsajid . I am building a small open source product to integrate with Artifactory. I'm trying to set up a set of integration tests in CI with the OSS container, and running into this. It's really a shame. |
@briantist, @Zerozzzz & @smsajid, You can start a Free Tier account on SaaS - https://jfrog.com/start-free/#ft. The Free Tier instance supports the repository creation REST API. |
Here https://github.com/jfrog/project-examples/tree/master/artifactory-client-java-examples/gradle-example there is no word, that it's only for PRO release. As I understand for OSS it's not available. I use OSS when I use
and when I use
|
@hannesa2 |
@yahavi Thanks for the answer. Please add anywhere (e.g main README.md) in a prominent position the info, that it works only with PRO version. |
Hi @hannesa2, The Artifactory Java client acts as a wrapper for the Artifactory REST API - https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API. More specifically, the Create Repository REST API requires Artifactory Pro and above. Each REST API has its own permissions and licensing level and these parameters also change from time to time. Therefore it is not practical to mirror the REST API documentation. Moreover - the returned response from Artifactory ("This REST API is available only in Artifactory Pro") is straightforward. Notwithstanding, we'd appreciate any other suggestions for how to improve the Artifactory Java client and its documentation. |
Theoretical yes. But because of an other error, it was very expansive to me, till I figured this out I want to save the time of other guys |
Hi, when I operate repository, my process finished with exit. Here is my code
The exception is :```
Exception in thread "main" org.apache.http.client.HttpResponseException: {
"errors" : [ {
"status" : 400,
"message" : "This REST API is available only in Artifactory Pro (see: http://www.jfrog.com/addons.php). If you are already running Artifactory Pro please make sure your server is activated with a valid license key.\n"
} ]
The text was updated successfully, but these errors were encountered: