This story explains how to create an azure VM using portal for our need more specifically Linux VM. This also covers setup the necessary utilities and disk to start managing the VM internally.
Spring Boot has been very good and easy to handle configuration for the applications. Recently i came across using YAML file for configuration besides .properties file.
Here is example how we can easy map Tree like configuration specified in application.yaml to the POJO and use it very effectively in the code.
we can have multiple profiles one for dev and another for prod with list of configuration values in an single yaml file. and we can enable or disable the environment with a property.
These profiles will be separated by three dash “ — -”. …
LFTP is a command-line program for several file transfer protocols. LFTP is designed for Unix and linux type of operating systems and it is distributed under GNU General Public License, so we are free to install and use.
LFTP can transfer files via FTP, FTPS, HTTP, HTTPS, FISH, SFTP, Bit Torrent and FTP over HTTP proxy. It also supports the File eXchange Protocol (FXP), which allows the client to transfer files from one remote FTP server to another.
The features of LFTP’s are transfer queues, segmented file transfer, resuming partial downloads, mirror directories, bandwidth throttling, and recursive copying of file…
In this Blog, I would like to discuss the overview about Karate Framework and internals of Karate will be discussed in the next blog post.
I am sure many people would have used Cucumber for some of the Test automation or Developing BDD style step execution process.
I recently got an opportunity to work in Functional Test automation for API in my project. we discussed internally as a team and decided to use Cucumber with Rest Assured for automating the functional test cases. …
Yoga and Meditation Explained Through Programming
I am a Software Engineer by profession and writing blogs in technology is my interest.
you might be wondering why is this person talking about Yoga and Meditation here. how is it related to Software or technology. we will discuss this in a while.
Yoga and Meditation are buzz words in many countries. i am not going to debate on where it born and who practiced it first. But i would like to discuss about the essence of these two buzz words.
whether we know it or not each one of us would be…
Both SSL (Secure Sockets Layer) and TLS(Transport Layer Security) are cryptographic protocols that provide security over a network. They are widely used across different applications. SSL and its latest versions had a number of vulnerabilities, and hence, TLS was introduced as an updated version of SSL in the year 1999. SSL has been deprecated by the Internet Engineering Task Force (IETF) in 2015. Therefore, you should have TLS protocol enabled for your applications. You will still see a lot of SSL terminology being used across many organizations until people get accustomed to TLS.
TLS/SSL enabled servers will have two main…
Swagger is the Framework for designing and creating blueprint of API using common language enabling the development across the whole API lifecycle including documentation, design, development, testing and deployment.
This framework provides set of tools for developers to create client and server code with self-generated documentation for web services.
Swagger API specification officially named as OpenAPI specification
Swagger specification can be written in YAML or JSON
More details and examples are given here
SNMP stands for Simple Network Management Protocol
SNMP used to monitor Network Element performance and also used to remotely modify the configuration of the Network Elements.
This was initially developed for monitoring the Network routers and switches, eventually it has been used to monitor wide variety of hardware devices like windows and linux machines, printers and Inverters etc..
There are two important terminology been used in SNMP world, they are
OID (Object Identifier)
Everything on the Device which can be monitored will have an Identifier which is called OID, these are represented in the form of numbers separated by period.
POP3 & IMAP
POP3 and IMAP are two different email protocols, these protocols used to retrieve emails from a email server.
lets say we have email client like outlook installed and it uses either of these two protocols to retrieve email from the mail server. the client can be installed on a computer, tablet or a mobile phone to access the emails from mail server by configuring either POP3 or IMAP.
there are few key differences between the two protocol
POP3 stands of Post Office Protocol 3
Internet Protocol (IP)
IP is a protocol or set of rules for routing and addressing the data traveling over network. so that the data can reach the correct destination.
Data transferred over network in the form of small packets, each device in the network will have dedicated IP address assigned. so each packet will be labeled with destination IP, this helps the routers to route the data to appropriate device.
each data packet header will have sender and receiver IP address along with 42 other information fields in bits to send the packet over.
few such fields are