Skip to content

jparsai/fabric8-gemini-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fabric8-gemini-server

Build Status

Fabric8-server analytics powered services to initiate and report the readiness of all registered services

ENDPOINTS

POST: /api/v1/register

{
	"git_url" : <some_url>,
	"git_sha" : <some_sha>,
	"email_ids" : <some_email>
}

Result :

Status: 200 OK

{
  "data": {
    "email_ids": <some_email>,
    "git_sha": <some_sha>,
    "git_url": <some_url>,
    "last_scanned_at": "Mon, 05 Mar 2018 00:00:00 GMT"
  },
  "success": true,
  "summary": "<some_url> successfully registered"
}

Footnotes

Coding standards

  • You can use scripts run-linter.sh and check-docstyle.sh to check if the code follows PEP 8 and PEP 257 coding standards. These scripts can be run w/o any arguments:
./run-linter.sh
./check-docstyle.sh

The first script checks the indentation, line lengths, variable names, white space around operators etc. The second script checks all documentation strings - its presence and format. Please fix any warnings and errors reported by these scripts.

Code complexity measurement

The scripts measure-cyclomatic-complexity.sh and measure-maintainability-index.sh are used to measure code complexity. These scripts can be run w/o any arguments:

./measure-cyclomatic-complexity.sh
./measure-maintainability-index.sh

The first script measures cyclomatic complexity of all Python sources found in the repository. Please see this table for further explanation how to comprehend the results.

The second script measures maintainability index of all Python sources found in the repository. Please see the following link with explanation of this measurement.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.7%
  • Shell 17.1%
  • Other 1.2%