Where communities thrive


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

    tjanson on separate-frontend

    skip frontend CORS stuff for credentials when… (compare)

  • Jan 30 17:34

    tjanson on registry-gateway

    added user-widget added sessionId based authentic… Merge pull request #35 from rwt… (compare)

  • Jan 30 17:34
    tjanson closed #35
  • Jan 30 17:34
    tjanson opened #35
  • Jan 28 01:04

    tjanson on registry-gateway

    fix default webapp route: show … (compare)

  • Jan 26 02:53

    tjanson on registry-gateway

    new OIDC client ID (again) frontend usability increase Tx receipt max wait to… (compare)

  • Jan 25 22:47

    Michi03 on with-user-widget

    added sessionId based authentic… (compare)

  • Jan 24 18:59

    tjanson on registry-gateway

    show keys as hex rather than ba… slight changes to (micro)servic… (compare)

  • Jan 23 14:25

    tjanson on registry-gateway

    use new OIDC client id for Laye… (compare)

  • Jan 23 13:48

    Michi03 on with-user-widget

    added user-widget (compare)

  • Jan 23 05:49

    tjanson on registry-gateway

    depend on specific commit for o… (compare)

  • Jan 23 05:25

    tjanson on registry-gateway

    refactor PackageUploader, use i… store shared storage supplement… frontend: better listing, start… and 24 more (compare)

  • Jan 17 23:48

    tjanson on registry-gateway

    describe separately serving the… update README to reflect new, m… whitespace and 2 more (compare)

  • Jan 07 12:01

    tjanson on registry-gateway

    merge line-broken lines autoformat with smart tabs (no… format XML consistently and 33 more (compare)

  • Dec 20 2018 12:31

    tjanson on registry-gateway

    WIP replacing wallet path with … FIXME trying to get the Key stu… use mnemonic instead of wallet … and 11 more (compare)

  • Dec 17 2018 17:05

    tjanson on registry-gateway

    use chaching and multithreading… (compare)

  • Dec 17 2018 08:57
    AlexanderNeumann starred rwth-acis/las2peer
  • Dec 17 2018 08:57
    AlexanderNeumann starred rwth-acis/las2peer
  • Dec 13 2018 18:30

    tjanson on registry-gateway

    poll longer & announce less oft… retry on tag creation chain reo… (compare)

  • Dec 11 2018 00:59

    tjanson on registry-gateway

    show service authors in web UI more verbose error msg (cause i… (compare)

Thomas Cujé
@tcuje
@PedeLa Yes, we solved this in person, yesterday. The solution is to add "--service-directory service" to the start parameters, this is a common issue with 0.7.x
Martin
@hexTileX
@tcuje I wanted to add a new dependency to my service. I added <dependency org="org.eclipse.paho" name="org.eclipse.paho.client.mqttv3" rev="1.2.0" conf="bundle->default"/> to my ivy dependency. It finds the lib on central, download its to .ivy2/cache but then it will not by copied to the service (or lib) folder. Previous dependencies worked fine. I tried this on the master branch of las2peer-ActivityTracker. build.xml looks fine. Do you have an idea whats going on? Thanks!
Thomas Cujé
@tcuje
The paho is packaged as a eclipse-plugin, so you have to change the ivy retrieve type in your build.xml. Either add the appropiate type or remove the type tag completely and fetch all types by default.
Martin
@hexTileX
Worked fine. Thanks for you advice. Strange name to name the package type eclipse-plugin.
Did you try to set basePath for your applications? We have a live instance URL/bazaar/.. and a beta instance /URL/beta/bazaar/. So "beta" would be our basePath for the beta instance. Problem is that swagger output does not display this and so "try it out" feature for swagger UI send all requests to URL/bazaar/.. instead of /URL/beta/bazaar/...
They use it for setting up two different version v1 and v2.
Martin
@hexTileX
In swagger documentation this is also mentioned here: https://swagger.io/docs/specification/2-0/api-host-and-base-path/
But for us it does not work. I tried to add basePath but the output is still incorrect. See this commit: rwth-acis/las2peer-ActivityTracker@8bfc5e4
I am not sure if this is a bug in swagger, las2peer or if our annotation are not set correct.
Thomas Cujé
@tcuje
las2peer provides a versioning mechanism, too
As you can see here http://steen.informatik.rwth-aachen.de:9089/las2peer/swagger-ui/index.html?url=http://steen.informatik.rwth-aachen.de:9089/distributed-noracle/v0.5.0/swagger.json The basepath given to swagger is set by las2peer and includes the service version
Martin
@hexTileX
I searched in the Wiki but could not find the documentation of this feature. Also is it possible to use letters or only version numbers? I want to set "beta" as basePath.
Thomas Cujé
@tcuje
Sorry versions are restricted to 3 parts numbered strings like 1.2.3 ...
Martin
@hexTileX
Can I create an issue for the basePath? Because we really want to set our on basePath for different service environments (live, beta).
Also I am wondering if there are shortcuts in the service version numbers. Like service@1.* or service@~1.0. Maybe similar to npm: https://docs.npmjs.com/getting-started/semantic-versioning
At the moment I need to update my start script for each version, which does not help with the task automatic delivery and continues integration.
Thomas Cujé
@tcuje
hmm thats odd, we had no problems doing continues integration with the Noracle project. How do you update the service version, but don't update the start script for it? Changing the version number means touching some files anyway...
Regarding the basePath, please feel free to file any issue you like ;-) As you might know the project is short on capacities atm, so pls be patient
Thomas Cujé
@tcuje
I think you have access to our Jenkins system, so please peek at our "Distributed-Noracle-Backend" configuration for help with continues integration
Martin
@hexTileX
Neat, thanks. I can see the project on Jenkins, but not the configuration for it. Could we meet some time and speak about this topic. We want really get better with deployments in the future. I made the first two steps already (automatic database migration, combined start/stop script). But on my list are more items like (update version number, fetch dependencies, updated config file).
Martin
@hexTileX
Do you have time on Wednesday?
Thomas Cujé
@tcuje
yep, 2pm?
Martin
@hexTileX
does also 1 pm works for u?
I need to go at 4 pm
Thomas Cujé
@tcuje
yep, 1pm it is
Martin
@hexTileX
thanks
Obviously, we not need JCE for Java 8 anymore and can remove the hints from https://github.com/rwth-acis/las2peer
Thomas Cujé
@tcuje
cool stuff! Just filed an issue for this task: http://layers.dbis.rwth-aachen.de/jira/browse/LAS-432
Martin
@hexTileX
Hi Thomas I worked on upgrading my services to las2peer 0.7.2. Works better as thought :-> Great work.
Still I have 2 questions and 2 problems
See my commit rwth-acis/las2peer-ActivityTracker@bf8ea4c
1) L2pLogger.logEvent(Event.SERVICE_ERROR, ...) for logging to MobSOS does not know the class Event. What Class do I need to import?
Martin
@hexTileX
2) I also reduced my Classpath file. But when I remove my own used service libs my IDE can not import and use these classes. So I changed the Classpath entries to use servicebundle/....jar for letting my IDE compile the service. Is this ok?
3) I use flyway and created a ant target to migrate my database. Flyway needs 3 service jars. Is it ok if I also copy the servicebundle folder to the servers to use the jars inside servicebundle for flyway? The service itself does still use the bundled jars. I guess this is safe. Right?
4) Now the most important thing: The service does compile with "ant" but not start with the start script. I get i5.las2peer.api.security.AgentException: Could not find library for de.rwth.dbis.acis.activitytracker.service.ActivityTrackerService@0.5.0
Are you sure that the generated start script in the template service is right and updated to las2peer 0.7.*? Any clue what is still wrong?
Thanks for you help!
Thomas Cujé
@tcuje
let's meet tomorrow at I5
Martin
@hexTileX
I am also at i5!
10:30?
Martin
@hexTileX
Happy Christmas las2peer!
I just worked in the las2peer update from 0.6.7 to 0.7.2 and run into two questions about the new agents.
Martin
@hexTileX
1) We used (long) agent.getId() to identify users. I see that you created (String) agent.getIdentifier() to replace the old getId() method. I guess I can also identify users with the new method, but how can I manual migrate my existing users which I know the old las2peer id? We stored user with their (old) las2peer id in our db. I would need to migrate the las2peer id field to the new format.
2) The old UserAgent class could be asked for getUserData to receive information about givenName, familyName and profileImage. Is this not possible anymore? I can only see the fields loginName and email.
Martin
@hexTileX
One small question: Did you use log4j in any las2peer service before? Some lib I use has log4j logging and I did not add the log4j property right in ant.
So I get:
[java] log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
[java] log4j:WARN Please initialize the log4j system properly.
[java] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Its not really important, but maybe you solved this already in another project. I tried to add the property file to the compile and jar target.