May 10, 2018 Vignesh Sathiyanantham

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 vSphere Power CLI

April 10, 2018 Vignesh Sathiyanantham

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 Added a entry in routes, GET…

January 28, 2018 Vignesh Sathiyanantham

Cloud computing came through long way by replacing layer after a layer we used bare metal server then Virtual servers then Containers now Serverless computing 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 disc Serverless doesn’t mean servers are no more required to run workloads, it simply means that developers no longer have to think about them, this will make the developers focus more on tasks than servers. Serverless is often called as Function as service Amazon AWS has FaaS called…

January 9, 2018 Vignesh Sathiyanantham

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

August 8, 2015 Vignesh Sathiyanantham

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   [amazon_link asins=’B002SSBD8A’ template=’ProductLink’ store=’asvignesh-21′ marketplace=’IN’ link_id=’2f839008-c0c9-11e7-a460-f1aec9ea1733′]

May 28, 2015 Vignesh Sathiyanantham 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 if the host is null it will set the host as loopback address

January 8, 2015 Vignesh Sathiyanantham

HTTP GET The HTTP GET method is used to retrieve (or read) a representation of a web resource. In the non-error ( aka Happy path ) path, GET returns a representation in form of XML or JSON and the HTTP Status code will be 200 (OK). In case of any error in the path, it most often returns a 404 (NOT FOUND) or 400 (BAD REQUEST). According to the design of the HTTP specification, GET requests are used only to read data and not change it. Therefore, when used this way, they are considered safe. That is, they can be…