Coder Social home page Coder Social logo

patryck100 / cloud_management_platform Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 421 KB

“Cloud_Management_Platform” is a JAVA project developed on Eclipse IDE, which the main goal is to simulate a Cloud Environment Management. This Distributed System project makes use of Protocol Buffers and GRpc to allow communication between Servers, Services and Clients. The services are named, registered and discovered using Java implementation of multi-cast DNS (JMDNS)

Java 100.00%
jmdns java cloud cloud-computing database grpc protobuf

cloud_management_platform's Introduction

Cloud_Management_PlatForm

• “Cloud_Management_Platform” is a JAVA project developed on Eclipse IDE, which the main goal is to simulate a Management of a Cloud Environment. • This Distributed System project makes use of Protocol Buffers and GRpc to allow communication between Servers, Services and Clients. • The services are named, registered and discovered using Java implementation of multi-cast DNS (JMDNS) • The services are:

  • Login & Logout: Identifies client against database information through username and password, can allow or denies access to database located in the server side. Makes use of Unary Streaming API (one request / one or zero response).
  • Cloud service: Allows the client to Insert or Remove one or more data from the database. The data for the Cloud_Management_Platform app is represented by an Employee list of records stored in a CSV file within the project. It uses Java File Reader and Writer to manipulate data in the CSV file. Makes use of Client (one or many requests / one or zero response) and Bi-directional Streaming API (One or many requests / Zero, one or many responses).
  • Print service: It outputs a representation from the database, alongside with the amount of data stored in there. It makes use of Server streaming API (client makes one request / receives zero, one or many responses).

For a better visualization of the code, a Graphical user interface (GUI) was generated using Java Application Window, located in the package "GUI". To access the GUI a connection to the server is REQUIRED, for that:

  • Open the java project: CMP [Cloud_Management_PlatForm] > src/main/java > server > "ServerCMP.java"
  • Run the "ServerCMP.java"
  • Then go to: CMP [Cloud_Management_PlatForm] > src/main/java > GUI > "Main_Cloud_Management_Platform_GUI.java"
  • Run the "Main_Cloud_Management_Platform_GUI.java"

Great, the GUI is running... With the GUI opened:

  • "CLEAR" button clears the username and password fields

  • "LOGIN" button allows access to the next graphical interface.

  • Use the username and password below to continue: User Name: Patryck Password: test

  • You can click on "SHOW MY DATABASE" button to visualize any Employee in your database!

  • "ADD" button allows you to add a new Employee to the employee records located in the server. It requires the user to fufill the text fields in the "ADD EMPLOYEE" side. The date of birth must be over 1950-01-01 to be valid and follow the (yyyy-mm-dd) regex. Employee also must be 18+ to be hired, otherwise it gets invalid response validation from the server.

  • "REMOVE" button requires the Employee number and First name to allow you to remove a certain existent Employee.

  • "LOGOUT" button requires a confirmation of your username (Patryck), disconnects and bring you back to the login page

  • "CLEAR" button clears all the fields, including the text area where the messages are displayed.

Link for the project presentation video: https://youtu.be/BhDe1_FVn6M

cloud_management_platform's People

Contributors

patryck100 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.