From 1c30c7dd440d092e2bac11dd3caf0d71a321d110 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 26 Sep 2020 12:14:38 +0300 Subject: [PATCH] Update notes --- content/posts/2020-09.md | 74 ++++++++++++++++++++++ docs/2020-09/index.html | 81 ++++++++++++++++++++++++- docs/categories/index.html | 2 +- docs/categories/notes/index.html | 2 +- docs/categories/notes/page/2/index.html | 2 +- docs/categories/notes/page/3/index.html | 2 +- docs/categories/notes/page/4/index.html | 2 +- docs/index.html | 2 +- docs/page/2/index.html | 2 +- docs/page/3/index.html | 2 +- docs/page/4/index.html | 2 +- docs/page/5/index.html | 2 +- docs/page/6/index.html | 2 +- docs/page/7/index.html | 2 +- docs/posts/index.html | 2 +- docs/posts/page/2/index.html | 2 +- docs/posts/page/3/index.html | 2 +- docs/posts/page/4/index.html | 2 +- docs/posts/page/5/index.html | 2 +- docs/posts/page/6/index.html | 2 +- docs/posts/page/7/index.html | 2 +- docs/sitemap.xml | 10 +-- 22 files changed, 176 insertions(+), 27 deletions(-) diff --git a/content/posts/2020-09.md b/content/posts/2020-09.md index 6575dbf15..3f4115c1f 100644 --- a/content/posts/2020-09.md +++ b/content/posts/2020-09.md @@ -389,4 +389,78 @@ solr_query_params = { - The date range format for Solr is important, but it seems we only need to add `T00:00:00Z` to the normal ISO 8601 YYYY-MM-DD strings +## 2020-09-25 + +- I did some more work on the dspace-statistics-api and finalized the support for sending a POST to `/items`: + +``` +$ curl -s -d @request.json https://dspacetest.cgiar.org/rest/statistics/items | json_pp +{ + "currentPage" : 0, + "limit" : 10, + "statistics" : [ + { + "downloads" : 3329, + "id" : "b2c1bbfd-65b0-438c-9e49-d271c49b2696", + "views" : 1565 + }, + { + "downloads" : 3797, + "id" : "f44cf173-2344-4eb2-8f00-ee55df32c76f", + "views" : 48 + }, + { + "downloads" : 11064, + "id" : "8542f9da-9ce1-4614-abf4-f2e3fdb4b305", + "views" : 26 + }, + { + "downloads" : 6782, + "id" : "2324aa41-e9de-4a2b-bc36-16241464683e", + "views" : 19 + }, + { + "downloads" : 48, + "id" : "0fe573e7-042a-4240-a4d9-753b61233908", + "views" : 12 + }, + { + "downloads" : 0, + "id" : "000e61ca-695d-43e5-9ab8-1f3fd7a67a32", + "views" : 4 + }, + { + "downloads" : 0, + "id" : "000dc7cd-9485-424b-8ecf-78002613cc87", + "views" : 1 + }, + { + "downloads" : 0, + "id" : "000e1616-3901-4431-80b1-c6bc67312d8c", + "views" : 1 + }, + { + "downloads" : 0, + "id" : "000ea897-5557-49c7-9f54-9fa192c0f83b", + "views" : 1 + }, + { + "downloads" : 0, + "id" : "000ec427-97e5-4766-85a5-e8dd62199ab5", + "views" : 1 + } + ], + "totalPages" : 13 +} +``` + +- I deployed it on DSpace Test and sent a note to Salem so he can test it +- I still need to add tests... +- After that I will probably tag it as version 1.3.0 + +## 2020-09-25 + +- Atmire responded with some notes about the issues we're having with CUA and L&R on DSpace Test + - They think they have found the reason the issues are happening... + diff --git a/docs/2020-09/index.html b/docs/2020-09/index.html index aa77166d7..d63ea6444 100644 --- a/docs/2020-09/index.html +++ b/docs/2020-09/index.html @@ -25,7 +25,7 @@ I filed an issue on OpenRXV to make some minor edits to the admin UI: https://gi - + @@ -55,9 +55,9 @@ I filed an issue on OpenRXV to make some minor edits to the admin UI: https://gi "@type": "BlogPosting", "headline": "September, 2020", "url": "https://alanorth.github.io/cgspace-notes/2020-09/", - "wordCount": "2608", + "wordCount": "2822", "datePublished": "2020-09-02T15:35:54+03:00", - "dateModified": "2020-09-22T14:14:18+03:00", + "dateModified": "2020-09-23T12:59:10+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -591,6 +591,81 @@ solr_query_params = { +

2020-09-25

+ +
$ curl -s -d @request.json https://dspacetest.cgiar.org/rest/statistics/items | json_pp
+{
+   "currentPage" : 0,
+   "limit" : 10,
+   "statistics" : [
+      {
+         "downloads" : 3329,
+         "id" : "b2c1bbfd-65b0-438c-9e49-d271c49b2696",
+         "views" : 1565
+      },
+      {
+         "downloads" : 3797,
+         "id" : "f44cf173-2344-4eb2-8f00-ee55df32c76f",
+         "views" : 48
+      },
+      {
+         "downloads" : 11064,
+         "id" : "8542f9da-9ce1-4614-abf4-f2e3fdb4b305",
+         "views" : 26
+      },
+      {
+         "downloads" : 6782,
+         "id" : "2324aa41-e9de-4a2b-bc36-16241464683e",
+         "views" : 19
+      },
+      {
+         "downloads" : 48,
+         "id" : "0fe573e7-042a-4240-a4d9-753b61233908",
+         "views" : 12
+      },
+      {
+         "downloads" : 0,
+         "id" : "000e61ca-695d-43e5-9ab8-1f3fd7a67a32",
+         "views" : 4
+      },
+      {
+         "downloads" : 0,
+         "id" : "000dc7cd-9485-424b-8ecf-78002613cc87",
+         "views" : 1
+      },
+      {
+         "downloads" : 0,
+         "id" : "000e1616-3901-4431-80b1-c6bc67312d8c",
+         "views" : 1
+      },
+      {
+         "downloads" : 0,
+         "id" : "000ea897-5557-49c7-9f54-9fa192c0f83b",
+         "views" : 1
+      },
+      {
+         "downloads" : 0,
+         "id" : "000ec427-97e5-4766-85a5-e8dd62199ab5",
+         "views" : 1
+      }
+   ],
+   "totalPages" : 13
+}
+
+

2020-09-25

+ diff --git a/docs/categories/index.html b/docs/categories/index.html index 0431edf97..4fd47b4c5 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index eeaa6beac..6979f722f 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index f5d60cc84..97c42156e 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index 1b1bab4b1..077c69ac0 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 7f8518074..a370974bd 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 6614d12a6..64a2dc896 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index 93f7edafb..2bad8aca1 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 02b520901..2341b36fd 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index 5e88bb496..1f534def4 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index deb2a76e9..0e60a8a4a 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 079afa626..b31b66d1c 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 7a72d3b75..bb4dc3e50 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 2c836fe43..4f6355841 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 101e1b3b2..6ae1837aa 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index f57967b8c..39de0bee7 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index a3f4f1c68..48c85e440 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index f662551f9..75a1fe69b 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index 46831386d..247838c18 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 69542a37d..e2813a11c 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -9,7 +9,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 530a540b3..c62591f96 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,27 +4,27 @@ https://alanorth.github.io/cgspace-notes/categories/ - 2020-09-22T14:14:18+03:00 + 2020-09-23T12:59:10+03:00 https://alanorth.github.io/cgspace-notes/ - 2020-09-22T14:14:18+03:00 + 2020-09-23T12:59:10+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2020-09-22T14:14:18+03:00 + 2020-09-23T12:59:10+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2020-09-22T14:14:18+03:00 + 2020-09-23T12:59:10+03:00 https://alanorth.github.io/cgspace-notes/2020-09/ - 2020-09-22T14:14:18+03:00 + 2020-09-23T12:59:10+03:00