Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Messenger] fixed queue_name option on amazon sqs connection#37364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@ck-developer
Copy link
Contributor

@ck-developerck-developer commentedJun 19, 2020
edited
Loading

QA
Branch?5.1
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#37293
LicenseMIT

@ck-developerck-developerforce-pushed thefix-empty-queue-name-aws-sqs branch fromd2e5518 to0a6ed8cCompareJune 19, 2020 21:32
@ck-developerck-developer changed the title[Messenger] fix queue_name option on amazon sqs connection[Messenger] fixed queue_name option on amazon sqs connectionJun 19, 2020
@ck-developerck-developerforce-pushed thefix-empty-queue-name-aws-sqs branch from0a6ed8c todf7e562CompareJune 19, 2020 21:40
@ck-developerck-developer changed the base branch frommaster to5.1June 19, 2020 21:40
@chalasrchalasr added this to the5.1 milestoneJun 19, 2020
@ck-developerck-developerforce-pushed thefix-empty-queue-name-aws-sqs branch 3 times, most recently from54d8124 tof60068dCompareJune 20, 2020 01:00
Copy link
Member

@NyholmNyholm left a comment

Choose a reason for hiding this comment

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

Thank you.

What about adding a test for when you provide both a parameter and add a DSN with a queue name in it?

What should be the preferred result?

newConnection(['queue_name' =>'queue'],newSqsClient(['region' =>'eu-west-1','accessKeyId' =>null,'accessKeySecret' =>null],null,$httpClient)),
Connection::fromDsn('sqs://default', ['queue_name' =>'queue'],$httpClient)
);
}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
}
$this->assertEquals(
newConnection(['queue_name' =>'my_queue'],newSqsClient(['region' =>'eu-west-1','accessKeyId' =>null,'accessKeySecret' =>null],null,$httpClient)),
Connection::fromDsn('sqs://default/my_queue', ['queue_name' =>'queue_ignored'],$httpClient)
);
}

Copy link
Member

@NyholmNyholm left a comment

Choose a reason for hiding this comment

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

Thank you

@chalasr
Copy link
Member

Good catch, thanks@ck-developer.

@fabpotfabpot mentioned this pull requestJul 24, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@jderussejderussejderusse approved these changes

@NyholmNyholmNyholm approved these changes

@chalasrchalasrchalasr approved these changes

@srozesrozeAwaiting requested review from sroze

Assignees

No one assigned

Projects

None yet

Milestone

5.1

Development

Successfully merging this pull request may close these issues.

[Messenger] queue_name option not used in amazon sqs connection

5 participants

@ck-developer@chalasr@jderusse@Nyholm@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp