Skip to content

Add spring-cloud extension#1001

Merged
zikalino merged 76 commits intoAzure:masterfrom
VSChina:peizhou/ChangeExtensionName
Oct 28, 2019
Merged

Add spring-cloud extension#1001
zikalino merged 76 commits intoAzure:masterfrom
VSChina:peizhou/ChangeExtensionName

Conversation

@peizhou298
Copy link
Copy Markdown
Contributor

@peizhou298 peizhou298 commented Oct 16, 2019


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Oct 19, 2019

@zikalino can help with review.

]

# TODO: Add any additional SDK dependencies here
DEPENDENCIES = [
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

just leave it empty [] otherwise it will cause problem with release

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed alrady, remove 'azure-cli-core' int dependencies.


rule.match_conditions.append(MatchCondition(
match_variable=match_variable,
selector=selector,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I know this is only whitespace, but could we just somehow revert it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure, wired thing is I copy the source text from main branch but still get this problem, let me double fix.

@zikalino
Copy link
Copy Markdown

are you planning to replace SDK with newest version?

@peizhou298
Copy link
Copy Markdown
Contributor Author

are you planning to replace SDK with newest version?

@peizhou298 peizhou298 closed this Oct 28, 2019
@peizhou298 peizhou298 reopened this Oct 28, 2019
@azuresdkci
Copy link
Copy Markdown

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:

docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/VSChina/azure-cli-extensions.git@peizhou/ChangeExtensionName#subdirectory=src/$EXT&egg=$EXT"

@peizhou298
Copy link
Copy Markdown
Contributor Author

Reopen.

@zikalino zikalino merged commit 9be2b45 into Azure:master Oct 28, 2019
@zikalino zikalino deleted the peizhou/ChangeExtensionName branch October 28, 2019 05:24
ManuInNZ pushed a commit to ManuInNZ/azure-cli-extensions that referenced this pull request Apr 11, 2020
* add spring cloud service

* fix help and params syntax error

* use relative path instead of file name when upload file

* add service binding

* use autopep8 format code

* change binding cosmosdb update function

* didn't remove app when create app failed

* use nginx image for app default deployment

* fix wording in custom.py

* use latest sdk

* use new version

* remove mvnw mvn in

* change app create behavior

* show deployment when show app

* add test-endpoint command

* remove redundant print

* fix validate key syntax error

* change namespace to appplatform

* change default deployment name to default

* change extension from asc to spring-cloud

* fix test-endpoint list format

* fix some prompt information

* Update _help.py

* Update _params.py

* Update _help.py

* Update custom.py

* add config server git command group

* remove tags in deployment create/deploy

* use resource-group's location when creating service if not specified

* remove extra test

* set app update cpu, memory,count to None to avoid default value

* add skip clone settings

* fix config server none type bugs

* fix deployment help errors

* CLI review change

* add prompt for after successfully upload jar package

* add spring cloud in index.json and use blob url

* check config server null before get it's inside property

* update index.json for spring-cloud

* use sdk's enum type

* convert lcoation from display name to proper name

* update index.json

* update index.json

* format table output

* remove reduent None juge

* remove spring-cloud in index.json

* format code with autopep8

* fix style check error

* replace old sdk with new sdk from offical repo

* fix CI check warnings

* disable worng import error check

* add code owners for spring-cloud

* code owners

* CI: add missed liscense headers

* add runtime-version, jvm-options and env settings in app create

* remove unnecessary changes outside spring-cloud

* remove upper limit of cli core version

* add upper Azure cli version 2.1.0 and raise exception in show-deploy-log when deployment is Jar type

* use new Python sdk

* Remove extra changes out-side spring-cloud

* add new line int fronnt door customer.py

* fronnt-door

* Update custom.py

* Update custom.py
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.

6 participants