├── .gitignore
├── LICENSE.md
├── README.md
├── cli
├── getversion.php
├── init-db.php
├── init.php
└── update.php
├── composer.json
├── composer.lock
├── config.ini.dist
├── database
├── 01_tables.sql
├── 02_system_data.sql
├── 03_indexes.sql
├── 04_constraints.sql
├── 05_clean_up.sql
└── 06_fakes.sql
├── docs
├── Описание службы получения обновлений.doc
└── Сведения о составе информации ФИАС.doc
├── huyak-package.xml
├── import.php.dist
├── phpunit.xml.dist
├── src
├── AddressObjectsImporter.php
├── AddressObjectsUpdater.php
├── AddressStorage.php
├── ApiAction
│ ├── AddressCompletion.php
│ ├── AddressPostalCode.php
│ ├── ApiActionInterface.php
│ ├── PlaceCompletion.php
│ ├── PostalCodeLocation.php
│ └── Validation.php
├── BadRequestException.php
├── Container.php
├── Controller
│ └── ApiController.php
├── DataSource
│ ├── DataSource.php
│ ├── IntervalGenerator.php
│ └── XmlReader.php
├── DatabaseDumpManager.php
├── DbHelper.php
├── FileSystem
│ ├── Dearchiver.php
│ ├── Directory.php
│ ├── FileException.php
│ └── FileHelper.php
├── HousesImporter.php
├── HousesUpdater.php
├── Importer.php
├── ImporterException.php
├── Loader
│ ├── Base.php
│ ├── InitLoader.php
│ ├── SoapResultWrapper.php
│ └── UpdateLoader.php
├── PlaceStorage.php
├── RawDataHelper.php
├── Remover.php
└── UpdateLogHelper.php
├── tests
├── AddressObjectsUpdaterTest.php
├── AddressStorageTest.php
├── ApiActionAddressCompletionTest.php
├── ApiActionAddressPostalCodeTest.php
├── ApiActionPlaceCompletionTest.php
├── ApiActionPostalCodeLocationTest.php
├── ApiActionValidationTest.php
├── ApiControllerTest.php
├── DbHelperTest.php
├── DearchiverTest.php
├── DirectoryTest.php
├── HousesUpdaterTest.php
├── ImporterTest.php
├── IntervalGeneratorTest.php
├── RawDataHelperTest.php
├── RemoverTest.php
├── TestAbstract.php
├── UpdateLoaderTest.php
├── UpdateLogHelperTest.php
├── XmlTest.php
└── resources
│ ├── correctScript.sql
│ ├── directoryTest
│ ├── AS_ADDROBJ_20131221_5316e71a-a8d8-49df-b17c-66d3a981906a.XML
│ ├── AS_DEL_ADDROBJ_20131221_8a0076a7-1f52-4423-8fc6-58dec367832b.XML
│ ├── AS_DEL_HOUSE_20131221_ea93b12d-129d-46a0-9cfb-429b64a28873.XML
│ └── AS_HOUSE_20131221_bccfd0d0-af7a-49db-8401-df23dc3d2efa.XML
│ ├── inCorrectScript.sql
│ ├── load.csv
│ ├── load.jmx
│ └── readerTest.xml
└── web
└── index.php
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/.gitignore
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/LICENSE.md
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/README.md
--------------------------------------------------------------------------------
/cli/getversion.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/cli/getversion.php
--------------------------------------------------------------------------------
/cli/init-db.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/cli/init-db.php
--------------------------------------------------------------------------------
/cli/init.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/cli/init.php
--------------------------------------------------------------------------------
/cli/update.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/cli/update.php
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/composer.json
--------------------------------------------------------------------------------
/composer.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/composer.lock
--------------------------------------------------------------------------------
/config.ini.dist:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/config.ini.dist
--------------------------------------------------------------------------------
/database/01_tables.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/database/01_tables.sql
--------------------------------------------------------------------------------
/database/02_system_data.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/database/02_system_data.sql
--------------------------------------------------------------------------------
/database/03_indexes.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/database/03_indexes.sql
--------------------------------------------------------------------------------
/database/04_constraints.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/database/04_constraints.sql
--------------------------------------------------------------------------------
/database/05_clean_up.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/database/05_clean_up.sql
--------------------------------------------------------------------------------
/database/06_fakes.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/database/06_fakes.sql
--------------------------------------------------------------------------------
/docs/Описание службы получения обновлений.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/docs/Описание службы получения обновлений.doc
--------------------------------------------------------------------------------
/docs/Сведения о составе информации ФИАС.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/docs/Сведения о составе информации ФИАС.doc
--------------------------------------------------------------------------------
/huyak-package.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/huyak-package.xml
--------------------------------------------------------------------------------
/import.php.dist:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/import.php.dist
--------------------------------------------------------------------------------
/phpunit.xml.dist:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/phpunit.xml.dist
--------------------------------------------------------------------------------
/src/AddressObjectsImporter.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/AddressObjectsImporter.php
--------------------------------------------------------------------------------
/src/AddressObjectsUpdater.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/AddressObjectsUpdater.php
--------------------------------------------------------------------------------
/src/AddressStorage.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/AddressStorage.php
--------------------------------------------------------------------------------
/src/ApiAction/AddressCompletion.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/ApiAction/AddressCompletion.php
--------------------------------------------------------------------------------
/src/ApiAction/AddressPostalCode.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/ApiAction/AddressPostalCode.php
--------------------------------------------------------------------------------
/src/ApiAction/ApiActionInterface.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/ApiAction/ApiActionInterface.php
--------------------------------------------------------------------------------
/src/ApiAction/PlaceCompletion.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/ApiAction/PlaceCompletion.php
--------------------------------------------------------------------------------
/src/ApiAction/PostalCodeLocation.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/ApiAction/PostalCodeLocation.php
--------------------------------------------------------------------------------
/src/ApiAction/Validation.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/ApiAction/Validation.php
--------------------------------------------------------------------------------
/src/BadRequestException.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/BadRequestException.php
--------------------------------------------------------------------------------
/src/Container.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/Container.php
--------------------------------------------------------------------------------
/src/Controller/ApiController.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/Controller/ApiController.php
--------------------------------------------------------------------------------
/src/DataSource/DataSource.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/DataSource/DataSource.php
--------------------------------------------------------------------------------
/src/DataSource/IntervalGenerator.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/DataSource/IntervalGenerator.php
--------------------------------------------------------------------------------
/src/DataSource/XmlReader.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/DataSource/XmlReader.php
--------------------------------------------------------------------------------
/src/DatabaseDumpManager.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/DatabaseDumpManager.php
--------------------------------------------------------------------------------
/src/DbHelper.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/DbHelper.php
--------------------------------------------------------------------------------
/src/FileSystem/Dearchiver.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/FileSystem/Dearchiver.php
--------------------------------------------------------------------------------
/src/FileSystem/Directory.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/FileSystem/Directory.php
--------------------------------------------------------------------------------
/src/FileSystem/FileException.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/FileSystem/FileException.php
--------------------------------------------------------------------------------
/src/FileSystem/FileHelper.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/FileSystem/FileHelper.php
--------------------------------------------------------------------------------
/src/HousesImporter.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/HousesImporter.php
--------------------------------------------------------------------------------
/src/HousesUpdater.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/HousesUpdater.php
--------------------------------------------------------------------------------
/src/Importer.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/Importer.php
--------------------------------------------------------------------------------
/src/ImporterException.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/ImporterException.php
--------------------------------------------------------------------------------
/src/Loader/Base.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/Loader/Base.php
--------------------------------------------------------------------------------
/src/Loader/InitLoader.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/Loader/InitLoader.php
--------------------------------------------------------------------------------
/src/Loader/SoapResultWrapper.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/Loader/SoapResultWrapper.php
--------------------------------------------------------------------------------
/src/Loader/UpdateLoader.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/Loader/UpdateLoader.php
--------------------------------------------------------------------------------
/src/PlaceStorage.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/PlaceStorage.php
--------------------------------------------------------------------------------
/src/RawDataHelper.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/RawDataHelper.php
--------------------------------------------------------------------------------
/src/Remover.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/Remover.php
--------------------------------------------------------------------------------
/src/UpdateLogHelper.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/src/UpdateLogHelper.php
--------------------------------------------------------------------------------
/tests/AddressObjectsUpdaterTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/AddressObjectsUpdaterTest.php
--------------------------------------------------------------------------------
/tests/AddressStorageTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/AddressStorageTest.php
--------------------------------------------------------------------------------
/tests/ApiActionAddressCompletionTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/ApiActionAddressCompletionTest.php
--------------------------------------------------------------------------------
/tests/ApiActionAddressPostalCodeTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/ApiActionAddressPostalCodeTest.php
--------------------------------------------------------------------------------
/tests/ApiActionPlaceCompletionTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/ApiActionPlaceCompletionTest.php
--------------------------------------------------------------------------------
/tests/ApiActionPostalCodeLocationTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/ApiActionPostalCodeLocationTest.php
--------------------------------------------------------------------------------
/tests/ApiActionValidationTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/ApiActionValidationTest.php
--------------------------------------------------------------------------------
/tests/ApiControllerTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/ApiControllerTest.php
--------------------------------------------------------------------------------
/tests/DbHelperTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/DbHelperTest.php
--------------------------------------------------------------------------------
/tests/DearchiverTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/DearchiverTest.php
--------------------------------------------------------------------------------
/tests/DirectoryTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/DirectoryTest.php
--------------------------------------------------------------------------------
/tests/HousesUpdaterTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/HousesUpdaterTest.php
--------------------------------------------------------------------------------
/tests/ImporterTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/ImporterTest.php
--------------------------------------------------------------------------------
/tests/IntervalGeneratorTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/IntervalGeneratorTest.php
--------------------------------------------------------------------------------
/tests/RawDataHelperTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/RawDataHelperTest.php
--------------------------------------------------------------------------------
/tests/RemoverTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/RemoverTest.php
--------------------------------------------------------------------------------
/tests/TestAbstract.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/TestAbstract.php
--------------------------------------------------------------------------------
/tests/UpdateLoaderTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/UpdateLoaderTest.php
--------------------------------------------------------------------------------
/tests/UpdateLogHelperTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/UpdateLogHelperTest.php
--------------------------------------------------------------------------------
/tests/XmlTest.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/XmlTest.php
--------------------------------------------------------------------------------
/tests/resources/correctScript.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/resources/correctScript.sql
--------------------------------------------------------------------------------
/tests/resources/directoryTest/AS_ADDROBJ_20131221_5316e71a-a8d8-49df-b17c-66d3a981906a.XML:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/tests/resources/directoryTest/AS_DEL_ADDROBJ_20131221_8a0076a7-1f52-4423-8fc6-58dec367832b.XML:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/tests/resources/directoryTest/AS_DEL_HOUSE_20131221_ea93b12d-129d-46a0-9cfb-429b64a28873.XML:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/tests/resources/directoryTest/AS_HOUSE_20131221_bccfd0d0-af7a-49db-8401-df23dc3d2efa.XML:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/tests/resources/inCorrectScript.sql:
--------------------------------------------------------------------------------
1 | SELECT * FROM "totallyInCorrectTableName";
2 |
--------------------------------------------------------------------------------
/tests/resources/load.csv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/resources/load.csv
--------------------------------------------------------------------------------
/tests/resources/load.jmx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/resources/load.jmx
--------------------------------------------------------------------------------
/tests/resources/readerTest.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/tests/resources/readerTest.xml
--------------------------------------------------------------------------------
/web/index.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/miknatr/fias/HEAD/web/index.php
--------------------------------------------------------------------------------