Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdmbl-dev] [open-measured-data-wg] visualization and analysis with openMdm

Hello Thomas,

 

here are some example requests against the openMDM Demo webservice:

 

# The demo environment uses form authentication. Issue login request and store cookies.

curl -XPOST https://demo.openmdm.org/org.eclipse.mdm.nucleus/j_security_check --cookie-jar cookies-file --header "Content-Type: application/x-www-form-urlencoded" -d "j_username=Demo&j_password=mdm"

 

# Read all ChannelGroups

curl -XGET https://demo.openmdm.org/org.eclipse.mdm.nucleus/mdm/environments/NVHDEMO/channelgroups --cookie cookies-file

 

# Read all Channels for ChannelGroup with ID 2011:

curl -XGET https://demo.openmdm.org/org.eclipse.mdm.nucleus/mdm/environments/NVHDEMO/channels?filter=ChannelGroup.Id%20eq%202011 --cookie cookies-file

 

# Read all values for all Channels in ChannelGroup 2011

curl -XPOST https://demo.openmdm.org/org.eclipse.mdm.nucleus/mdm/environments/NVHDEMO/values/read --cookie cookies-file -H "Content-Type: application/json" -H "Accept: application/json" --data "{channelGroupId:\"2011\"}"

 

# or read all values for Channel with ID 8502 in ChannelGroup with ID 2011

curl -XPOST https://demo.openmdm.org/org.eclipse.mdm.nucleus/mdm/environments/NVHDEMO/values/read --cookie cookies-file -H "Content-Type: application/json" -H "Accept: application/json" --data "{channelGroupId:\"2011\", channelIds: [\"8498\"]}"

 

# Logout

curl https://demo.openmdm.org/org.eclipse.mdm.nucleus/mdm/logout --cookie cookies-file

 

 

You can also have a look at org.eclipse.mdm.businessobjects.boundary.integrationtest.ValuesResourceIntegrationTest, but the curl examples are much easier to read.

 

 

Best regards,

 

Matthias

 

Von: mdmbl-dev-bounces@xxxxxxxxxxx <mdmbl-dev-bounces@xxxxxxxxxxx> Im Auftrag von Angelika Wittek, openMDM(R)
Gesendet: Mittwoch, 10. Juni 2020 09:40
An: open-measured-data-wg@xxxxxxxxxxx; mdmbl-dev@xxxxxxxxxxx
Betreff: Re: [mdmbl-dev] [open-measured-data-wg] visualization and analysis with openMdm

 

Hello Thomas,

thanks for your interest in the openMDM Application.

Maybe you have already seen the openMDM Demo: http://demo.openmdm.org/
All functionality can be reached via RESTful services, please see the documentation online:
http://demo.openmdm.org/org.eclipse.mdm.nucleus/swagger.html
The documentation is not complete yet, we are working continuously on it.

For further  technical questions please use the openMDM development mailing list [1]. I already put that list on CC.
Due to holidays, we - the dev team - will answer your questions beginning next week.

Thanks
Angelika

[1] https://accounts.eclipse.org/mailing-list/mdmbl-dev

-- 
openMDM(R) EWG product manager
 
mail: awittek.openMDM@xxxxxxxxxxxxxxxxxx
phone: +49 1577 1900802 

Am 10.06.20 um 09:02 schrieb Thomas Haber:

Dear members,

thanks for the answers so far !

Regarding the APIs, we current try to find demo snippets to develop a simple java console application:

  • Connect to server
  • Read all test and signal nodes
  • Read the samples of one signal
  • Disconnect

Is something like this existing ?

 

thanks,

thomas

Lützowstrasse 166 D-42653 Solingen Fon: +49 (0) 212 64297 25 Fax: +49 (0) 212 64297 13
Managing Director: Alexandra Haber-Pieper eMail: info@xxxxxxx web: https://www.toem.de
Registergericht: Amtsgericht Wuppertal Registernummer: HRB 27587 VAT No: DE 30 84 29 796

 

 

 



_______________________________________________
open-measured-data-wg mailing list
open-measured-data-wg@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/open-measured-data-wg
 

Back to the top