-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from leroy-merlin-br/chore/configOptions
Config options
- Loading branch information
Showing
60 changed files
with
1,343 additions
and
1,284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
### Added | ||
|
||
- Added AvroSchemaMixedEncoderTest | ||
- Added AvroSchemaDecoderTest | ||
- Added ProducerWithConfigOptionsTest | ||
- Added ConfigOptionsCommand to run commands with ConfigOptions class | ||
- Added pt_BR contributing section | ||
- Added setup-dev script on composer | ||
- Added grumphp commit validation | ||
|
||
### Fixed | ||
|
||
- Fixed parameters and options override on Consumer\Config class | ||
- Update instructions on contribute section | ||
- Update project install section | ||
|
||
### Changed | ||
|
||
- Updated class from ConfigManager to ConfigOptions on unit tests | ||
- Updated class from ConfigManager to ConfigOptions where any config request was made | ||
- Consumer and Producer middlewares resolution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
return [ | ||
'avro_schema' => [ | ||
'url' => '', | ||
'request_options' => [ | ||
'headers' => [ | ||
'Authorization' => [ | ||
'Basic' . base64_encode( | ||
env('AVRO_SCHEMA_USERNAME') . ':' . env( | ||
'AVRO_SCHEMA_PASSWORD' | ||
) | ||
), | ||
], | ||
], | ||
], | ||
'ssl_verify' => true, | ||
'username' => 'USERNAME', | ||
'password' => 'PASSWORD', | ||
], | ||
'broker' => [ | ||
'connections' => env('KAFKA_BROKER_CONNECTIONS', 'kafka:9092'), | ||
'auth' => [ | ||
'type' => 'ssl', // ssl and none | ||
'ca' => storage_path('ca.pem'), | ||
'certificate' => storage_path('kafka.cert'), | ||
'key' => storage_path('kafka.key'), | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.