Repository navigation
initial impl of running export/import without serving - #15056
Conversation
dd3b03d to
0dcdf34
Compare
|
I did not try it out but it looks good to me. Thanks for this initial work. I can take it over and add a test. I think that is what is missing, basically. |
|
@pedroigor yeh, basically that's it, but there are some assumptions from my side for it to be "okay":
When you say these are fine, then it's really just a missing test (assuming CI gets green) edit: The failing test is btw flaky for months, see e.g. here |
0dcdf34 to
23cd706
Compare
|
@DGuhr Not sure what entry in the logs indicates that we're serving requests. The I don't think we should check if an instance is already running when exporting/importing. As you said, it would be a bit tricky to achieve it. I updated the tests here pedroigor@836b979. If you can update this PR, I think we can move it forward. |
836b979 to
0107c9b
Compare
|
@pedroigor updated, thanks!
|
fb28172 to
197290a
Compare
7e0591f to
04f99c8
Compare
04f99c8 to
0381428
Compare
0381428 to
e164ebd
Compare
|
@pedroigor this one went stale, I just updated it to fix the merge conflicts. feel free to give it another try after CI hopefully turns green, and happy new year :) |
2f30ee2 to
eb896af
Compare
eb896af to
c0af1f7
Compare
|
@DGuhr Thanks ! |
draft pr for solving discussion #10815 - tested the following scenarios manually for now:
use-case 1:
python3 -m http.server 8080to bind the port./kc.sh export --dir=../exportuse-case 2:
use-case 3:
Generally: importing when port is bound via
python3 -m http.server 8080and keycloak is not running=> works as expected
use-case 4:
importing when keycloak is running (manually added a client to the export json) => works also (which might create some problems?)
@pedroigor PTAL if this moves in the right direction and/or if you miss sth. I don't have much time to look further this week, but I don't think it's that important atm. Happy if anyone wants to take this over from here btw, cc @yeroc @psachmann @vmuzikar