---
# System prepended metadata

title: Portals mtg 7/27

---

# Portals mtg 7/27


* **metadata assessment** [name=Peter]
    * are portals only accessible via the seriesId?
        * Yes, and really the short label
    * `mn-stage-ucsb-2` out of sync with cn-stage
        * is this needed for testing?
            * Yes, let's sync. Jing to roll back the `lastHarvestDate` on the CN

- Portals work priorities (and for Robyn)
    - All `portals` issues: https://app.zenhub.com/workspaces/data-portal-infrastructure-5d057ceca88c9959aefd0159/board?labels=portals&repos=11430000
    - https://projects.invisionapp.com/freehand/document/vPqATxatt
    - Priorities:
        - Custom portal login page for dataone theme (easy and quick task)
        - Add default "About" page to portals with image and example text
        - Custom search fields
        - Color editing
        - Member page editing
        - Reordering tabs/pages
        - Finish integrating Bookkeeper 
        - Group editing and tying that into the portal editor
        - Ability to associate dataset with one or more portals from the Dataset landing page (or the MetacatUI dataset editor?)

- DataONE Metrics Service [name=Rushi]
    - Citations DB
      - themes tested: KNB, Arctic, DataONE
      - schema change; added following fields to test table (TODO: prod schema update after approval):
        - relation_type
        - citation_source
          - crossref / api
              - require login; ORCID required
      - update primary key?
        - currently - target_id, source_id, link_publication_date
          - `link_publication_date` is not required.
    - Enable Buttons for datasets that have no metrics
    - Queue schema:
    ```sql
    create table citations_registration_queue_test (
        id SERIAL,                      -- identifier of the record
        request  JSON,                  -- the citation request object received by DataONE Metrics Service
        receive_timestamp  TIMESTAMP,   -- the timestamp when request was received
        ingest_attempts INTEGER,        -- total # of ingest attempts performed for this citation. MAX OUT at 3.
        ingest_error TEXT,              -- error / exception occured while processing this request (if any!)
        ingest_timestamp  TIMESTAMP,    -- the timestamp when ingest was completed
        primary key(id)
    );
    ```
    - This week, I'll be focusing on:
      - MetacatUI issue 1300
        - Remove edit button for inactive portals

- Bookkeeper [name=Jing]
    - Exception code for ListQuota
        - subscribers are valid dataone users but can't be found in any quota - 404. But now we get 403
        - subscribers can be invalid dataone users
        - requestor can't be found - 404
        - requestor can't use the quota - ?
    - Metacat needs to store subscribers, requestors and quotaType locally
        - We split the quota service to two steps:
        - 1. Check quota base on (subscriber, requestor and quotaType) synchronously
        - 2. Report the usage asynchronously
        - Our database only has quota id. If there is no quota id from step one, the local database and remote server will miss the usage.