Giter Site home page Giter Site logo

marcosborges1 / api-dataset-generator-service Goto Github PK

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

The API Dataset Generator (ADG) is a component of the Agape approach, designed to create datasets covering 12 essential data points for similarity analyses.

License: GNU General Public License v3.0

Python 100.00%
dataset systems-of-systems

api-dataset-generator-service's Introduction

API Dataset Generator (ADG)

Overview

The API Dataset Generator (ADG) is a dedicated component within the Agape approach, tasked with the generation of datasets that encompass all 12 general information data required for similarity analyses. This dataset is crafted using a Cartesian Product, which juxtaposes all response attributes present in each endpoint of an API with every input attribute in all other APIs. The primary intention is to create a comprehensive dataset facilitating in-depth similarity analyses.

The essence of ADG's functionality is rooted in the Algorithm section. This algorithm harnesses the information extracted from the APIs by the API Syntactic Extractor (ASE). It then returns a dataset formulated through the Cartesian Product of the 12 general information of API integration points, see Figure below.

Algorithm

The ADG's core is based on the algorithm described below.

Implementation Details

Constructed using Python, the ADG service is a lightweight, dynamic, and web-compatible solution. The choice of language complements the ADG algorithm's versatility and caters to the overarching requirements of the System of Systems context, as described within the Agape approach.

Setup

Before running the application, make sure to install the required dependencies. You can install them using pip:

pip install -r requirements.txt

Usage

Before you start the ADG, be sure to start it.

python server.py

Access the ADG from the GraphQL endpoint:

http://localhost:4002/graphql

Note:

  • The default PORT is 4002, but can be change for your convenience.
  • This project heavily relies on GraphQL, a powerful query language for APIs, and a server-side runtime for executing those queries with your existing data. If you're unfamiliar with GraphQL or wish to dive deeper, you can learn more about GraphQL here.

References

  • Agape Approach: As the Agape approach is being validated through conferences and journals, updates will be periodically provided here. Once the validation process concludes and findings are published, a direct link to the paper will be shared in this section for easy accessibility.

Project Status

The ADG, currently in the evolutionary phase, functions as a proof of concept. It is actively undergoing improvements and changes to refine its capabilities and more effectively meet new requirements.

Author

Marcos Borges
PhD Student at Federal University of Ceará, Brazil
Email: [email protected]

Contributing

Community-driven improvements are always welcome. If you're looking to contribute, feel free to raise pull requests. For more significant changes or additions, it's recommended to open an issue first for discussions.

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

api-dataset-generator-service's People

Contributors

marcosborges1 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.