Closed shuibiande closed 4 years ago
we will check if you tell us about your testing cases
Anybody can explain, while Group Get method, how can i get the included Container's ContainerInstances ?
This issue has been resolved. It works fine in the latest version.
Anybody can explain, while Group Get method, how can i get the included Container's ContainerInstances ?
try to group
then each latest contentInstance of the containers will be aggregated in the response.
Hi, i still cannot get containers, contentInstances from group.
First of all, i create a AE with name "ae_test_02", then i create two container in this AE "/Mobius/ae_test_02/thyme_01" and "/Mobius/ae_test_02/thyme_02".
Then i create a group, the request body is below.
{ "m2m:grp": { "rn": "grp_test_070520_02", "mt": 3, "mid": ["Mobius/thyme_01/la", "Mobius/thyme_02/la"], "mnm": 10 } }
and also tried;
{ "m2m:grp": { "rn": "grp_test_070520_02", "mt": 3, "mid": ["Mobius/ae_test_02/thyme_01/la", "Mobius/ae_test_02/thyme_02/la"], "mnm": 10 } }
If i use GET method: https://localhost:7579/Mobius/ae_test_02/grp_test_070520_02 the results will be okay, bu only
Then i tried; GET method: https://localhost:7579/Mobius/ae_test_02/grp_test_070520_02/fopt it results infinite loop [fopt member] socket hang up.
Then i tried; GET method: https://localhost:7579/Mobius/ae_test_02/grp_test_070520_02/fopt/la it gives an error, "resource does not exist (get_target_url)"
I use nCube Thyme and IN-Mobius, should i MN-Rosemary or ASN-Lavender ? Or can i use only ADN-AE-Thyme and IN-Mobius ?
On the other hand, i can get contentInstance with GET method: https://localhost:7579/Mobius/ae_test_02/thyme_01/la it works correctly.
I know i'm late, but @uguraba did you find a solution for this?
I know i'm late, but @uguraba did you find a solution for this?
Hi, @Saifer707 after I asked the question, @IoTKETI was made a new commit by using this new commit it was worked correctly. However, there are also some issues; while using HTTPS or any other secure connection, the group management part cannot able to connect the other CSE's. I had to code that part individually. Can you explain your problem?
Hi @uguraba. I was working with a prev version of that commit. When i try to get group of ContentInstance with fopt, i get an infinite loop. Now i'm going to test with new part of code in the commit. Thank you so much!
Hi @uguraba. I was working with a prev version of that commit. When i try to get group of ContentInstance with fopt, i get an infinite loop. Now i'm going to test with new part of code in the commit. Thank you so much!
Hi, as I said that commit solves this issue but if you get an infinite loop; that means your "mid" values are wrong. The value is should be something like this "Mobius/ae_test_02/thyme_01/la"
"la" part is suggested from @IoTKETI https://github.com/IoTKETI/Mobius/issues/5#issuecomment-625076540
using the Mobius API, i tested group performance,when coming to GETting the fanOutPoint resource,the Mobius has a throw out error.