Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something Wrong With fanOutPoint #5

Closed
shuibiande opened this issue Aug 16, 2017 · 9 comments
Closed

Something Wrong With fanOutPoint #5

shuibiande opened this issue Aug 16, 2017 · 9 comments

Comments

@shuibiande
Copy link

using the Mobius API, i tested group performance,when coming to GETting the fanOutPoint resource,the Mobius has a throw out error.

@IoTKETI
Copy link
Owner

IoTKETI commented Sep 4, 2017

we will check if you tell us about your testing cases

@uguraba
Copy link

uguraba commented May 5, 2020

Anybody can explain, while Group Get method, how can i get the included Container's ContainerInstances ?

@IoTKETI
Copy link
Owner

IoTKETI commented May 6, 2020

This issue has been resolved. It works fine in the latest version.

@IoTKETI IoTKETI closed this as completed May 6, 2020
@IoTKETI
Copy link
Owner

IoTKETI commented May 7, 2020

Anybody can explain, while Group Get method, how can i get the included Container's ContainerInstances ?

try to group virtual resources of the containers. example of group members are like ["Mobius/cnt1/la", "Mobius/cnt2/la"].

then each latest contentInstance of the containers will be aggregated in the response.

@uguraba
Copy link

uguraba commented May 7, 2020

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 resources.

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.

@Saifer707
Copy link

I know i'm late, but @uguraba did you find a solution for this?

@uguraba
Copy link

uguraba commented Jul 24, 2020

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?

@Saifer707
Copy link

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!

@uguraba
Copy link

uguraba commented Jul 24, 2020

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 #5 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants