narcs / steelconnect-dialogflow

Manage SteelConnect networks through natural language.
1 stars 1 forks source link

Get sitelinks report #55

Closed mirrexagon closed 6 years ago

mirrexagon commented 6 years ago

Add the ability to list the sitelinks from a given site by using "list/get sitelinks from site name in city, country"

I pulled over get_site_id_by_name() that @caovinhlam was working on for this, and so it may be better to wait until his site stuff is merged before merging this one. When that happens I'll fix the merge conflicts. So apparently this already exists in master anyway and I didn't notice.

mirrexagon commented 6 years ago

It seems I will have to work on this a bit more to report the four numbers in the SCM Health Report section.

mirrexagon commented 6 years ago

Okay, so now you say sitelinks report, and it tells you:

There are 2 sitelinks
  2 established

Because I don't know all the statuses, it just counts whatever statuses it finds and tells you those.

mirrexagon commented 6 years ago

Currently this often takes too long and Dialogflow times out. More investigation is required.