Skip to content

Prototype model for evaluating service providers in the cloud

License

Notifications You must be signed in to change notification settings

jcalvopinam/prototype-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

External resources (templates/icons/libraries):

Dashboard:

Bootstrap:

Icons:

Morris Charts:

Live Morris:

How to run?

  • This project uses MySQL Database, so before running the application it is necessary to execute the following command to create the schema
CREATE SCHEMA `prototypeDB`;
  • To compile the modules, go to the parent folder (prototype_model) and execute the following command:
cd prototype-model
mvn clean install
  • You can deploy it on apache tomcat or inside of your IDE, when it starts this will create the table.

Modules:

  • prototype-api: this module has the measurable attributes
  • prototype-client: this module is designed to consume the services of prototype-api module, save it to the database and show the metrics

Endpoints:

> http://<server:8081>/prototype-api/getInfoServidor
> http://<server:8081>/prototype-api/getResultadoEjecucion/<serverName>
> http://<server:8080>/prototype-client/getHistorialEjecuciones
> http://<server:8080>/prototype-client/getComparacion
> http://<server:8080>/prototype-client/getAtributoByName/<atributeName>
> http://<server:8080>/prototype-client/getUltimaEjecucion
* <serverName> : amazon, google or heroku
* <server:8080> : server (local or remote) and port
* <atributeName> : CPU, Lectura en Memoria, Escritura en Memoria, Lectura en Disco, Escritura en Disco, Ancho de Banda, Latencia or Procesamiento