Bug 1186606 - in statistical API should contain project's component or module
Summary: in statistical API should contain project's component or module
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Zanata
Classification: Retired
Component: Component-API
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-28 06:20 UTC by anish
Modified: 2015-04-12 23:12 UTC (History)
4 users (show)

Fixed In Version:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-02-09 03:09:02 UTC
Embargoed:


Attachments (Terms of Use)

Description anish 2015-01-28 06:20:56 UTC
Description of problem:

Statistical API is as follows "/stats/project/{projectSlug}/version/{versionSlug}/contributor/{username}/{dateRange}" 

Here projectslug specifies project name. 
However in some projects such as openstack which contains several modules(sub-components). So project slug should contain project module as well. 
Currently I think projectslug only contains project name itself. 
e.g 

zanata API would look like "/stat/project/openstack/nova/version/1/contributor/john/2015-1-1" 

In above API openstack is project name and nova is module name in openstack project.

Comment 1 Carlos Munoz 2015-01-29 03:52:47 UTC
Anish, in Zanata world, a project does not have sub-modules or sub-components.

The way it should probably be setup is for each component to have its own project. So, for example: openstack-nova would be one of the projects.

Comment 2 Daisy Guo 2015-02-06 06:15:27 UTC
Hi, Carlos

I think we could use "nova" as the project name in our own Zanata instance. We don't need the concept of modules or sub modules. So this bug could be closed.

@Anish, do you agree ?

Regards
Daisy

Comment 3 anish 2015-02-06 09:56:11 UTC
Yes please close this as not a bug


Note You need to log in before you can comment on or make changes to this bug.