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 2019 17:46

    tjanson on separate-frontend

    skip frontend CORS stuff for credentials when… (compare)

  • Jan 30 2019 17:34

    tjanson on registry-gateway

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

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

    tjanson on registry-gateway

    fix default webapp route: show … (compare)

  • Jan 26 2019 02:53

    tjanson on registry-gateway

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

  • Jan 25 2019 22:47

    Michi03 on with-user-widget

    added sessionId based authentic… (compare)

  • Jan 24 2019 18:59

    tjanson on registry-gateway

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

  • Jan 23 2019 14:25

    tjanson on registry-gateway

    use new OIDC client id for Laye… (compare)

  • Jan 23 2019 13:48

    Michi03 on with-user-widget

    added user-widget (compare)

  • Jan 23 2019 05:49

    tjanson on registry-gateway

    depend on specific commit for o… (compare)

  • Jan 23 2019 05:25

    tjanson on registry-gateway

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

  • Jan 17 2019 23:48

    tjanson on registry-gateway

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

  • Jan 07 2019 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)

Martin
@hexTileX
Short quesion: I get "java.lang.UnsupportedOperationException: jodd.vtor.ValidationContext not found" on the server. Same code is running localy. I checked the service.property and the manifest inside my service JAR. Both has the vtor in the correct version. Also the vtor service is uploaded inside the service folder and the ValidationContext is a class inside the JAR. Funny, vtor is not a new dependency and was used in the old version also. I tried many things but run out of ideas. Any ideas from you guys?
Martin
@hexTileX
Vtor is known. Looks like the error is internal in Vtor. Strange
Jasper Nalbach
@derjasper
The File service runs on the (yet unreleased) las2peer version 1.3 I guess. Please stick with the old version ;)
Regarding the second question: Which las2peer version are you running?
Martin
@hexTileX
0.6.7 same version live before
I think its not a las2peer problem. Something else. But I can not find the problem.
Alexander
@AlexanderNeumann
Thomas weiß Bescheid 😄
Martin
@hexTileX
Thomas schaut in die JVM Kugel :8ball:
Thomas Cujé
@tcuje
@hexTileX About fileservice 1.3: Did you check the release notes for the compatible las2peer version? Spoiler: There are no release notes, because it's not released yet and it's las2peer 0.7 ;-)
Martin
@hexTileX
I thought master branch -> official release. beta branch -> stable release.
This is how I work^^
Peter de Lange
@pedela
beta = stable?:D
WOOP WOOP
Martin
@hexTileX
Thanks alot! Also that the wiki is up to date and the migration help. Great work from the complete las2peer team!
Martin
@hexTileX
Hi, I want to use ShutdownHook to call a method if the service shuts down. This does not work. Breakpoint inside the run method does or log does not show up when I exit the service with STRG+C. Do you know a way to get informed when las2peer shuts down?
Thomas Cujé
@tcuje
las2peer services are stateless, so I think there is no such step like "shutdown"
Maybe there is another solution for your problem? Can you elaborate a bit more, what you're trying to achieve?
Martin
@hexTileX
Ok. My service uses Timer with scheduleAtFixedRate as an internal "cron" job to send out email summaries for users. This works fine. My problem is that the system can be shutdown and the last email in the queue will then be lost, because I do not save them persistent. So I wanted a shutdown hook which calls the "send summaries for users" method before the system exit. Normally this works in Java, but not in Las2peer from my Service class.
Thomas Cujé
@tcuje
As I said the las2peer services are considered stateless. So a cron job type is not supported or intended. To solve your problem I suggest that you schedule your cron job on any server, query the information from the service in a las2peer network and hand them over to a mail server. The mail text and information could be generated by the service itself indeed.
Martin
@hexTileX
So doing the cron job outside Java. Ok. Then I would need to write an program for this which I can call. Also I need to store the email outbox information.
The Timer solution works fine with this one (small) problem that the system looses the inbox when shut down. But this happens not too often. I think its ok. But do you think that this solution is not stable or that we run into problems by doing it like this?
Martin
@hexTileX
@tcuje Did you remove the generation of the startscripts for FileService 2.2.0? I did try to update the fileservice to the last version but my startscript did not work anymore, even after changing the version to @2.2.0.Handling: 'startService('i5.las2peer.services.fileService.FileService@2.2.0','changemetosomethingmoresecure')'
No library found for i5.las2peer.services.fileService.FileService@2.2.0! Trying default classpath. This should not happen in a productive environment!
Peter de Lange
@pedela
is this solved?
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