Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@VanyLaw
Copy link
Contributor

@VanyLaw VanyLaw commented Mar 18, 2021

Description

get microsoftAppPassword from profile appPasswordHint, update the generated profile when create from abs.

Task Item

#minor

Screenshots

token = await AuthClient.getARMTokenForTenant(tenant);
}
}
// get keyvault token
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this part.

@coveralls
Copy link

coveralls commented Mar 24, 2021

Coverage Status

Coverage decreased (-0.1%) to 52.165% when pulling 3d2c68b on wenyluo/kv into 1503c58 on main.

@cwhitten
Copy link
Member

@VanyLaw @luhan2017 I'm trying to test this and I'm seeing the following behavior:

  1. I don't see @alanlong9278 's dialog that was merged
  2. No publishing profile is created
  3. I can't publish back to Azure

@luhan2017
Copy link
Contributor

  • No publishing profile is created

Did you set COMPOSER_ENABLE_ONEAUTH=true in your build pipeline? I can't reproduce this issue in my side, the issue could because the oauth is not set correctly so, it failed to get the keyvault and generate the profile.

@cwhitten
Copy link
Member

  • No publishing profile is created

Did you set COMPOSER_ENABLE_ONEAUTH=true in your build pipeline? I can't reproduce this issue in my side, the issue could because the oauth is not set correctly so, it failed to get the keyvault and generate the profile.

Yes, it was set as I used the main mac build/signing pipeline.

@boydc2014
Copy link
Contributor

  1. fix the ci
  2. testing the scenario with an existing name?

@luhan2017
Copy link
Contributor

@cwhitten , The ut and notification issue is fixed now.
But we can't reproduce the alias not working issue as you mentioned before. Could you please help to figure out the reproduceable steps and check if there is anything wrong in data.json. I did see this issue once, and I found that it because there are multiple bots associated with the same bot (which is probably because in the middle of the implementation, the alias logic changes, so there are some bad data in the data.json), I don't see that again after I fix the data.json.

@cwhitten cwhitten merged commit d0ce8fe into main Mar 26, 2021
@cwhitten cwhitten deleted the wenyluo/kv branch March 26, 2021 16:41
@cwhitten cwhitten mentioned this pull request May 20, 2021
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…#6471)

* add key valut token get

* add auth before doing kv update

* refactor the get alias and generate profile code

* add azure key vault logic and set policy process

* fix generated profile not work

* fix build

* add exception handling

* fix comments

* fix ut

* Fix lint, comment-out unusued imports

* open modal refactor

* alias & profile for open bot

* api

* fix lint

* alias

* set alias

* Fix lint

* ut

* publish notification

Co-authored-by: Qi Kang <kangqidev@gmail.com>
Co-authored-by: Lu Han <32191031+luhan2017@users.noreply.github.com>
Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Co-authored-by: Chris Whitten <christopherwhitten@gmail.com>
Co-authored-by: Long Alan <julong@microsoft.com>
Co-authored-by: Dong Lei <donglei@microsoft.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants