Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Commit 467c566

Browse files
author
Froilan Irizarry
authored
Indexing improvements (#248)
Reduction in test coverage is being accepted. The harvesting code is to be extracted in the next couple of sprints. the testing of that code will be done in version 2 of [code-gov-harvester](https://github.com/gsa/code-gov-harvester). * Changed index mapping version for repos index - changed from version 2.0.0 to 2.0.1 * Refactor indexReport function - Changed esAlias to status from repos - Added the use of IndexOptimizer, AliasSwapper, and IndexCleaner - Status report is now in its own index. * Status enpoint now searches the status index * Add more robust index functionality - Status document is now in its own index - status - Added init function. This makes the code similar to that of the other indexers. - Added logger to constructor. * Made callback in init function optional * Most recent data from harvester * Added bunyan to npm scripts * Added index.mapping.total_fields.limit to settings for status index
1 parent 15dcefc commit 467c566

File tree

19 files changed

+60019
-24158
lines changed

19 files changed

+60019
-24158
lines changed

data/fetched/DOE.json

Lines changed: 31682 additions & 0 deletions
Large diffs are not rendered by default.

data/fetched/DOL.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,44 @@
118118
"lastModified": "2017-05-08"
119119
}
120120
},
121+
{
122+
"name": "News Release Log",
123+
"organization": "OPA",
124+
"repositoryURL": "https://github.com/USDepartmentofLabor/NewsReleaseLog",
125+
"description": "An application to keep track of news releases by all the agencies.",
126+
"permissions": {
127+
"licenses": [
128+
{
129+
"URL": "https://creativecommons.org/publicdomain/zero/1.0/",
130+
"name": "CC0"
131+
}
132+
],
133+
"usageType": "openSource",
134+
"exemptionText": null
135+
},
136+
"tags": [
137+
"News",
138+
"Release",
139+
"Log"
140+
],
141+
"contact": {
142+
"email": "Yao.sue-li@dol.gov",
143+
"name": "Sue-li Yao"
144+
},
145+
"status": "Beta",
146+
"vcs": "git",
147+
"homepage": "https://github.com/USDepartmentofLabor",
148+
"downloadURL": "https://github.com/USDepartmentofLabor/NewsReleaseLog/archive/master.zip",
149+
"languages": [
150+
"ruby on rails",
151+
"javascript"
152+
],
153+
"laborHours": 1,
154+
"date": {
155+
"created": "2018-07-18",
156+
"lastModified": "2018-07-31"
157+
}
158+
},
121159
{
122160
"name": "DEVELOPER",
123161
"organization": "OPA",
@@ -4098,6 +4136,47 @@
40984136
"lastModified": "2018-04-30"
40994137
}
41004138
},
4139+
{
4140+
"name": "Mobile Child Labor Participant Monitoring Application",
4141+
"organization": "ILAB",
4142+
"repositoryURL": "https://github.com/USDepartmentofLabor/Mobile-Child-Labor-Participant-Monitoring-Application",
4143+
"description": "Mobile-Child-Labor-Participant-Monitoring-Application.",
4144+
"permissions": {
4145+
"licenses": [
4146+
{
4147+
"URL": "https://creativecommons.org/publicdomain/zero/1.0/",
4148+
"name": "CC0"
4149+
}
4150+
],
4151+
"usageType": "openSource",
4152+
"exemptionText": null
4153+
},
4154+
"tags": [
4155+
"Mobile",
4156+
"Child",
4157+
"Labor",
4158+
"Participant",
4159+
"Monitoring",
4160+
"Application"
4161+
],
4162+
"contact": {
4163+
"email": "Hong.Kevin.C@dol.gov",
4164+
"name": "Kevin C Hong"
4165+
},
4166+
"status": "Alpha",
4167+
"vcs": "git",
4168+
"homepage": "https://github.com/USDepartmentofLabor",
4169+
"downloadURL": "https://github.com/USDepartmentofLabor/Mobile-Child-Labor-Participant-Monitoring-Application/archive/master.zip",
4170+
"languages": [
4171+
"C#",
4172+
"Shell"
4173+
],
4174+
"laborHours": 1,
4175+
"date": {
4176+
"created": "2018-05-22",
4177+
"lastModified": "2018-06-10"
4178+
}
4179+
},
41014180
{
41024181
"name": "EnterpriseNotification-IOS",
41034182
"organization": "OCIO",

0 commit comments

Comments
 (0)