You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure that there is parity between the Resource::Respository class attributes and the properties required by the support JSON schemas:
def content_type
case rclass.to_s.downcase
when "local"
"application/vnd.org.jfrog.artifactory.repositories.LocalRepositoryConfiguration+json"
when "remote"
"application/vnd.org.jfrog.artifactory.repositories.RemoteRepositoryConfiguration+json"
when "virtual"
"application/vnd.org.jfrog.artifactory.repositories.VirtualRepositoryConfiguration+json"
else
raise "Unknown Repository type `#{rclass}'!"
end
end
The text was updated successfully, but these errors were encountered:
Describe the problem
A virtual repo cannot be configured properly because there is no attribute on the
Resource::Repository
class that supports setting repositories.Software Version
Ruby: 2.5.1p57
Artifactory Gem: 3.0.0
Stacktrace
Possible Solution
Make sure that there is parity between the
Resource::Respository
class attributes and the properties required by the support JSON schemas:The text was updated successfully, but these errors were encountered: