GithubHelp home page GithubHelp logo

piivoconnector's Introduction

PiiVO Connector

This extension purposes new API possibilities to connect PiiVO DAM with Akeneo PIM. We are trying to create this extension to add more features on the current version but keep in mind we don't engage on its stability.

Requirements

PiiVO Connector Akeneo PIM Community Edition
v1.1.* v2.*
v1.0.* v1.7.*

Installation

You can install this bundle with composer (see requirements section):

    php composer.phar require akeneo/piivo-connector:1.1.*

and enable the bundle in the app/AppKernel.php file in the registerBundles() method:

    $bundles = [
        // ...
        new Piivo\Bundle\ConnectorBundle\PiivoConnectorBundle(),
        new Pim\Bundle\ExtendedAttributeTypeBundle\PimExtendedAttributeTypeBundle(),
    ]

If your installation is already set up, don't forget to clean your cache in production environment.

Adds routing in app/config/routing.yml:

piivo_api:
   resource: "@PiivoConnectorBundle/Resources/config/routing.yml"
   prefix: /api

Elasticsearch indexes

As explained in the ExtendedAttributeTypeBundle's README, you will also have to register the new Elasticsearch configuration files; in app/config/pim_parameters.yml, edit the elasticsearch_index_configuration_files parameter and add the following values:

elasticsearch_index_configuration_files:
    - '%kernel.root_dir%/../vendor/akeneo/pim-community-dev/src/Pim/Bundle/CatalogBundle/Resources/elasticsearch/index_configuration.yml'
    - '%kernel.root_dir%/../vendor/akeneo/extended-attribute-type/src/Resources/config/elasticsearch/index_configuration.yml'

For the Enterprise edition, there is another file to register:

elasticsearch_index_configuration_files:
    - '%kernel.root_dir%/../vendor/akeneo/pim-community-dev/src/Pim/Bundle/CatalogBundle/Resources/elasticsearch/index_configuration.yml'
    - '%kernel.root_dir%/../vendor/akeneo/pim-enterprise-dev/src/PimEnterprise/Bundle/WorkflowBundle/Resources/elasticsearch/index_configuration.yml'
    - '%kernel.root_dir%/../vendor/akeneo/extended-attribute-type/src/Resources/config/elasticsearch/index_configuration.yml'
    - '%kernel.root_dir%/../vendor/akeneo/extended-attribute-type/src/Resources/config/elasticsearch/index_configuration_ee.yml'    

If this is a fresh install, you can then proceed with a standard installation.

From an existing PIM, on the other hand, you will have to re-create your elasticsearch indexes:

    php bin/console cache:clear --no-warmup --env=prod
    php bin/console akeneo:elasticsearch:reset-indexes --env=prod
    php bin/console pim:product-model:index --all --env=prod
    php bin/console pim:product:index --all --env=prod

Documentation

Some example of API usages can be found here: https://api.akeneo.com/ We keep API main rules for new routes and filters.

Contributing

If you want to contribute to this open-source project, thank you to read and sign the following contributor agreement

piivoconnector's People

Contributors

fitn avatar jmleroux avatar mmetayer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.