May 10, 2018 asvignesh

With vSphere 6.7 web services SOAP API  includes the creation date of a Virtual Machine and will be persisted with the life-cycle of the VM itself. You can get it from Virtual Machine -> Config -> createDate. Earlier to 6.7, we can track the VM Creation Time using EventManager. We should create an EventFilterSpec to filter the events by Virtual Machine creation or deployed, Registered or Cloned Events. new String[]{“VmCreatedEvent”, “VmBeingDeployedEvent”, “VmRegisteredEvent”, “VmClonedEvent”} Get Virtual Machine Creation Time earlier to vSphere 6.7 Java https://gist.github.com/asvignesh/fd97f4cbc41ac55e5b289c3424c0f09a vSphere Power CLI https://gist.github.com/asvignesh/327169f8456bbd613eebfad3d9768fa8

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.

April 10, 2018 asvignesh

To fetch the querystring parameters in Controller we usually use request().queryString() Map<String, String[]> queryString = request().queryString(); If we have multiple query-string keys and want to use a POJO to use query-string instead of parsing everything in Controller we can use QueryStringBindable If you have take a look in your project you will see just simple parameters as argument ( Path argument ) in your GET method controller, In order to use Java POJO as input for query string i implements QueryStringBindable<T> in my POJO Here is my sample POJO and my controller method https://gist.github.com/asvignesh/911ff1b6dd4b96a5368e9d113a6591d0 Added a entry in routes, GET…

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.

January 28, 2018 asvignesh 10Comment

AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume – there is no charge when your code is not running. With Lambda, you can run code for virtually any type of application or backend service – all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app. In my last post, i wrote…

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.

January 15, 2018 asvignesh

Today’s developers and organizations are migrating large, monolithic legacy applications to microservice-based architectures to improve scalability and developer velocity. However, these benefits come at a cost, namely integration complexity. Additionally, developers still often interact directly with the infrastructure, whether it be virtual machines (VMs) or containers via Kubernetes or another container orchestrator. Serverless is the next evolution of application and system design and deployment. Serverless applications are built upon functions—small code artifacts, which are compact and specific to a discrete task. Serverless doesnt means servers are no more required to run workloads, it simply means that developers no longer has…

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.

January 9, 2018 asvignesh

Amazon AWS Lambda functions are becoming more popular. Where I don’t need to setup and manage servers to Dev and deploy my code. Currently Lambda supports node Java python and C#. In the AWS reInvent AWS .Net team showed the demo of upcoming feature runtime executing a full ASP.NET core application with ASP.NET Razor pages. They showed the demo with AWS XRay . They have preannounced the support for .NET core 2.0 in AWS Lambda. Watch Deploying application on AWS with .NET core https://www.youtube.com/watch?v=IfF1E2RJ6Do

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.

February 9, 2016 asvignesh

Setup a Virtual Host on WAMP Most developers do work locally, Like them i work locally, test then deploy to staging / production. Sometime i used to work on WAMP stack too… in this case creating virtual hosts is better option V-Hosts makes URL cleaner, no need of much modifications in case of CMS let’s setup a virtual host in WAMP. Open your Apache configuration Default Location : C:\wamp\bin\apache\apache2.4.9\conf Search for “Virtual hosts” Uncomment the Include line if it is commented Virtual Host Config File Include Now update the Virtual host config file Sample vHost config <VirtualHost *:80>…

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.

August 27, 2015 asvignesh

You can write the power shell modules through scripts (Script Modules) or through c# code (Binary modules) Script modules can have any valid PS code and save as .psm1 Binary modules can be any assembly that contain cmdlet classes (.dll) the assembly would be imported to powershell and use the commands In this post am writing about the how to create a Binary PowerShell module Open Visual Studio 2012 New Project -> Class Library In order to get the powershell runspace inside the programming language and to create the powershell commands we must add reference of “System.management.automation” dll The DLL…

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.

August 8, 2015 asvignesh

I’ve been developing an automation scripts to provision and expand VMFS Datastore. Expand not Extent… I increased the storage volume size and need to increase the size of VMFS datastore without affording the downtime Here is the VIjava / YAVI Java code for expanding the datastore   https://gist.github.com/cd02090562b8cf2ee0e3   [amazon_link asins=’B002SSBD8A’ template=’ProductLink’ store=’asvignesh-21′ marketplace=’IN’ link_id=’2f839008-c0c9-11e7-a460-f1aec9ea1733′]

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.

May 28, 2015 asvignesh 2Comment

When i was working on a WIX, i encountered some issue in installing the application  (REST based webservice), my service is not started and later identified that the port number which i set in the application is already used by another application To identify whether the port is in use, i used the Socket Class in Java, which is an endpoint for communication between two machines but i used for local machine to validate specified port public Socket(String host, int port) throws UnknownHostException, IOException https://gist.github.com/c830a8f4c94fa17d68a8 if the host is null it will set the host as loopback address

Software developer experience in building storage management and Data protection software for the Private and public cloud.

Disclaimer :

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. my thoughts and opinions change from time to time… This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of the various memes running around my brain, and as such any thoughts and opinions expressed within out-of-date posts may not the same, nor even similar, to those I may hold today.