Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
simcaq-node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simcaq
simcaq-node
Commits
0189356c
Commit
0189356c
authored
5 years ago
by
Fernando Erd
Browse files
Options
Downloads
Plain Diff
Merge branch 'v1.10.5'
parents
a16d2630
b8155209
No related branches found
No related tags found
1 merge request
!205
v1.10.5
Pipeline
#20341
failed
5 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+4
-0
4 additions, 0 deletions
CHANGELOG.md
src/libs/routes/api.js
+15
-0
15 additions, 0 deletions
src/libs/routes/api.js
with
19 additions
and
0 deletions
CHANGELOG.md
+
4
−
0
View file @
0189356c
...
...
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on
[
Keep a Changelog
](
http://keepachangelog.com/
)
and this project adheres to
[
Semantic Versioning
](
http://semver.org/
)
.
## 1.10.5 - 2019-05-23
## Changed
-
Revert api.js
## 1.10.4 - 2019-05-23
## Changed
-
Fix order in enrollment indicator
...
...
This diff is collapsed.
Click to expand it.
src/libs/routes/api.js
+
15
−
0
View file @
0189356c
...
...
@@ -40,6 +40,8 @@ const school = require('./school');
const
simulation
=
require
(
'
./simulation
'
);
const
user
=
require
(
'
./user
'
);
const
classroom
=
require
(
'
./classroom
'
);
const
teacher
=
require
(
'
./teacher
'
);
...
...
@@ -62,8 +64,16 @@ const idhmr = require('./idhmr');
const
idhml
=
require
(
'
./idhml
'
);
const
oauth2
=
require
(
`
${
libs
}
/middlewares/oauth2`
);
const
verifyToken
=
require
(
`
${
libs
}
/routes/verifyToken`
);
const
resetToken
=
require
(
`
${
libs
}
/routes/resetToken`
);
const
educationYears
=
require
(
`
${
libs
}
/routes/educationYears`
);
const
downloads
=
require
(
`
${
libs
}
/routes/downloads`
);
const
infrastructure
=
require
(
`
${
libs
}
/routes/infrastructure`
);
const
schoolInfrastructure
=
require
(
`
${
libs
}
/routes/schoolInfrastructure`
);
...
...
@@ -107,6 +117,7 @@ api.get('/', (req, res) => {
});
// mount API routes
api
.
use
(
'
/user
'
,
user
);
api
.
use
(
'
/simulation
'
,
simulation
);
api
.
use
(
'
/class
'
,
classes
);
api
.
use
(
'
/enrollment
'
,
enrollment
);
...
...
@@ -125,7 +136,11 @@ api.use('/rate_school', rateSchool);
api
.
use
(
'
/gloss_enrollment_ratio
'
,
glossEnrollmentRatio
);
api
.
use
(
'
/liquid_enrollment_ratio
'
,
liquidEnrollmentRatio
);
api
.
use
(
'
/idhml
'
,
idhml
);
api
.
use
(
'
/auth/token
'
,
oauth2
.
token
);
api
.
use
(
'
/verify
'
,
verifyToken
);
api
.
use
(
'
/reset
'
,
resetToken
);
api
.
use
(
'
/education_years
'
,
educationYears
);
api
.
use
(
'
/downloads
'
,
downloads
);
api
.
use
(
'
/infrastructure
'
,
infrastructure
);
api
.
use
(
'
/school_infrastructure
'
,
schoolInfrastructure
);
api
.
use
(
'
/distribution_factor
'
,
distributionFactor
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment