Hello,
I've followed all instructions given in
http://devdocs.magento.com/guides/v2.0/howdoi/webapi/integration.html
this is my module under app/code/
โโโ module-testapi
โโโ Setup
โย ย โโโ InstallData.php
โโโ composer.json
โโโ etc
โย ย โโโ integration
โย ย โย ย โโโ api.xml
โย ย โย ย โโโ config.xml
โย ย โโโ module.xml
โโโ registration.php
<?php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'Anar_Testapi',
__DIR__
);
{
"name": "Anar_Testapi",
"description": "create integration from config",
"require": {
"php": "~5.5.0|~5.6.0|~7.0.0",
"magento/framework": "2.0.0",
"magento/module-integration": "2.0.0"
},
"type": "magento2-module",
"version": "1.0",
"autoload": {
"files": [ "registration.php" ],
"psr-4": {
"Anar\\Testapi\\": ""
}
}
}
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Anar_Testapi" setup_version="2.0.0">
<sequence>
<module name="Magento_Integration"/>
</sequence>
</module>
</config>
<integrations>
<integration name="testIntegration">
<resources>
<!-- To grant permission to Magento_Log::online, its parent Magento_Customer::customer needs to be declared as well-->
<resource name="Magento_Customer::customer" />
<resource name="Magento_Log::online" />
<!-- To grant permission to Magento_Sales::reorder, all its parent resources need to be declared-->
<resource name="Magento_Sales::sales" />
<resource name="Magento_Sales::sales_operation" />
<resource name="Magento_Sales::sales_order" />
<resource name="Magento_Sales::actions" />
<resource name="Magento_Sales::reorder" />
</resources>
</integration>
</integrations>
<integrations>
<integration name="TestIntegration">
<email>[email protected]</email>
<endpoint_url>http://anar.com</endpoint_url>
<identity_link_url>http://anar.com/identity</identity_link_url>
</integration>
</integrations>
I installed module like
bin/magento module:enable Anar_Testapi
bin/magento setup:upgrade
bin/magento setup:di:compile
Seleted module_setup after multiple tries.
Also tried everything mentioned in;
https://github.com/magento/magento2/issues/4023
and
https://github.com/magento/magento2/issues/4824
but still I dont see my integration.
Thank you
@rodrane I'm closing this issue as GitHub issue tracker is intended for technical issues only. Please refer to the Community Forums or the Magento Stack Exchange site for technical questions.
If you think it to be an issue which requires fixing please create new GitHub issue according to to the Issue reporting guidelines: with steps to reproduce, actual result and expected result. Please, also identify which version of Magento you are running.