mirror of
https://github.com/apache/archiva.git
synced 2025-02-08 02:59:43 +00:00
[MRM-1293] align the documented content model to the implementation for the statistics nodes
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891520 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bc6ca302ad
commit
62e051806e
@ -127,29 +127,25 @@ The following is the intended content model for the metadata content repository:
|
|||||||
`-- 2009/
|
`-- 2009/
|
||||||
`-- 12/
|
`-- 12/
|
||||||
|-- 02/
|
|-- 02/
|
||||||
| `-- 23/
|
| `-- 234700.000/
|
||||||
| `-- 47/
|
| |-- scanEndTime=
|
||||||
| `-- 00/
|
| |-- scanStartTime=
|
||||||
| |-- scanEndTime=
|
| |-- totalArtifactCount=
|
||||||
| |-- scanStartTime=
|
| |-- totalArtifactFileSize=
|
||||||
| |-- totalArtifactCount=
|
| |-- totalFileCount=
|
||||||
| |-- totalArtifactFileSize=
|
| |-- totalGroupCount=
|
||||||
| |-- totalFileCount=
|
| `-- totalProjectCount=
|
||||||
| |-- totalGroupCount=
|
|
||||||
| `-- totalProjectCount=
|
|
||||||
`-- 03/
|
`-- 03/
|
||||||
`-- 09/
|
`-- 090000.000/
|
||||||
`-- 00/
|
|-- scanEndTime=
|
||||||
`-- 00/
|
|-- scanStartTime=
|
||||||
|-- scanEndTime=
|
|-- totalArtifactCount=
|
||||||
|-- scanStartTime=
|
|-- totalArtifactFileSize=
|
||||||
|-- totalArtifactCount=
|
|-- totalFileCount=
|
||||||
|-- totalArtifactFileSize=
|
|-- totalGroupCount=
|
||||||
|-- totalFileCount=
|
`-- totalProjectCount=
|
||||||
|-- totalGroupCount=
|
|
||||||
`-- totalProjectCount=
|
|
||||||
|
|
||||||
(To update - run "tree --dirstfirst -F" on the unpacked content-model.zip from the sandbox)
|
(To update - run "tree --dirsfirst -F" on the unpacked content-model.zip from the sandbox)
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ public class RepositoryStatistics
|
|||||||
|
|
||||||
public static String FACET_ID = "org.apache.archiva.metadata.repository.stats";
|
public static String FACET_ID = "org.apache.archiva.metadata.repository.stats";
|
||||||
|
|
||||||
static final DateFormat SCAN_TIMESTAMP = new SimpleDateFormat( "yyyyMMdd.HHmmss.SSS" );
|
static final DateFormat SCAN_TIMESTAMP = new SimpleDateFormat( "yyyy/MM/dd/HHmmss.SSS" );
|
||||||
|
|
||||||
private Map<String, Long> totalCountForType = new HashMap<String, Long>();
|
private Map<String, Long> totalCountForType = new HashMap<String, Long>();
|
||||||
|
|
||||||
|
@ -48,9 +48,9 @@ public class RepositoryStatisticsManagerTest
|
|||||||
|
|
||||||
private MetadataRepository metadataRepository;
|
private MetadataRepository metadataRepository;
|
||||||
|
|
||||||
private static final String FIRST_TEST_SCAN = "20091201.123456.789";
|
private static final String FIRST_TEST_SCAN = "2009/12/01/123456.789";
|
||||||
|
|
||||||
private static final String SECOND_TEST_SCAN = "20091202.012345.678";
|
private static final String SECOND_TEST_SCAN = "2009/12/02/012345.678";
|
||||||
|
|
||||||
private Map<String, RepositoryStatistics> statsCreated = new LinkedHashMap<String, RepositoryStatistics>();
|
private Map<String, RepositoryStatistics> statsCreated = new LinkedHashMap<String, RepositoryStatistics>();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user