mattwelke commented on issue #51:
URL: 
https://github.com/apache/openwhisk-runtime-dotnet/issues/51#issuecomment-820927328


   I decided to do a thing. I made it work! 
https://github.com/apache/openwhisk-runtime-dotnet/pull/52 shows the changes I 
made to the 3.1 runtime to make it work without Newtonsoft.Json on the action 
side of things (JSON is still needed on the runtime side of things, in order to 
fulfill its contract with the OpenWhisk system which speaks JSON).
   
   My build of the changed runtime is public at 
https://hub.docker.com/repository/docker/mwelke/openwhisk-runtime-dotnet-v3.1-nojson
 if anyone wants to play with it.
   
   I made a test action to demonstrate it 
(https://github.com/mattwelke/openwhisk-dotnet-runtime-v3.1-nojson-test).  
`deploy.sh` in that repo shows how I deployed it to IBM Cloud Function as a 
custom runtime action (after logging into ibmcloud CLI).
   
   I configured a parameter:
   
   
![image](https://user-images.githubusercontent.com/7719209/114978002-9ccd2c00-9e56-11eb-97f3-7be9dbf346d6.png)
   
   And it works! It has access to the parameter, and returns things to 
OpenWhisk nicely (via `Dictionary`):
   
   
![image](https://user-images.githubusercontent.com/7719209/114978092-bd958180-9e56-11eb-99a5-4700ea46ba16.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to