Wednesday, June 26, 2019

DevOps Scenarios


  • Using a hyperloglog for dupe checking
  • Looking to contribute to Enhanced Old Build Discarder github repo(@taskan)




Tuesday, June 25, 2019

Sentiment Analysis




As part of the fastest growing digital practice  with the latest advanced analytics, machine learning, and big data technologies to extract meaning and value from data in a number of different industries:

  • Media & Entertainment
  • High Tech
  • Automotive
  • Consumer Products & Retail
  • Industrial Products
  • Manufacturing
  • Telecom
  • Aerospace & Defense and Energy & Utilities.


The AI & Analytics group is the fastest growing digital practice, and   as part of the AI & Analytics group, you will have to work in a collaborative environment  with internal and client resources to understand key business goals, build solutions, and present findings to client executives while solving real-world problems.

Must learn  :

  • Deep learning methods in NLP & Computer Vision
  • Sentiment analysis
  • Topic Modeling and Graph Theory and databases.


Data Modelling Platforms:

  • Azure AutoML
  • SageMaker
  • DataBricks
  • DataRobot and H2O.ai


Data Distributed Programming Languages & eco systems :

  • Spark
  • Hadoop
  • mapReduce
  • Pig
  • Kafka

Build some white papers on below :

  • Predictive analytics models.
  • Prescriptive analytics models.


Thursday, June 20, 2019

ugp




Web Services Interview Questions

Web Services Interview Questions

1) How WSDL file is validated?

2) What is @RequestBody and @ResponseBody annotation used?

3) What is REST url?
Ans) Format
/<context-path>/<resource-path>/<id>
     Example:
             /Hello/customers/1

4) How exceptions are handled in REST style?
Ans) The exception are handled using http error status codes ranges between 400 and 599.

5) What are the differences between SOAP style and REST styles?
6) When to go for REST style and when to go for SOAP style?
7) How to consume resources in Spring?

Ans) By using RestTemplate class

8) How to consume service?
       
        Ans) Get wsdl file from provider.
                 Generate stubs using WS tools
                 Create request obj and pass to business method which is invoked on stub obj.

9) How to generate stubs and skeletons?


10) How we can manage state in REST in real time? In any finance or telecom application.

11) How and where rest used https protocol?

12) How to convert legacy web service into rest?

13) Which one is more secure?

14) How to implement security in Webservices both SOAP/REST?

15) If we want to see wsdl file, we are appending ‘?wsdl’ to url, we should not show wsdl to end user with url. How can we achieve this?

16) How to Secure Rest Web Service?

17) What is mustUnderstand attribute in soap?

18) What is the difference between JMS and Web services?
19) What is difference between RPC and Document?
20) How to test multiple web services?
21) What are the characteristics of good rest web services?
22) How to encrypt wsdl from url?
23) How to prevent un authorized consumer?
24) What is the mechanism to count unauthorized hits?


Other useful links

http://www.tutorialspoint.com/webservices/webservices_interview_questions.htm
http://javahungry.blogspot.com/2015/07/web-services-interview-questions-and-answers.html
http://www.javatpoint.com/web-services-interview-questions
http://career.guru99.com/top-50-web-services-interview-questions/
http://javarevisited.blogspot.in/2012/01/rest-web-services-framework-interview.html

Sentimental Analysis - Data Mining



sentimental analysis

Monday, June 17, 2019

JAX-RS Api



  • JAX-RS Annotations.
  • JAXRS-JAXB.
  • JAXRS-JSON.
  • JAX-RS Injection.
  • Response and Response Builder.
  • Exceptions.
  • RESTEasy, Jersey, Apache CXF.
  • Postman.
  • SOAP UI.

Thursday, May 23, 2019

Microservices - Advanced

  1. OAuth 2.0
      1. Introduction
      2. Client Registration
      3. Client Identifier
      4. Client Password
      5. Client Authentication
      6. Protocol Endpoints
      7. Authorization Endpoint
      8. Token Endpoint
      9. Scope
      10. OAuth Protocol Flow
      11. Grant Types
      12. Authorization Code Grant Type
      13. Implicit Grant Type
      14. Password Grant Type 
      15. Client Credentials Grant
      16. Refresh Token Grant Type
      17. Redis Token Store 
      18. Database Token Store
      19. Separating Authorization and Resource servers
      20. Authorization Server
      21. Resource Server

  2. OAuth 2.0 Client
    1. Client Authorization Code
    2. Client Password
    3. Client Client-Credentials
    4. Client Implicit
  3. Microservices Security with OAuth
    1.    Fares MicroService
    2.     Search Microservice
    3.     Booking Micorservice
    4.     CheckIn Microservice
    5.     PSS Website
  4. JSON Web Token (JWT)
    1. Introduction
    2. Header
    3. Payload
    4. Signature
    5. Verifying JWT
    6. Microservices with JWT
    7. Authorization Server with Symmetric Key
    8. Micro Services with Symmetric Key
    9. Authorization Server with Asymmetric Key
    10. Micro Services with Asymmetric Key
  5. API Gateway using Zuul
    1. API Gateway using Zuul
  6. API Gateway and OAuth
    1. API Gateway and OAuth
  7. Microservices with AWS
    1. Microservices with AWS



Saturday, May 18, 2019

Spring Cloud

Spring Cloud by itself is not a cloud.   Rather, it provides a number of components those are essential when developing applications targeting cloud deployments that adhere to the twelve-Factor application principles.   The cloud-ready solutions that were developed by using Spring Cloud are also portable across many cloud provides


Cloud computing promises many benefits such as :


  • Cost advantage
  • Speed
  • Agility
  • Flexibility and elasticity.


Popular cloud providers :


  • Amazon ( AWS)
  • Microsoft ( Azure)
  • Google ( Google Cloud) 
  • Pivotal(Cloud Foundry)
  • IBM ( Blue Mix)
  • Red Hat (Open Shift)
  • Rackspace(Rackspace)

Manual deployment could severely challenge the microservices rollouts.  With many server instances running, this could lead to significant operational overheads.  Moreover, the chances of errors are high in this manual approach.

Microservices require elastic could-like infrastructure which can automatically provision VMs or containers, automatically deployapplications, adjust traffic flows, replicate new version to all instances, and gracefully phase out older versions.

The automation also takes care of scaling up elastically by adding containers or VMs on demand, and scaling down when the load falls below threshold.

The application(in our case microservice) has to follow and check Twelve-factor rules before moving to cloud:


The Twelve Factors  -   Twelve-Factor Apps define a set of principles of developing applications targeting the cloud.  Many organizations prefer to lift and shift their applications to the cloud.  The application(in our case microservice) has to follow and check Twelve-Factor rules before moving to cloud i.e., in order to run microservices seamlessly across multiple clouds, it is important to follow Twelve-factor rules while developing cloud native microservices.


I. Codebase

One codebase tracked in revision control, many deploys.  Each microser

II. Dependencies or Bundling dependencies.

Explicitly declare and isolate dependencies

III. Config or Externalizing Configurations.

Store config in the environment.  This principle suggests the externalization of all configuration parameters from the code.  The micro services configuration parameters should be loaded from an external server.

IV. Backing services

Treat backing services as attached resources

V. Build, release, run

Strictly separate build and run stages

VI. Processes

Execute the app as one or more stateless processes

VII. Port binding

Export services via port binding

VIII. Concurrency

Scale out via the process model

IX. Disposability

Maximize robustness with fast startup and graceful shutdown

X. Dev/prod parity

Keep development, staging, and production as similar as possible

XI. Logs

Treat logs as event streams

XII. Admin processes

Run admin/management tasks as one-off processes








Spring cloud config :

In spring boot applications, 

Tuesday, May 14, 2019

Xpath

XPath - Important topics



  • Home
  • Overview
  • Expression
  • Nodes
  • Absolute Path
  • Relative Path
  • Axes
  • Operators
  • Wildcard
  • Predicate



References : 




Hyderabad Trip - Best Places to visit

 Best Places to Visit  in Hyderabad 1.        1. Golconda Fort Maps Link :   https://www.google.com/maps/dir/Aparna+Serene+Park,+Masj...