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 ExportCommand #67

Merged
merged 11 commits into from
Aug 6, 2021

Conversation

ciastektk
Copy link
Contributor

@ciastektk ciastektk commented Jul 27, 2021

Question Answer
JIRA issue IBX-201
Type improvement
Target Ibexa DXP version v4.0.0
BC breaks no
Doc needed no

Since data source feature has been implemented ExportCommand needs changes to be compatible with data sources.

This PR contains changes to ExportCommand:

  • Added new namespace
  • Removed unnecessary options
  • Fixed command options name
  • Added basic integration test ( will be extended after refactoring Export feature )

ParametersFactory: #68
CommandInputResolver: #69

Checklist:

  • Provided PR description.
  • Tested the solution manually.
  • Provided automated test coverage.
  • Checked that target branch is set correctly (master for features, the oldest supported for bugs).
  • Ran PHP CS Fixer for new PHP code (use $ composer fix-cs).
  • Asked for a review (ping @ezsystems/php-dev-team).

@ciastektk ciastektk requested a review from Steveb-p August 4, 2021 09:10
ciastektk and others added 6 commits August 6, 2021 10:44
* 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

* Added test for CommandInputResolver
* 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]>
@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 10 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ciastektk ciastektk merged commit 72f6cca into master Aug 6, 2021
@ciastektk ciastektk deleted the ibx-201-refactored-export-command branch August 6, 2021 09:27
ciastektk pushed a commit that referenced this pull request Mar 16, 2022
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