Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 140
    • Merge requests 140
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !342

Open
Created Aug 08, 2017 by Jérome Perrin@jeromeOwner
  • Report abuse
Report abuse

WIP: integrate olapy in ERP5

  • Overview 1
  • Commits 1
  • Changes 23

This is very early prototype.

Olapy is a python implementation of an XMLA / MDX server compatible with Excel.

This integration reached this point:

  • The server is running in Zope process. Since olapy uses spyne, I could reuse Products.ERP5.Document.SOAPBinding.
  • We have a test simulating a very basic case.

To try this:

  • Install the business template
  • In portal_web_service create a new "Olapy Connection" document.
  • Use the URL of this Olapy Connection in Excel ( similar to https://softinstXXX.host.vifib.net/portal_web_services/1/ )

What is still TODO:

  • I don't have an Excel instance to test with, so I cannot confirm this really work.
  • The cube data is dummy data. Next step will probably to be to serve some prefilled pandas arrays.
  • I would like to be able to configure the cube and dimensions directly on the "Olapy Connection" object. I would also like it to work directly using inventory API. It should not be too hard to "convert" MDX queries in Inventory API queries.
  • We would need to have some authentication and (configurable) security. For exemple, only sales agents can access sales cube, product managers can only see data related to their products, etc.
  • At the moment, Olapy only seem to supports a subset of Excel ( not yet support CUBEMEMBER / CUBEVALUE , no drill down, discovery sometimes hardcoded values, MDX parser is simple regexps ), this will be improved too. I could not connect using python xmla or http://webpivottable.com/demo/

This depends on slapos!204

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feat/olapy
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7