Skip to content

Commit cd8cdf7

Browse files
committed
more wip
Signed-off-by: Nell Shamrell <[email protected]>
1 parent 21ec21d commit cd8cdf7

File tree

3 files changed

+150
-3
lines changed

3 files changed

+150
-3
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ services:
3838
build:
3939
context: ./mongo_seed
4040
links:
41-
- clearlydefined_mongo_db
41+
- clearlydefined_mongo_db

mongo_seed/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
FROM mongo
22
COPY definitions.json /definitions.json
3-
CMD mongoimport --host clearlydefined_mongo_db --db clearlydefined --collection definitions --type json --file /definitions.json --jsonArray
3+
CMD mongoimport --host clearlydefined_mongo_db --db clearlydefined --collection definitions-paged --type json --file /definitions.json --jsonArray

mongo_seed/definitions.json

Lines changed: 148 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,148 @@
1-
[{ "_id" : "npm/npmjs/-/glob/7.1.0", "files" : [ { "path" : "package/LICENSE", "license" : "ISC", "attributions" : [ "Copyright (c) Isaac Z. Schlueter and Contributors" ], "hashes" : { "sha1" : "bb408e929caeb1731945b2ba54bc337edb87cc66" }, "token" : "4ec3d4c66cd87f5c8d8ad911b10f99bf27cb00cdfcff82621956e379186b016b" }, { "path" : "package/common.js" }, { "path" : "package/sync.js" }, { "path" : "package/glob.js" }, { "path" : "package/package.json", "license" : "ISC", "hashes" : { "sha1" : "ab507fdc88183a8c4c26ca740a5d67f7c7c2c809" } }, { "path" : "package/README.md" }, { "path" : "package/changelog.md" } ], "described" : { "releaseDate" : "2016-09-20", "sourceLocation" : { "type" : "git", "provider" : "github", "namespace" : "isaacs", "name" : "node-glob", "revision" : "f65f9eb7eda113528c5257b58fac4ca685ee6c4f", "url" : "https://github.com/isaacs/node-glob/tree/f65f9eb7eda113528c5257b58fac4ca685ee6c4f" }, "projectWebsite" : "https://github.com/isaacs/node-glob#readme", "issueTracker" : "https://github.com/isaacs/node-glob/issues", "tools" : [ "clearlydefined/1.1.3", "scancode/2.9.2", "fossology/3.3.0" ], "toolScore" : { "total" : 100, "date" : 30, "source" : 70 }, "score" : { "total" : 100, "date" : 30, "source" : 70 } }, "licensed" : { "declared" : "ISC", "toolScore" : { "total" : 64, "declared" : 30, "discovered" : 4, "consistency" : 15, "spdx" : 15, "texts" : 0 }, "facets" : { "core" : { "attribution" : { "unknown" : 6, "parties" : [ "Copyright (c) Isaac Z. Schlueter and Contributors" ] }, "discovered" : { "unknown" : 5, "expressions" : [ "ISC" ] }, "files" : 7 } }, "score" : { "total" : 64, "declared" : 30, "discovered" : 4, "consistency" : 15, "spdx" : 15, "texts" : 0 } }, "coordinates" : { "type" : "npm", "provider" : "npmjs", "name" : "glob", "revision" : "7.1.0" }, "_meta" : { "schemaVersion" : "1.3.0", "updated" : "2019-01-10T21:43:52.112Z" } }]
1+
[{
2+
"_id": "npm/npmjs/-/angular/1.6.9",
3+
"described": {
4+
"releaseDate": "2018-02-02",
5+
"sourceLocation": {
6+
"type": "git",
7+
"provider": "github",
8+
"url": "https://github.com/angular/angular.js/tree/c3c5c5eea2eeff82b1ae6c855a4508f8ff51cedc",
9+
"revision": "c3c5c5eea2eeff82b1ae6c855a4508f8ff51cedc",
10+
"namespace": "angular",
11+
"name": "angular.js"
12+
},
13+
"urls": {
14+
"registry": "https://npmjs.com/package/angular",
15+
"version": "https://npmjs.com/package/angular/v/1.6.9",
16+
"download": "https://registry.npmjs.com/angular/-/angular-1.6.9.tgz"
17+
},
18+
"projectWebsite": "http://angularjs.org",
19+
"issueTracker": "https://github.com/angular/angular.js/issues",
20+
"tools": [
21+
"clearlydefined/1",
22+
"scancode/2.2.1"
23+
],
24+
"toolScore": {
25+
"total": 100,
26+
"date": 30,
27+
"source": 70
28+
},
29+
"score": {
30+
"total": 100,
31+
"date": 30,
32+
"source": 70
33+
}
34+
},
35+
"files": [
36+
{
37+
"path": "package/LICENSE.md",
38+
"license": "MIT",
39+
"natures": [
40+
"license"
41+
],
42+
"attributions": [
43+
"Copyright (c) 2016 Angular"
44+
],
45+
"hashes": {
46+
"sha1": "682346b34c58e0a9d2deb60ccd8b8c55cb474cea"
47+
}
48+
},
49+
{
50+
"path": "package/bower.json",
51+
"hashes": {
52+
"sha1": "d57e302f201d7ccff4430b1a81611812b210fb15"
53+
}
54+
},
55+
{
56+
"path": "package/angular.min.js",
57+
"attributions": [
58+
"(c) 2010-2018 Google, Inc. http://angularjs.org"
59+
],
60+
"hashes": {
61+
"sha1": "382ea6ce5bb85a666aa9fb35a4c24eed58441258"
62+
}
63+
},
64+
{
65+
"path": "package/package.json",
66+
"license": "MIT",
67+
"hashes": {
68+
"sha1": "c479ce5c51b4b5dac7b7a79700f22a50343475f9"
69+
}
70+
},
71+
{
72+
"path": "package/angular.js",
73+
"attributions": [
74+
"(c) 2010-2018 Google, Inc. http://angularjs.org"
75+
],
76+
"hashes": {
77+
"sha1": "4eb1606146f3aca57d69d1b55c7b0384f538b77d"
78+
}
79+
},
80+
{
81+
"path": "package/README.md",
82+
"license": "MIT",
83+
"attributions": [
84+
"Copyright (c) 2010-2015 Google, Inc. http://angularjs.org"
85+
],
86+
"hashes": {
87+
"sha1": "fc6245aa21a1c521fc39955cc04d3959c68aee95"
88+
}
89+
}
90+
],
91+
"licensed": {
92+
"declared": "MIT",
93+
"toolScore": {
94+
"total": 68,
95+
"declared": 30,
96+
"discovered": 8,
97+
"consistency": 15,
98+
"spdx": 15,
99+
"texts": 0
100+
},
101+
"facets": {
102+
"core": {
103+
"attribution": {
104+
"unknown": 2,
105+
"parties": [
106+
"Copyright (c) 2016 Angular",
107+
"(c) 2010-2018 Google, Inc. http://angularjs.org",
108+
"Copyright (c) 2010-2015 Google, Inc. http://angularjs.org"
109+
]
110+
},
111+
"discovered": {
112+
"unknown": 3,
113+
"expressions": [
114+
"MIT"
115+
]
116+
},
117+
"files": 6
118+
}
119+
},
120+
"score": {
121+
"total": 68,
122+
"declared": 30,
123+
"discovered": 8,
124+
"consistency": 15,
125+
"spdx": 15,
126+
"texts": 0
127+
}
128+
},
129+
"coordinates": {
130+
"type": "npm",
131+
"provider": "npmjs",
132+
"name": "angular",
133+
"revision": "1.6.9"
134+
},
135+
"_meta": {
136+
"schemaVersion": "1.6.0",
137+
"updated": "2019-03-11T14:25:35.991Z"
138+
},
139+
"scores": {
140+
"effective": 84,
141+
"tool": 84
142+
},
143+
"_mongo": {
144+
"partitionKey": "npm/npmjs/-/angular/1.6.9",
145+
"page": 1,
146+
"totalPages": 1
147+
}
148+
}]

0 commit comments

Comments
 (0)