Magento2: Integration module is not showing up under System->Integrations

Created on 4 Sep 2016  ยท  1Comment  ยท  Source: magento/magento2

Hello,

I've followed all instructions given in
http://devdocs.magento.com/guides/v2.0/howdoi/webapi/integration.html

File Tree

this is my module under app/code/

โ””โ”€โ”€ module-testapi
    โ”œโ”€โ”€ Setup
    โ”‚ย ย  โ””โ”€โ”€ InstallData.php
    โ”œโ”€โ”€ composer.json
    โ”œโ”€โ”€ etc
    โ”‚ย ย  โ”œโ”€โ”€ integration
    โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ api.xml
    โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ config.xml
    โ”‚ย ย  โ””โ”€โ”€ module.xml
    โ””โ”€โ”€ registration.php

registration.php

<?php
       \Magento\Framework\Component\ComponentRegistrar::register(
     \Magento\Framework\Component\ComponentRegistrar::MODULE,
     'Anar_Testapi',
     __DIR__
     );

composer.json

 {
      "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\\": ""
         }
      }
   }

module.xml

<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>

api.xml

<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>

config.xml

<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>

Installation

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

FrameworWebapi

>All comments

@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.

Was this page helpful?
0 / 5 - 0 ratings