sagcc exec repository discover
Finds product and fix repositories for the specified host, name, and port and adds the discovered repositories to Command Central.
Syntax
Command Central syntax:
sagcc exec repository {products | fixes} discover [host=host]
[name=repo_name] [port=port][options]
Platform Manager syntax:
sagcc exec repository discover [host=host] name=repo_name
[port=port][options]
Arguments and Options
Argument or Option | Description |
[host=host] | Optional. The host name or IP address of the system hosting the repositories. If you do not specify a value, Command Central goes to the Empower website. |
[name=repo_name] | Optional. The name of the repository on the specified host machine. If you do not specify a value, Command Central lists all repositories on the host machine. |
[port=port] | Optional. The port number of the specified host machine. |
[options] | Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options. |
Usage Notes
When running the repository discover command, you can specify valid credentials for the repository using the {--username | -u} user_name and {--password | -p} password.
Example When Executing on Command Central and Platform Manager
To add a product repository with name “SuiteProd” from a server with host name “sag”:
sagcc exec repository products discover host=sag name=SuiteProd
sagcc exec repository fixes discover host=sag name=SuiteProd
If you do not specify a value for CC_SERVER, the request is sent to the Command Central server on “localhost:8090”.