Skip to content

Conversation

@djyou
Copy link

@djyou djyou commented Sep 13, 2016

  1. Changed SystemExit to CLIError.
  2. Added a constants file.
  3. Moved registry name validation.

Choose a reason for hiding this comment

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

This depends on the environment - How do you get this for other environments like China or test etc.

Copy link
Author

Choose a reason for hiding this comment

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

This DOMAIN_SUFFIX was only used in catalog command when the user wants to list repositories in a registry that is NOT under the user's subscription. When we support different domain name suffix or even custom domains, we may want the user to enter the full URL. The CLI doesn't need this, though, since the login server can be obtained from ARM/RP.

Choose a reason for hiding this comment

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

So can the user specify the FQDN and it avoids using this suffix?

Copy link
Author

Choose a reason for hiding this comment

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

Yep, changed from registry_name to login_server.

1. Changed SystemExit to CLIError.
2. Added a constants file.
3. Moved registry name validation.
@djyou djyou changed the title Updates from feedback Updates from PR feedback Sep 13, 2016
@djyou djyou merged commit e12e771 into master Sep 14, 2016
djyou pushed a commit that referenced this pull request Feb 9, 2017
* Add batch data plane commands:

-- Add custom commands
-- Add auto execution data plane codes
-- Import mgmt commands experience

* Added file stream support

* bug fixes

* Fixed regex raw strings

* Added support for JSON input

* Custom and type validation (#4)

* Additional validation and parsing

* Some cleanups

* Minor code refinements

* Fix pylint errors and get rid unused codes.

* List and type validation (#5)

* list and type validation

* Remove auth kwargs

* Fixed typo

* clean pylint error and add data plane command test.

* Bug fixes (#6)

* Remove auth kwargs

* Bug fixes

* Fixed kwargs

* Move the update pool command to custom command.

* Add custom commands test cases

* Tests and delete confirmation (#7)

* Added some tests

* Bug fixes

* Added tests to sln

* Delete confirmation

* Some pylint cleanup

* More tests and fixes (#8)

* Fix pylint and test errors.

* Following PEP8 complaint.

* Use this decroator on doc transfer

* Deferred imports for performance (#9)

* streamlined imports

* pylint fixes

* Renamed AzureDataPlaneCommand

* PyLint and PEP8 clean up.

* Use single parameter for storage account id and name.

* Review feedback + help fixes (#10)

* node-user -> node user

* Review feedback

* More feedback fixes

* pep fixes

* fixed underscore

* More touch ups

* Review fixes (#11)

* Command refinements

* More command feedback

* Test fixes

* More tests

* Add enum list for vmsize and thumbprint algorithm.

* Streamlined commands (#13)

* streamlined commands

* Updated tests

* Fixed arg loading test

* Further command refinements (#14)

* support silent args

* Fixed pool error message

* Further command editing

* last fixes

* Fixed tests (#15)

* Change the coding style.
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