Skip to content

Commit 9ed5923

Browse files
authored
Merge pull request #8 from techdivision/pac-353-call-api
PAC-353: integrate new config to read data from api
2 parents 664bbf3 + cd2a83d commit 9ed5923

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# Version 5.2.0
2+
3+
## Bugfixes
4+
5+
* none
6+
7+
## Features
8+
9+
* Add #PAC-353 new feature to get magento configuration from api in Pacemaker Enterprise
10+
* Add #PAC-215 option `config-output` as default false to report all configuration json files in logs
11+
* The command: `bin/import-simple import:debug --config-output=true`
112
# Version 5.1.0
213

314
## Bugfixes

src/ConfigurationFactoryInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ public function factory($filename, $type = 'json');
5252
*/
5353
public function factoryFromDirectories($installationDir, $defaultConfigurationDir = 'etc', array $directories = array(), $format = 'json', $params = null, $paramsFile = null);
5454

55+
/**
56+
* @param array $directories An array with diretories to parse and merge
57+
* @param string $format The format of the configuration file, either one of json, yaml or xml
58+
* @return array
59+
*/
60+
public function getConfigurationFiles(array $directories = array(), $format = 'json');
61+
5562
/**
5663
* Factory implementation to create a new initialized configuration instance.
5764
*

src/ConfigurationInterface.php

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,4 +482,44 @@ public function setBlackListings(array $blackListings);
482482
* @return array The Black List
483483
*/
484484
public function getBlackListings();
485+
486+
/**
487+
* Get the api Data from Config
488+
*
489+
* @return array
490+
*/
491+
public function getApiData();
492+
493+
/**
494+
* Set the api Data from Config
495+
*
496+
* @param array $apiData apidata
497+
*
498+
* @return void
499+
*/
500+
public function setApiData($apiData);
501+
502+
/**
503+
* @return bool
504+
*/
505+
public function isConfigOutput();
506+
507+
/**
508+
* @param bool $configOutput the configuration files
509+
*
510+
* @return void
511+
*/
512+
public function setConfigOutput(bool $configOutput);
513+
514+
/**
515+
* @param array $configurationFiles The configuration files
516+
*
517+
* @return void
518+
*/
519+
public function setConfigurationFiles(array $configurationFiles);
520+
521+
/**
522+
* @return array
523+
*/
524+
public function getConfigurationFiles();
485525
}

0 commit comments

Comments
 (0)