dataverse

  • Don Sizemore
    D
    @pdurbin that dataverse-ansible/ / dataverse/ bit exists because of Ansible Galaxy. I'm not sure how many people use the role via Galaxy, if any.
  • pdurbin
    sorry, which bit? about installing node?
  • pdurbin
    Just a reminder that we switched to an earlier time. The CWG is meeting in a little over half an hour: https://ct.gdcc.io
  • @p4addy:matrix.org left the room
  • Johannes Darms
    J
    This reply could not be found.
    I followed the MR :) Happy to see that merged!
  • This reply could not be found.
    Many thanks!
  • This reply could not be found.
    I'll set it up. Is Zulip the new approach and matrix is deprecatad?
  • pdurbin
    This reply could not be found.
    Maybe? I left a note about this in the corner of Zulip.
  • Don Sizemore
    D
    @pdurbin quick Q about an old issue?
  • pdurbin
    hit me
  • Don Sizemore
    D
    I'm finally looking at Oliver's Dataverse-Ansible issue: https://github.com/GlobalDataverseCommunityConsortium/dataverse-ansible/issues/6
    which I've mostly sat on in case someone wanted to install an older version of Dataverse. However, 3 years later (and now that we're moving to Payara6)
    I'm just going to remove those two "standard" lines but leave the custom-JDBC option in place. Do you see any potential problem with that?
  • pdurbin
    Hmm. Would you be able to go ahead and make a PR?
  • Also, what if I create an issue to enable the feature flag that lets the SPA auth against the backend?
  • Don Sizemore
    D
    👍️
  • pdurbin
  • I used to ask for Ansible stuff all the time. Why did I stop?
  • Anyway, if I see the postgres PR, I think I'll have more context. I hope. 😄
  • Don Sizemore
    D
    hmmm. log in and get the associated session cookie from the browser
  • pdurbin
    off by default, please 😄
  • https://github.com/GlobalDataverseCommunityConsortium/dataverse-ansible/pull/280 is helping. We put the postgres driver in the war these days?
  • I guess that's exactly what
    O
    poikilotherm (CEST,UTC+2)
    said in issue 6.
  • So yeah, stop adding it again, I guess.
  • approved
  • (untested)
  • Don Sizemore
    D
    so, for Docker development one would set DATAVERSE_FEATURE_API_SESSION_AUTH=1 as an env var.
    looks like domain.xml ranks third in order of preference? https://docs.payara.fish/community/docs/Technical%20Documentation/MicroProfile/Config/Overview.html
  • we haven't distributed a PG JDBC driver for a while but I kept it in there to support installation of older versions. probably kept it far too long.
  • pdurbin
    sure, an env var should work
  • many ways to skin that cat 🐱
  • Don Sizemore
    D
    so, Ansible would need to set that for the service account user, in some dot file read by multiple shells
  • pdurbin
    you could also use a JVM option
  • Don Sizemore
    D
    a config file would be preferable, if there's a preferred place to stash those. would the jvm-option be simply api.session.auth?
  • pdurbin
    I'm pretty sure it's dataverse.api-session-auth but the docs aren't super clear
  • Don Sizemore
    D
    will test ^^. thanks
  • pdurbin

    yep:

            <jvm-options>-Ddataverse.feature.api-session-auth=true</jvm-options>
    

    from my dev1 server

  • oh, "feature" in there too ^^
  • glad I checked 😅
  • Don Sizemore
    D
    excellent. syntax is crucial
  • pdurbin
    need better docs
  • Don Sizemore
    D
    I may enable it in the Jenkins YML and disabled it elsewhere
  • not that ITs can currently do anything with it, but it'll be there
  • pdurbin
    sure, sounds fine
  • when I spun up dev1 a few months ago I believe I used the jenkins yml
  • I figure it gets tested a lot 😄
  • Don Sizemore
    D
    oh, BTW: I booked the Ibis north today, you saw. I also booked a hotel Thursday night within walking distance of the Porto airport. I am so relieved to have this stuff squared away.
  • so I can roll out of bed Friday morning and be on the plane by 1230
  • pdurbin
    Hmm, that's smart, to spend the last night in Porto.
  • Don Sizemore
    D
    As long as my luggage makes it there, and I make it back, I'm good.
  • pdurbin
    I just found out that three more people from IQSS are going, in addition to the original four.
  • Don Sizemore
    D
    excellent! y'all are going to need a Vrbo
  • pdurbin
    ha, Sonia suggested that actually
  • I said it would bring us together like never before.
  • Don Sizemore
    D
    get one with a pool, I'll come visit
  • pdurbin
    absolutely
  • poikilotherm (CEST,UTC+2)
    In reply to
    pdurbin

  • I used to ask for Ansible stuff all the time. Why did I stop?
  • Got a container now 😜
  • pdurbin
    I was also told to stop spinning up so many EC2 instances. Too expensive. 💰️
  • Hey, who wants to help with a Keycloak thing? conf/keycloak/oidc-realm.json wasn't imported.
  • poikilotherm (CEST,UTC+2)
    In reply to
    D
    Don Sizemore

  • so, for Docker development one would set DATAVERSE_FEATURE_API_SESSION_AUTH=1 as an env var.
    looks like domain.xml ranks third in order of preference? https://docs.payara.fish/community/docs/Technical%20Documentation/MicroProfile/Config/Overview.html
  • No. Second. These are system properties, which are defined with ordinal 300 IIRC in the MPCOnFIg spec
  • In reply to
    D
    Don Sizemore

  • a config file would be preferable, if there's a preferred place to stash those. would the jvm-option be simply api.session.auth?
  • Please make use of the directory config source, that's why I extended it
  • I do have that dream of a config file as well though
  • Anyone keen on experimenting writing a simple JDBC driver backed by a TOML file? It only needs read ops
  • * Anyone keen on experimenting on writing a simple JDBC driver backed by a TOML file? It only needs read ops
  • * Anyone keen on experimenting to write a simple JDBC driver backed by a TOML file? It only needs read ops
  • * Anyone keen on experimenting to write a simple JDBC driver backed by a TOML file? It only needs read ops and a file watcher to reload on changes
  • P
    pdurbin
    : wrt to your ansible PR comment...
  • Maybe this is a German language thing, but in this context saying

    > now

    is hilarious 🤣
  • 🥰
  • pdurbin
    because it's been years?
  • bah, Keycloak. what am I doing?
  • ah, ha, maybe I found it
  • poikilotherm (CEST,UTC+2)
    Woo-hoo! Can't do much on my mobile I'm afraid
  • Just rant, gossip and be a weirdo 🙈🙉🙊
  • pdurbin
    it was a confusing UI thing
  • poikilotherm (CEST,UTC+2)
    Oh?
  • pdurbin
    I'm like, how do I list my realms?
  • but you're in a realm
  • the master realm
  • and you have to figure out how to switch to the other one
  • poikilotherm (CEST,UTC+2)
    D'Oh!
  • pdurbin
    which I now (NOW I say) know how to do
  • poikilotherm (CEST,UTC+2)
    I have no idea how I'd do that
  • pdurbin
  • poikilotherm (CEST,UTC+2)
    Up till now I found the Keycloak docs not holding up to our Dataverse standards. So I'd even have no clue where to look in thos
  • Aha!
  • pdurbin
    I added more screenshots and errors. Anything I'm doing obviously wrong? https://github.com/IQSS/dataverse/pull/9532#issuecomment-1544573402
  • Don Sizemore
    D
    @poikilotherm is "now" funny because I've sat on that issue for 3 years, or is there a double entendre?
  • pdurbin
    must be a German thing
  • pdurbin
    🍻

You're viewing an archive of events from 2023-05-11. Use a Matrix client to start chatting in this room.

May 2023

  1. Sun
  2. Mon
  3. Tue
  4. Wed
  5. Thu
  6. Fri
  7. Sat
  8. 1
  9. 2
  10. 3
  11. 4
  12. 5
  13. 6
  14. 7
  15. 8
  16. 9
  17. 10
  18. 11
  19. 12
  20. 13
  21. 14
  22. 15
  23. 16
  24. 17
  25. 18
  26. 19
  27. 20
  28. 21
  29. 22
  30. 23
  31. 24
  32. 25
  33. 26
  34. 27
  35. 28
  36. 29
  37. 30
  38. 31
Go
  • 12 AM
    12 AM
  • 1 AM
    1 AM
  • 2 AM
    2 AM
  • 3 AM
    3 AM
  • 4 AM
    4 AM
  • 5 AM
    5 AM
  • 6 AM
    6 AM
  • 7 AM
    7 AM
  • 8 AM
    8 AM
  • 9 AM
    9 AM
  • 10 AM
    10 AM
  • 11 AM
    11 AM
  • 12 PM
    12 PM
  • 1 PM
    1 PM
  • 2 PM
    2 PM
  • 3 PM
    3 PM
  • 4 PM
    4 PM
  • 5 PM
    5 PM
  • 6 PM
    6 PM
  • 7 PM
    7 PM
  • 8 PM
    8 PM
  • 9 PM
    9 PM
  • 10 PM
    10 PM
  • 11 PM
    11 PM

Developer options

Toggles

Backend timing

todo: window.tracingSpansForRequest

Room ID

!AmypvmJtUjBesRrnLM:matrix.org