Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-201: Refactored ExportParametersFactory #68

Conversation

ciastektk
Copy link
Contributor

@ciastektk ciastektk commented Jul 27, 2021

Following: #67

This PR provides refactored ExportParametersFactory and added new export Parameters VO.

Since multimandator feature has been implemented client has possibility to add one or more configuration.
If there is only one configuration then there is no needed to pass customerId, licenseKey and siteAccess parameters to run export. By default this parameters can be taken from SiteAccess configuration.

For multiple configuration parameters customerId, licenseKey and siteAccess are required.

@ciastektk ciastektk force-pushed the ibx-201-refactored-export-parameters-factory branch from fa565b3 to b29fefe Compare July 27, 2021 08:58
@ciastektk ciastektk requested a review from a team July 27, 2021 09:09
@ciastektk ciastektk mentioned this pull request Jul 27, 2021
6 tasks
@ciastektk ciastektk requested review from Steveb-p and alongosz August 3, 2021 12:53
Copy link
Contributor

@Steveb-p Steveb-p left a comment

Choose a reason for hiding this comment

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

I have a few questions that I posted as comments.

@ciastektk ciastektk requested a review from Steveb-p August 4, 2021 11:25
Copy link
Member

@alongosz alongosz left a comment

Choose a reason for hiding this comment

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

+1 after the recent changes, good catches @Steveb-p.

@sonarcloud
Copy link

sonarcloud bot commented Aug 6, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 7 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ciastektk ciastektk merged commit e482265 into ibx-201-refactored-export-command Aug 6, 2021
@ciastektk ciastektk deleted the ibx-201-refactored-export-parameters-factory branch August 6, 2021 08:45
ciastektk added a commit that referenced this pull request Aug 6, 2021
* IBX-201: Refactored ExportCommand

* Update tests/bundle/Command/ExportCommandTest.php

Co-authored-by: Paweł Niedzielski <[email protected]>

* Update tests/bundle/Command/ExportCommandTest.php

Co-authored-by: Paweł Niedzielski <[email protected]>

* Update tests/bundle/Command/ExportCommandTest.php

Co-authored-by: Paweł Niedzielski <[email protected]>

* Fixed phpdoc

* IBX-201: Refactored ExportParametersFactory (#68)

* IBX-201: Refactored ExportParametersFactory

* Update src/lib/Factory/Export/ParametersFactory.php

Co-authored-by: Paweł Niedzielski <[email protected]>

* Fixes after review

* Fixed getMissingRequiredOptions method

* Update src/lib/Exception/CredentialsNotFoundException.php

Co-authored-by: Adam Wójs <[email protected]>

* Update src/lib/Factory/Export/ParametersFactory.php

Co-authored-by: Paweł Niedzielski <[email protected]>

* Fixes after review

* Used willReturnMap instead of willReturn

Co-authored-by: Paweł Niedzielski <[email protected]>
Co-authored-by: Adam Wójs <[email protected]>

* IBX-201: Added CommandInputResolver (#69)

* IBX-201: Added CommandInputResolver

* Added test for CommandInputResolver

* IBX-201:Fixes after refactoring (#70)

* IBX-201-Fixes after refactoring

* Fixes after review

* Removed check option hidden

* Update src/lib/Service/ExportNotificationService.php

Co-authored-by: Paweł Niedzielski <[email protected]>

Co-authored-by: Paweł Niedzielski <[email protected]>

* Fixed phpstan errors

* Fixed cs

* Fixed getMissingRequiredOptions

Co-authored-by: Paweł Niedzielski <[email protected]>
Co-authored-by: Adam Wójs <[email protected]>
ciastektk pushed a commit that referenced this pull request Mar 16, 2022
* RSYS-3071: Fixed bugs: error label, related checkbox

* Remove empty line

* After CR
ciastektk added a commit that referenced this pull request Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants