-
Notifications
You must be signed in to change notification settings - Fork 99
Adding Text Analytics module (Cognitive Services) #557
Adding Text Analytics module (Cognitive Services) #557
Conversation
@neilpeterson I've gone through this and I like the addition, thanks! While running CI, it seems there is an issue w/ the vendored code. Could you ensure that the dep config/vendor is updated? |
@jeremyrickard - thanks. I've run I'm not super familiar with package management in Go, if I've done something incorrect here, I apologize :). If so, can you provide a pointer? Thanks |
Description: "The (new or existing) resource group with which" + | ||
" to associate new resources.", | ||
}, | ||
"name": &service.StringPropertySchema{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why make parameter name
user-specified? In other modules, the name of the server, database, and so on, is generated randomly and is not configurable for users. I'm not familiar with textanalytics, please tell me if there is any special concern to do this. If not, could you make name
randomly generated just like other modules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this @norshtein . The parameter was actually unused and has been removed.
@jeremyrickard @norshtein @zhongyi-zhang I've address all noted issues. If you need me to do anything else, please let me know. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Since new merged PR has modified the Gopkg.lock, I'm afraid you have to run |
ae36d00
Thanks @norshtein - I've run |
@neilpeterson thanks for the contribution! This service is a good first experimental service of that a bunch of Cognitive Services in OSBA. |
@zhongyi-zhang - thanks a bunch for your help on this one. |
@krancour coming back around to this. This PR adds the Cognitive Services Text Analytics API to OSBA. I had initially submitted a related PR many months back, however that was delayed due to an ongoing refactor of the broker.
Here is the initial PR - #463
I've refactored to align with the current state of the broker.
One recommendation in the initial PR was to shrink this down into a single plan and specify the tier with a provisioning parameter. I am cool with this, but have not done so yet. One of plan properties is
Free
. Text Analytics has a free tier, and then several others. If using a single plan however would you suggest I use theFree
property.Thanks a bunch for checking this out.
Tests
Here are the results of
make test-service-lifecycles
: