Note that there’s a recent regression with vagrant; fixed by this pr 
https://github.com/apache/incubator-openwhisk/pull/3430


I use docker for mac and recently noted we need to update our install docs; see 
https://github.com/apache/incubator-openwhisk/issues/3377

Can you post specific failures you encountered (or try slack)?

-r

> On Mar 14, 2018, at 3:48 AM, Imesh Gunaratne <[email protected]> wrote:
> 
>> On Sun, Mar 11, 2018 at 6:13 PM, Rodric Rabbah <[email protected]> wrote:
>> 
>> It’s used in the backend; I don’t think it has an impact on the client
>> yet. Eventually all the execs will be attached, and the code potentially
>> excluded on fetch (today the controller inlines the code into the rest of
>> the metadata).
>> 
> 
> Thanks Rodric! Noted!
> 
> I updated the OW controller (API) to add the file extension property to the
> runtimes and tried to deploy that change in OW Vagrant environment.
> However, I could not get it deployed. Would you mind letting me know how
> you setup an OW dev environment? Do you use Vagrant or Docker Machine? I
> also followed [1] but that also did not work properly. I would like to know
> how you normally do development.
> 
> [1] https://github.com/apache/incubator-openwhisk/blob/
> master/tools/macos/README.md
> 
> Thanks
> Imesh
> 
> 
>> -r
>> 
>>> On Mar 11, 2018, at 7:58 AM, Imesh Gunaratne <[email protected]> wrote:
>>> 
>>> Hi Rodric,
>>> 
>>> May I know the meaning of the "attached" property in the Runtime
>> definition:
>>> 
>>> "java": [
>>> {
>>> "image": "openwhisk/java8action:latest",
>>> "deprecated": false,
>>> "requireMain": true,
>>> "default": true,
>>> "attached": true,
>>> "kind": "java"
>>> }
>>> ],
>>> 
>>> As I see it has only been set to true in Java. Does it mean attached file
>>> is binary?
>>> 
>>> Thanks
>>> Imesh
>>> 
>>>> On Sun, Mar 11, 2018 at 11:03 AM, Imesh Gunaratne <[email protected]>
>> wrote:
>>>> 
>>>>> On Sun, Mar 11, 2018 at 10:14 AM Rodric Rabbah <[email protected]>
>> wrote:
>>>>> 
>>>>> The info should be available in the client. Bedside the runtimes, the
>>>>> min, max and default duration values for the actions, as well as the
>> memory
>>>>> limits should be exposed. This would avoid more of the hardcover
>> values as
>>>>> well.
>>>> 
>>>> 
>>>> Thanks for the quick response Rodric! Yes, definitely! Let’s expose
>> above
>>>> information and remove hard coded values from the CLI.
>>>> 
>>>> I’m now in the process of implementing this, once verified will provide
>> an
>>>> update.
>>>> 
>>>> Thanks
>>>> Imesh
>>>> 
>>>> 
>>>>> 
>>>>> -r
>>>>> 
>>>>>> On Mar 10, 2018, at 9:58 PM, Imesh Gunaratne <
>> [email protected]>
>>>>> wrote:
>>>>>> 
>>>>>> Hi All,
>>>>>> 
>>>>>> I'm trying to do $subject to make it easier to add additional runtime
>>>>>> extensions without having to re-compile the CLI. To do this we may
>> need
>>>>> to
>>>>>> query the list of runtimes available in OW via the OW API.
>>>>>> 
>>>>>> As I see OW CLI is using WO client go library [1] for invoking the OW
>>>>> API
>>>>>> and at the moment it has not exposed the runtime information which has
>>>>> been
>>>>>> added to the root context path:
>>>>>> 
>>>>>> HTTP GET /
>>>>>> 
>>>>>> {
>>>>>> "support": {
>>>>>> "github": "https://github.com/apache/incubator-openwhisk/issues";,
>>>>>> "slack": "http://slack.openwhisk.org";
>>>>>> },
>>>>>> "description": "OpenWhisk",
>>>>>> "api_paths": [
>>>>>> "/api/v1"
>>>>>> ],
>>>>>> "runtimes": {
>>>>>> "nodejs": [
>>>>>> {
>>>>>> "image": "openwhisk/nodejsaction:latest",
>>>>>> "deprecated": true,
>>>>>> "requireMain": false,
>>>>>> "default": false,
>>>>>> "attached": false,
>>>>>> "kind": "nodejs"
>>>>>> },
>>>>>> ...
>>>>>> ],
>>>>>> ...
>>>>>> },
>>>>>> "limits": {
>>>>>> "actions_per_minute": 60,
>>>>>> "triggers_per_minute": 60,
>>>>>> "concurrent_actions": 30
>>>>>> }
>>>>>> }
>>>>>> 
>>>>>> 
>>>>>> I also see that the /api/v1 context path provides information about
>> the
>>>>> API
>>>>>> and it has been exposed by the "InfoService" [2].
>>>>>> 
>>>>>> HTTP GET /api/v1
>>>>>> {
>>>>>> "api_version_path": "v1",
>>>>>> "description": "OpenWhisk API",
>>>>>> "swagger_paths": {
>>>>>> "ui": "/docs",
>>>>>> "api-docs": "/api-docs"
>>>>>> },
>>>>>> "build": "2018-03-10T16:52:39Z",
>>>>>> "api_version": "1.0.0",
>>>>>> "buildno": "latest"
>>>>>> }
>>>>>> 
>>>>>> I would like to ask whether the community has already discussed about
>>>>> this
>>>>>> and how you think we should expose the runtime information via the
>>>>> client
>>>>>> go library.
>>>>>> 
>>>>>> Would it be okay to add a new entity to the client go library to
>> expose
>>>>> the
>>>>>> information on the API root context? If so, would it be okay to call
>> it
>>>>>> "RootService"? Really appreciate your thoughts on this.
>>>>>> 
>>>>>> [1] https://github.com/apache/incubator-openwhisk-client-go
>>>>>> [2]
>>>>>> https://github.com/apache/incubator-openwhisk-client-go/
>>>>> blob/master/whisk/info.go#L39
>>>>>> 
>>>>>> Thanks
>>>>>> Imesh
>>>>>> 
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>> *https://medium.com/@imesh <https://medium.com/@imesh>*
>>>>> 
>>>> --
>>>> Imesh Gunaratne
>>>> 
>>>> Software Architect, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Imesh Gunaratne
>>> 
>>> Software Architect, WSO2
>>> Committer & PMC Member, Apache Stratos
>> 
> 
> 
> 
> -- 
> Imesh Gunaratne
> 
> Software Architect, WSO2
> Committer & PMC Member, Apache Stratos

Reply via email to