Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    oscarfh
    @oscarfh
    Hi @kolotu, thanks for your reply.
    I have double checked the id and secret multiple times. This is the vorto-variables.env file snippet
    # Repository
    DATASOURCE=mysql
    AUTH_PROVIDER=github
    ADMIN_USER=oscarfh
    GITHUB_CLIENT_ID=<id>
    GITHUB_CLIENT_SECRET=<secret>
    EIDP_CLIENT_ID=
    EIDP_CLIENT_SECRET=
    then I run docker-compose rm, I also delete ~/.vorto and /opt/mysql_data to be sure
    then docker-compose build and docker-compose up
    everything starts as expected, but when I try to log in, I get this page and no messages on the terminal
    Is there any way I can increase the log level or anything that could help troubleshooting?
    Kevin Olotu
    @kolotu

    The problem could be related to the EIDP properties - I used some dummy values in my config. I'd suggest you try the same:
    EIDP_CLIENT_ID=123
    EIDP_CLIENT_SECRET=123

    if that is in fact the root cause, we should amend the file to contain default values

    oscarfh
    @oscarfh
    I will try as soon as I can and get back to you
    oscarfh
    @oscarfh
    I made the changes but still no luck :(
    oscarfh
    @oscarfh
    @kolotu I found out: I am using a VPN for access, which reduces strongly my internet speed. It seems that it is timing out (works perfectly if I unplug the VPN). Is there any way for me to change the timeout period?
    Kevin Olotu
    @kolotu
    @oscarfh what exactly is timing out? The request to authenticate with GitHub?
    oscarfh
    @oscarfh
    I do not have any logs to confirm that
    But it seems so.
    I click "log in", then "login with github", then I wait for a long time and get the error page
    Kevin Olotu
    @kolotu
    I'm not aware of any option to configure the timeout for that request - we are using the Spring implementation of OAuth, so maybe there is a way to do it, but Vorto itself doesn't offer that option
    oscarfh
    @oscarfh
    Ok, thanks a lot!
    Tobias Månsson
    @tobias-zeptio
    Hi all. I'm trying to understand where the models are stored, I can't find them in the database.
    Tobias Månsson
    @tobias-zeptio
    I'm asking because when I restart the container I get an error "The workspace 04cb2d318c584743bc5006cfe0de2034 was not found", with the id of my namespace.
    I interpret that as it's not able to find the models for that namespace
    I would expect the database to have a "models" table or something
    I'm runnning the nighly image
    Kevin Olotu
    @kolotu
    Hi @tobias-zeptio the models are stored in the modeshape repository (the data of which is in the DB table MODESHAPE_REPOSITORY), however that data is binary.
    The modeshape repository contains multiple workspaces. The workspaces are mapped to namespaces in the NAMESPACE table.
    Tobias Månsson
    @tobias-zeptio
    I don't have a table called modeshape_repository. :(
    Kevin Olotu
    @kolotu
    oh okay - let me check what the configuration in the container is. the repository can also be placed on the filesystem
    Tobias Månsson
    @tobias-zeptio
    DATASOURCE is mysql
    Tobias Månsson
    @tobias-zeptio
    I have to run, but I see run.py is referencing a application.yml which is not in the image. Should I add that to the /code directory?
    Kevin Olotu
    @kolotu
    the datasource is referencing to the Vorto DB, which is not necessarily the same as the location of the modeshape repository
    yes you can add the application.yml and also the json file that is linked in the yml
    vorto/repository/repository-server/src/main/resources/vorto-repository-config-mysql.json
    In the JSON file is the configuration to put the modeshape repository into the mysql DB
    Kevin Olotu
    @kolotu
    I have pre-configured the image accordingly now in this PR: eclipse/vorto#2668
    I'll merge it later or tomorrow
    Kevin Olotu
    @kolotu
    it's merged now - you can use the nightly image to get the updated container
    Tobias Månsson
    @tobias-zeptio
    Thanks, that works. :)
    Jens Reimann
    @ctron
    Hi … I got a question about vorto.eclipse.org … how can I make a vorto model I created public?
    Kevin Olotu
    @kolotu
    Hi @ctron to make your model public, it needs to be placed in an official namespace (not starting with vorto.private.*) and someone with the publishing permissions in that namespace can make it public
    Jens Reimann
    @ctron
    So I need to request an official namespace … when it is public, is it possible to fetch the mapping model without a bearer token then? Or is that still a requirement?
    Kevin Olotu
    @kolotu
    yes you need to request an official namespace and yes if it's public it can be retrieved without authentication
    Jens Reimann
    @ctron
    Ok … then that would make things easier
    Kevin Olotu
    @kolotu
    you can use our mail template to request the official namespace - you can find it on the 'Manage' tab on the UI
    Jens Reimann
    @ctron
    Thanks for the quick answer
    helenzhang2019lei
    @helenzhang2019lei
    hello, is there any mapping spec example in vorto repository that defined the mapping rules can be used by the payload mapping engine?
    helenzhang2019lei
    @helenzhang2019lei
    any project in git?
    Jens Reimann
    @ctron
    Not quite sure if this is what you meant, but here is a simple example on using the Vorto mapping engine with mapping rules from the vorto repository: https://github.com/drogue-iot/drogue-vorto-converter/blob/main/src/main/java/io/drogue/iot/vorto/Converter.java
    Alexander Edelmann
    @aedelmann
    U can take a look at the running mapping middleware for 3 examples
    helenzhang2019lei
    @helenzhang2019lei
    thanks
    helenzhang2019lei
    @helenzhang2019lei
    @aedelmann how to active the examples in http://vorto-middleware.eu-central-1.elasticbeanstalk.com/#/plugins? I use github account to login , but can not trigger any data in the monitoring screen
    Alexander Edelmann
    @aedelmann
    It’s an example. Follow the getting started to set it up on your local machine with docker
    helenzhang2019lei
    @helenzhang2019lei
    I see, thanks
    Kevin Olotu
    @kolotu

    I am pleased to announce that the 1.0 version of Eclipse Vorto has been released. This release contains a lot of improvements and bugfixes - please find our detailed release notes here: https://github.com/eclipse/vorto/blob/master/docs/release-notes.md

    The artefacts of the release can be found in the Central Maven Repository: https://search.maven.org/artifact/org.eclipse.vorto/parent/1.0.0/pom