Skip to content

Commit

Permalink
Inject cloud provider to the list on the config source
Browse files Browse the repository at this point in the history
This is a change required since the 1.0.3 version of the headless framework.
  • Loading branch information
igor-imaginemage committed Mar 14, 2023
1 parent 4990799 commit c6912b1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"role": "Senior Software Engineer"
}
],
"version": "1.0.0",
"version": "1.0.1",
"require": {
"php": ">=8.1",
"google/cloud-functions": "^1.0",
"grpc/grpc": "^1.38",
"imdigital/magento-serverless": "^1.0"
"imdigital/magento-serverless": "^1.0.3"
},
"autoload": {
"files": [
Expand Down
11 changes: 11 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
</argument>
</arguments>
</type>
<type name="ImDigital\Serverless\Model\Config\Source\Provider">
<arguments>
<argument name="cloudProviders" xsi:type="array">
<item name="gcp" xsi:type="array">
<item name="label" xsi:type="string">Google Cloud</item>
<item name="value" xsi:type="string">gcp</item>
</item>
</argument>
</arguments>
</type>


<!-- Inject log file -->
<type name="ImDigital\ServerlessGcp\Model\Cloud\Provider">
Expand Down

0 comments on commit c6912b1

Please sign in to comment.