Skip to content
Velib demo for Simplicité
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files
resources
scripts/ObjectInternal
.gitignore
README.md
VelibDemo-openapi-3.0.2.yml
VelibDemo-swagger-2.0.yml
VelibDemo.xml
package.json
sonar-project.properties

README.md


VelibDemo module definition

Introduction

Velib demo.

This module allows retreiving data from Paris free-floating bikes services (Velib) statins and to evaluate them.

Import

To import this module:

  • Create a module named VelibDemo
  • Set the settings as:
{
	"type": "git",
	"origin": {
		"uri": "https://github.com/simplicitesoftware/module-velibdemo.git"
	}
}
  • Click on the Import module button

Configure

There is one system parameters to configure:

  • The VELIB_STATION_NAME_FILTER in which you must set the name filtering you want to apply on stations

VelibComment business object definition

Fields

Name Type Required Updatable Personal Description
velibCmtDateTime datetime yes* Date/time
velibCmtName char(100) yes Name
velibCmtStaId link to VelibStation id yes Station
Ref. velibCmtStaId.velibStaCode char(11) Station code
Ref. velibCmtStaId.velibStaName char(100) Station name
velibCmtEval int(1) yes Evaluation
velibCmtComments html(4000) yes Comments
velibCmtVisible boolean yes Visible?

VelibStation business object definition

Fields

Name Type Required Updatable Personal Description
velibStaCode char(11) yes* Station code
velibStaName char(100) Station name
velibStaCoordinates geocoords Station coordinates
velibStaStatus enum(50) using VELIB_STA_STATUS list Station status
velibStaBikes int(3) Number of available bikes
velibStaFreeDocks int(3) Number of free docks
velibStaMonitoring boolean yes Monitoring?
velibStaRating int(11) yes Rating
velibStaComments html(4000) yes Comments

Lists

  • VELIB_STA_STATUS
    • OPERATIVE Operative
    • WORKINPROGRESS Work in progress
    • CLOSE Closed

Custom actions

  • VELIB_REFRESH_ALL: Refresh all stations
  • VELIB_REFRESH_MONITORED: Refresh monitored stations
  • VELIB_REFRESH_ONE: Refresh one station
You can’t perform that action at this time.