Skip to content

Conversation

@jiec-msft
Copy link
Contributor

@jiec-msft jiec-msft commented Jun 6, 2021

For extension: Spring-Cloud Application-Insights, migration instrumentation key to connection string, fall back to instrumentation key when connection string is not available


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:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jun 6, 2021
@ghost
Copy link

ghost commented Jun 6, 2021

Thank you for your contribution ECNUJason! We will review the pull request and get back to you soon.

@yonzhan yonzhan requested review from Juliehzl and zhoxing-ms June 6, 2021 15:12
@yonzhan yonzhan added this to the S188 milestone Jun 6, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Jun 6, 2021

spring cloud

…tation key to connection string, fall back to instrumentation key when connection string is not available
@yonzhan yonzhan requested a review from kairu-ms June 8, 2021 03:38
@yonzhan
Copy link
Collaborator

yonzhan commented Jun 8, 2021

Add @kairu-ms for awareness

@zhoxing-ms
Copy link
Contributor

Could you add some tests for the feature change?

@yonzhan yonzhan modified the milestones: S188, S189 Jun 11, 2021
Copy link
Contributor

@kairu-ms kairu-ms left a comment

Choose a reason for hiding this comment

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

The sdk version of app-insights already update to 1.0.0 in latest cli. Please update azext.minCliCoreVersion to the latest cli version

   by transforming 'intrumentation key' to 'connection string'; 3. Use
   concret type of exception to replace general CLIError; 4. fix typo
   for connection; 5. Add unit test;
@jiec-msft
Copy link
Contributor Author

The sdk version of app-insights already update to 1.0.0 in latest cli. Please update azext.minCliCoreVersion to the latest cli version

Updated to 2.25.0

@jiec-msft jiec-msft closed this Jun 17, 2021
@jiec-msft jiec-msft reopened this Jun 17, 2021
@jiec-msft
Copy link
Contributor Author

Could you add some tests for the feature change?

Sure, added.

@zhoxing-ms zhoxing-ms merged commit 097827a into Azure:main Jun 21, 2021
zhoxing-ms pushed a commit that referenced this pull request Jun 24, 2021
* Revert "Migrate instrumentation_key to connection_string for spring-cloud extension (#3467)"

This reverts commit 097827a

* Add release note and set version

Co-authored-by: Mason(Jie) Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants