Closed gaetandezeiraud closed 4 years ago
wahou ! thanks a lot @Brouilles !!
I don't have time to review it right now, as I'm on my day job time :)
But I have few comments, plz can you:
No problem & thanks for your answer.
I looked at the test file. I have just to do the same like JWT but with UAA for authenticationType
and gateway for applicationType
? Or I need to setup a configuration to start an UAA server during test?
Thanks.
I have just to do the same like JWT but with UAA for authenticationType and gateway for applicationType?
Exactly. About the CI, how it works:
uaa
, it will generate the server
ms-vuejs-gateway-eureka-uaa
for exampleI did not test manually but have some notes below.
References to services/uaa
should be replaced with <%- apiUaaPath %>
which is configured here, users can configure a UAA name other than uaa
. That should also let you use the same code for most endpoints, because it is set to an empty string when UAA is not selected.
Logout endpoint needs to be handled (code in main generator), as well as the audits endpoint (code in main generator).
Hi, You have right @ruddell. I have commit the changes. Thanks.
Thanks for your answer @pascalgrimaud ! Like you (I think) it's complicated because I'm homebound because of the Coronavirus in France. So the time to get organized, I don't know when I will be able to set up the tests.
Yes, same situation like you...
No worry, I can help if you want. I'll try to find time to put what is missing in this PR so :)
First of all, thanks for trying to add the support for UAA. I did a quick review this morning, and it's not ready.
The tests I did:
I had a quick look on your code, and nothing is done for managing UAA files:
That's why tests are important. Something similar to https://github.com/jhipster/generator-jhipster/blob/master/test/app.spec.js#L1837-L1877 will help.
I can't do more. It's working for me with the current release branch and adding this modifications directly in the project. I have don't try with the automatic system than generate the project. I have do it just for help.
I have no time for creating test and debug for specifically for jhipster-vuejs
. Sorry.
But on my side, with the generation of a project with the deploy release version of jhipster-vuejs and just editing the code with my first commit (without the <%- apiUaaPath %>
, I don't try with it) it's working very good.
Have a good day.
No worry @Brouilles it's already nice to try to add UAA support, so for that thank you very much. And don't be sorry plz :)
Then, honestly on my side, I don't care about UAA, as I don't use for my projects, so I don't spend time to support something I don't use. And in main generator, the support is not really good.. too flaky tests, and no one want to contribute as it requires too much effort as you can see.
So let's close this PR. Have a good day. And again, don't be sorry ;)
Please make sure the below checklist is followed for Pull Requests.
[x] All continuous integration tests are green
[ ] Tests are added where necessary
[x] Documentation is added/updated where necessary
[x] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed