Skip to content

AmarTauqeer/Contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Contracting Tool

Automated Contracting Tool, a component of smashHit. smashHit is a Horizon 2020 project with the primary objective of creating a secure and trustworthy data-sharing platform with a focus on consent and contract management in a distributed environment such as the automotiveindustry, insurance and smart cities following GDPR.

Software Requirements

Steps to be followed

Running Locally

Run the command below from the root directory for deployement and access via http://localhost:5001. The Swagger API documentation can be accessed via http://localhost:5001/swagger-ui/.

python -m flask run

Important Note For Testing REST Endpoints

  • For hasContractStatus choose from the list (statusCreated, statusUpdate)
  • For hasStates choose from the list (statePending, stateInvalid, stateValid)
  • For hasRole choose from the list (DataSubject, DataController, DataProcessor)
  • For hasContractCategory choose from the list (categoryBusinessToConsumer, categoryBusinessToBusiness)

Steps to create/update a contract

  • Create term types and companies.
  • Create contractors (need company id).
  • Create a contract with basic information except contract terms, contract obligations, and contract signatures.
  • Use the contract id from the previous step and create contract terms, contract obligations and contract signatures.
  • Update the contract with terms, obligations, and signatures.

Contracts System Architecture

Contracts REST APIs Endpoints

Tests

Test cases and results

Contributors

Project

License

MIT License

Copyright (c) [2024] [Amar Tauqeer]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published