Closed YanboLiao closed 2 years ago
Add xrayIndex attribute to Class RemoteRepository to enable the xrayIndex option when creating a remote repository.
Added a default attribute to Class RemoteRepository to fix the following issue: Fixes #96
Please delete options that are not relevant.
env: windows 10, python 3.7
Tested creating a remote repository using following codes:
remote_repo = RemoteRepository(key="test-1", url="https://registry.npmjs.org", packageType="npm", xrayIndex=True) new_remote_repo = art.repositories.create_repo(remote_repo)
Checked in the jfrog GUI and the newly created remote repo "test-1" has enabled "Enable Indexing In Xray".
Add xrayIndex attribute to Class RemoteRepository to enable the xrayIndex option when creating a remote repository.
Description
Added a default attribute to Class RemoteRepository to fix the following issue: Fixes #96
Type of change
Please delete options that are not relevant.
How has it been tested ?
env: windows 10, python 3.7
Tested creating a remote repository using following codes:
Checked in the jfrog GUI and the newly created remote repo "test-1" has enabled "Enable Indexing In Xray".
Checklist: