Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 25 17:25

    lbroudoux on master

    #293 Updating Helm chart for MQ… (compare)

  • Nov 24 23:39

    dependabot[bot] on npm_and_yarn

    Bump highlight.js from 10.0.3 t… (compare)

  • Nov 21 17:24

    lbroudoux on master

    #293 Adding tests for MQTT bind… (compare)

  • Nov 20 20:52

    lbroudoux on master

    #293 Adding support for MQTT bi… Merge remote-tracking branch 'o… (compare)

  • Nov 20 20:20

    dependabot[bot] on maven

    Bump org.eclipse.paho.client.mq… (compare)

  • Nov 20 20:19

    lbroudoux on master

    #293 Adding support for MQTT bi… (compare)

  • Nov 20 20:17

    lbroudoux on master

    #294 Add support for deep refer… (compare)

  • Nov 15 13:19

    lbroudoux on master

    #292 Remove trailing / in resou… (compare)

  • Nov 15 08:20

    lbroudoux on master

    Update version in README.md (compare)

  • Nov 15 08:19

    dependabot[bot] on maven

    (compare)

  • Nov 15 08:18

    lbroudoux on master

    Bump junit from 4.12 to 4.13.1 … Merge pull request #277 from mi… (compare)

  • Nov 14 20:25

    dependabot[bot] on maven

    (compare)

  • Nov 14 20:25

    lbroudoux on master

    Bump junit from 4.12 to 4.13.1 … Merge pull request #278 from mi… (compare)

  • Nov 14 20:04

    dependabot[bot] on maven

    (compare)

  • Nov 14 20:04

    lbroudoux on master

    Bump junit from 4.12 to 4.13.1 … Merge pull request #279 from mi… (compare)

  • Nov 14 17:27

    dependabot[bot] on maven

    Bump junit from 4.12 to 4.13.1 … (compare)

  • Nov 14 17:27

    dependabot[bot] on maven

    Bump junit from 4.12 to 4.13.1 … (compare)

  • Nov 14 17:27

    dependabot[bot] on maven

    Bump junit from 4.12 to 4.13.1 … (compare)

  • Nov 14 17:26

    lbroudoux on master

    #291 Upgrade to Java 11 (compare)

  • Nov 03 17:19

    lbroudoux on master

    #289 Fix partial failure disppl… (compare)

Simone Di Cola
@dicolasi
Hi Laurent, thanks for the quick reply
noticed that exporting the file and NOT using the import, but using a Job works perfectly
altought the ui freezes
and need to wait a couple of minutes to load the jsons
:)
by the way, really like this piece of software
well done guys!
Simone Di Cola
@dicolasi
@lbroudoux all good, works perfectly. Maybe just a glitch with the ui
Laurent Broudoux
@lbroudoux
Thanks for feedback Simone !
narioINC
@narioINC_twitter
Hi everyone, had a quick issue that i am facing with the microcks installation via APIcurio docker compose file.
I have a very simple installation running wherein apicurio is nicely integrated with microcks and i am able to push API specs for mocking from apicurio to MR. However, MR is not persisting the changes in mongodb as i see the database size is 0 in the mongo instance
to this effect. i have checked the logs on mongodb and that of MR and seeing that they connect with each other nicely and "top" command in mongodb shows that there are "write_locks" on the microcks.service collection. However the DB has no collections/docs even after i uploaded a sample petstore.yaml file from APIcurio and them tried uploading it to MR directly. I would be happy if the team just pointed me in the right direction of debugging and I should be able to follow that through. Again appreciate the great work being done by the MR team in building an awesome tool.
narioINC
@narioINC_twitter
Team, my bad. I can see that another user @vndube had similar issues and i did a check on the user in keyclock in my case and they have the "user" role assigned to them correctly. But still the api/service endpoint throws a 403
narioINC
@narioINC_twitter
i created a client role called "user" under microcks-app and then assigned this client role to the user that i am trying to login with. is this correct ?
Laurent Broudoux
@lbroudoux
Hi @narioINC_twitter ! And thanks for trying out Microcks !! The docker-compose configuration from the Apicurio registry relies on an older version of Microcks where roles were defined at the realm level. Now, starting with the version 1.0.0, they are defined at the microcks-app client level.
So you're right : you should define user role as a microcks-app client scoped role. To help setup on external or existing Keycloak instance, we provide the 2 following configuration files you may import into Keycloak : https://github.com/microcks/microcks/tree/master/install
However, depending on the Keycloak version, there's a glitch and the user role is not defined as a default role for each and every new user connecting to the realm. It's better to double-check via the Keycloak UI that this is correctly setup. ;-)
narioINC
@narioINC_twitter
@lbroudoux thank you so much !! will try and import the keycloak realm files on the MR repo and get further into the issue. If possible ill try to see if I can create a PR for the apicurio repo with the fixes :)
narioINC
@narioINC_twitter
image.png
Hi @lbroudoux just a quick update from my debugging. I ensured that both the keycloak json files for the MR realm were imported into my setup
and i was also manually able to ensure that one of the users that i created had the "user" client role assigned correctly.
image.png
However when login in with this user, i Get a 403 error. Ill continue to work on findign out why the role is not working and ensure that if i get the solution
ill post it in this gitter channel and also propose a fix for the apicurio repo. Once again, I thank all who are helping to get this to work :) !!!
narioINC
@narioINC_twitter
team, got it working :) The issue was after i imported the two json realm files, for some reason the microcks-app-js client had full-scope turned off. I turned on full scope and ran an evaluation for the particular user i was trying test and I could see the "user" role assigned correctly in the roles array. Now when i tried to login into MR UI, i could see all the APIs and not getting 403
Ill try to now export the realm and the carefully create a diff to ensure the fix I propose to APIcurio contains all the right settings. Hopefully they'll accept a PR :)
Laurent Broudoux
@lbroudoux
Hi @narioINC_twitter ! Sorry but I did not found time lately to help you on this ... Very happy you finally succeed in making it works ! The diff will be of great help to replay this configuration. Maybe we could also plan to put it into a blog post on the site ? Would you mind contributing ?
narioINC
@narioINC_twitter
oh sure
i will be more than happy to provide a write up
would you like to me to send you a write up ? what mode would you prefer ?
or maybe a post on any particular website that the MR team has other technical members contributing ?
regarding the support @lbroudoux, I was just sharing with my team that how good the gitter comms are with MR team. Your pointer really helped me a lot in the debugging and I really appreciate every help that I received. Please continue to do the great work. I am also going to find way to contribute to MR. I am a full time Java dev with a lot of experience on UI (angular and react) as well.
narioINC
@narioINC_twitter
Also just as a pointer @lbroudoux I also found a way for users to edit a few files in the APIcurio installation to get MR working as expected in the interim. These steps I can post on a website that either you can show me or i can submit a write up that you can add to the MR website. :)
i see that MR website has a Blogpost area here https://microcks.io/blog/
can i submit an article here
??
Laurent Broudoux
@lbroudoux
Thanks for kind feedback ! Always good to hear. Please spread love and GitHub stars ;-) Regarding the contribution, we have no formal process right now and yes, I was thinking about the Microcks blog. As it's just markdown we'll be able to do that through a Pull Request. I'll have a look at it on tomorrow to see how we can put a framework around such contribution. Very welcomed ;-)
narioINC
@narioINC_twitter
thanks. I just saw the website source on github repo and I understood how I can push the blog as a .MD markdown file. Ill send a PR out by tomorrow to you :) !!!
narioINC
@narioINC_twitter
For everyone's benefit, I have opened up an issue in APiCurio repo for the Microcks real fix. Apicurio/apicurio-studio#1319 @lbroudoux @vndube
Laurent Broudoux
@lbroudoux
Great 👍
Many thanks @narioINC_twitter !
vndube
@vndube

Glad to see Microcks running for me and for my project.
To further moving ahead -
I am using OpenAPI Specifications for my project.
But one thing I notice that microcks does not validate the requests.
a. For any a wrong element name in the request, I need to get some error.
b. For any wrong data types provided against an element in the request I need to get some error.
c. For any mandatory element in the request in the request I need to get some error.

Kindly provide any guidance if the above can be handled separately. If yes how I can do it.

Laurent Broudoux
@lbroudoux
Hi @vndube ! Glad to have some news from you ! Since 1.1.0 release we switched to Zulip (https://microcksio.zulipchat.com). Could you please repost your question there ? Thanks very much !
vndube
@vndube
when I try to join here @Zulip I get this message - "You need an invitation to join this organisation." I cannot proceed then.
Laurent Broudoux
@lbroudoux
Oops ! Will fix this.
Laurent Broudoux
@lbroudoux
It should be ok now.
Hugo Guerrero
@hguerreroo_gitlab
@lbroudoux would be good to make the message of the move to zulip more prominent for the rest of the folks in this channel
Laurent Broudoux
@lbroudoux
HI @hguerreroo_gitlab ! You're right ! Will check if possible to put a sticky post or something on Gitter ...
:warning: Hi newcomers ! Since the release of Microcks 1.1.0 we moved the community forum to Zulip Chat => microcksio.zulipchat.com . Please join us there ! After some time, we'll delete this Gitter room. :warning:
Hugo Guerrero
@hguerreroo_gitlab
Perhaps in the name or description of the channel? @lbroudoux