-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds new tables for the updated safepass api
- Loading branch information
Showing
28 changed files
with
741 additions
and
548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug rtwp-api", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"program": "${workspaceFolder}/rtwp-api/server.js", | ||
"preLaunchTask": "npm: postinstall - rtwp-api", | ||
"outFiles": [ | ||
"${workspaceFolder}/rtwp-api/**/*.js" | ||
] | ||
} | ||
] | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug rtwp-api", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"program": "${workspaceFolder}/rtwp-api/server.js", | ||
"preLaunchTask": "npm: postinstall - rtwp-api", | ||
"outFiles": [ | ||
"${workspaceFolder}/rtwp-api/**/*.js" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
"eslint.workingDirectories": [ | ||
"./rtwp-api", | ||
"./rtwp-admin" | ||
] | ||
], | ||
"editor.autoSave": "off" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,4 @@ cf bind-service $app $service | |
|
||
cf start $app | ||
|
||
cd .. | ||
cd .. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Calculation:scenario xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Calculation="http://www.sap.com/ndb/BiModelCalculation.ecore" id="CV_BADGE_LOCATION" applyPrivilegeType="NONE" dataCategory="DIMENSION" dimensionType="STANDARD" schemaVersion="3.0" outputViewType="Projection" cacheInvalidationPeriod="NONE" enforceSqlExecution="false"> | ||
<descriptions defaultDescription="CV_BADGE_LOCATION.hdbcalculationview"/> | ||
<localVariables/> | ||
<variableMappings/> | ||
<dataSources> | ||
<DataSource id="BADGE_LOCATION"> | ||
<resourceUri>BADGE_LOCATION</resourceUri> | ||
</DataSource> | ||
</dataSources> | ||
<calculationViews> | ||
<calculationView xsi:type="Calculation:ProjectionView" id="Projection_1"> | ||
<viewAttributes> | ||
<viewAttribute id="ID"/> | ||
<viewAttribute id="LOC"/> | ||
<viewAttribute id="PROB"/> | ||
<viewAttribute id="SEEN"/> | ||
<viewAttribute id="FLOOR"/> | ||
<viewAttribute id="DEVICE_ID"/> | ||
<viewAttribute id="SEEN_TS"/> | ||
<viewAttribute id="LAT"/> | ||
<viewAttribute id="LNG"/> | ||
</viewAttributes> | ||
<calculatedViewAttributes> | ||
<calculatedViewAttribute id="GEO_LOC" datatype="ST_GEOMETRY" expressionLanguage="SQL"> | ||
<formula>ST_GeomFromText(CONCAT('POINT (', CONCAT("LNG", CONCAT(' ', CONCAT("LAT", ')'))) )) | ||
</formula> | ||
</calculatedViewAttribute> | ||
</calculatedViewAttributes> | ||
<input node="BADGE_LOCATION"/> | ||
</calculationView> | ||
</calculationViews> | ||
<logicalModel id="Projection_1"> | ||
<attributes> | ||
<attribute id="ID" order="1" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="ID"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="ID"/> | ||
</attribute> | ||
<attribute id="LOC" order="2" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="LOC"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="LOC"/> | ||
</attribute> | ||
<attribute id="PROB" order="3" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="PROB"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="PROB"/> | ||
</attribute> | ||
<attribute id="SEEN" order="4" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="SEEN"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="SEEN"/> | ||
</attribute> | ||
<attribute id="FLOOR" order="5" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="FLOOR"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="FLOOR"/> | ||
</attribute> | ||
<attribute id="DEVICE_ID" order="6" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="DEVICE_ID"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="DEVICE_ID"/> | ||
</attribute> | ||
<attribute id="SEEN_TS" order="7" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="SEEN_TS"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="SEEN_TS"/> | ||
</attribute> | ||
<attribute id="GEO_LOC" order="8" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="GEO_LOC"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="GEO_LOC"/> | ||
</attribute> | ||
</attributes> | ||
<calculatedAttributes/> | ||
<baseMeasures/> | ||
<calculatedMeasures/> | ||
<restrictedMeasures/> | ||
</logicalModel> | ||
<layout> | ||
<shapes> | ||
<shape expanded="true" modelObjectName="Output" modelObjectNameSpace="MeasureGroup"> | ||
<upperLeftCorner x="40" y="85"/> | ||
</shape> | ||
|
||
<shape expanded="true" modelObjectName="Projection_1" modelObjectNameSpace="CalculationView"> | ||
<upperLeftCorner x="100" y="217"/> | ||
<rectangleSize height="30" width="160"/> | ||
</shape> | ||
</shapes> | ||
</layout> | ||
</Calculation:scenario> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Calculation:scenario xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Calculation="http://www.sap.com/ndb/BiModelCalculation.ecore" id="CV_BADGE_LOCATION_SAC" applyPrivilegeType="NONE" dataCategory="CUBE" schemaVersion="3.0" outputViewType="Aggregation" cacheInvalidationPeriod="NONE" enforceSqlExecution="false"> | ||
<descriptions defaultDescription="CV_BADGE_LOCATION.hdbcalculationview"/> | ||
<localVariables/> | ||
<variableMappings/> | ||
<dataSources> | ||
<DataSource id="BADGE_LOCATION"> | ||
<resourceUri>BADGE_LOCATION</resourceUri> | ||
</DataSource> | ||
</dataSources> | ||
<calculationViews> | ||
<calculationView xsi:type="Calculation:ProjectionView" id="Projection_1"> | ||
<viewAttributes> | ||
<viewAttribute id="ID"/> | ||
<viewAttribute id="LOC"/> | ||
<viewAttribute id="PROB"/> | ||
<viewAttribute id="SEEN"/> | ||
<viewAttribute id="FLOOR"/> | ||
<viewAttribute id="DEVICE_ID"/> | ||
<viewAttribute id="SEEN_TS"/> | ||
|
||
<viewAttribute id="LAT"/> | ||
<viewAttribute id="LNG"/> | ||
</viewAttributes> | ||
<calculatedViewAttributes> | ||
<calculatedViewAttribute id="CC_1" datatype="INTEGER" expressionLanguage="SQL"> | ||
<formula>1</formula> | ||
</calculatedViewAttribute> | ||
</calculatedViewAttributes> | ||
<input node="BADGE_LOCATION"/> | ||
</calculationView> | ||
</calculationViews> | ||
<logicalModel id="Projection_1"> | ||
<attributes> | ||
<attribute id="ID" order="1" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="ID"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="ID"/> | ||
</attribute> | ||
<attribute id="LOC" order="2" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="LOC"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="LOC"/> | ||
</attribute> | ||
<attribute id="PROB" order="3" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="PROB"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="PROB"/> | ||
</attribute> | ||
<attribute id="SEEN" order="4" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="SEEN"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="SEEN"/> | ||
</attribute> | ||
<attribute id="FLOOR" order="5" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="FLOOR"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="FLOOR"/> | ||
</attribute> | ||
<attribute id="DEVICE_ID" order="6" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="DEVICE_ID"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="DEVICE_ID"/> | ||
</attribute> | ||
<attribute id="SEEN_TS" order="7" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="SEEN_TS"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="SEEN_TS"/> | ||
</attribute></attributes> | ||
<calculatedAttributes/> | ||
<baseMeasures> | ||
<measure id="CC_1" order="8" aggregationType="sum" measureType="simple"> | ||
<descriptions defaultDescription="CC_1"/> | ||
<measureMapping columnObjectName="Projection_1" columnName="CC_1"/> | ||
</measure> | ||
</baseMeasures> | ||
<calculatedMeasures/> | ||
<restrictedMeasures/> | ||
<localDimensions/> | ||
</logicalModel> | ||
<layout> | ||
<shapes> | ||
<shape expanded="true" modelObjectName="Output" modelObjectNameSpace="MeasureGroup"> | ||
<upperLeftCorner x="40" y="85"/> | ||
</shape> | ||
|
||
<shape expanded="true" modelObjectName="Projection_1" modelObjectNameSpace="CalculationView"> | ||
<upperLeftCorner x="105" y="215"/> | ||
<rectangleSize height="30" width="160"/> | ||
</shape> | ||
</shapes> | ||
</layout> | ||
</Calculation:scenario> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Calculation:scenario xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Calculation="http://www.sap.com/ndb/BiModelCalculation.ecore" id="CV_TEST_SAC" applyPrivilegeType="NONE" dataCategory="CUBE" schemaVersion="3.0" outputViewType="Aggregation" cacheInvalidationPeriod="NONE" enforceSqlExecution="false"> | ||
<descriptions defaultDescription="CV_TEST_SAC.hdbcalculationview"/> | ||
<localVariables/> | ||
<variableMappings/> | ||
<dataSources> | ||
<DataSource id="VISIT"> | ||
<resourceUri>VISIT</resourceUri> | ||
</DataSource> | ||
</dataSources> | ||
<calculationViews> | ||
<calculationView xsi:type="Calculation:ProjectionView" id="Projection_1"> | ||
<viewAttributes> | ||
<viewAttribute id="VISITOR_NAME"/> | ||
</viewAttributes> | ||
<calculatedViewAttributes> | ||
<calculatedViewAttribute id="CC_COUNTER" datatype="INTEGER" expressionLanguage="SQL"> | ||
<formula>1</formula> | ||
</calculatedViewAttribute> | ||
</calculatedViewAttributes> | ||
<input node="VISIT"/> | ||
</calculationView> | ||
</calculationViews> | ||
<logicalModel id="Projection_1"> | ||
<attributes> | ||
<attribute id="VISITOR_NAME" order="1" displayAttribute="false" attributeHierarchyActive="false"> | ||
<descriptions defaultDescription="VISITOR_NAME"/> | ||
<keyMapping columnObjectName="Projection_1" columnName="VISITOR_NAME"/> | ||
</attribute> | ||
</attributes> | ||
<calculatedAttributes/> | ||
<baseMeasures> | ||
<measure id="CC_COUNTER" order="2" aggregationType="sum" measureType="simple"> | ||
<descriptions defaultDescription="CC_COUNTER"/> | ||
<measureMapping columnObjectName="Projection_1" columnName="CC_COUNTER"/> | ||
</measure> | ||
</baseMeasures> | ||
<calculatedMeasures/> | ||
<restrictedMeasures/> | ||
<localDimensions/> | ||
</logicalModel> | ||
<layout> | ||
<shapes> | ||
<shape expanded="true" modelObjectName="Output" modelObjectNameSpace="MeasureGroup"> | ||
<upperLeftCorner x="40" y="85"/> | ||
</shape> | ||
|
||
<shape expanded="true" modelObjectName="Projection_1" modelObjectNameSpace="CalculationView"> | ||
<upperLeftCorner x="100" y="196"/> | ||
<rectangleSize height="30" width="160"/> | ||
</shape> | ||
</shapes> | ||
</layout> | ||
</Calculation:scenario> |
Oops, something went wrong.