File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
examples/hr-hub/plugins/entities/Employee/conformance
conform-acme-tech/collector
conform-global-corp/collector Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 66 * @return - an array of ids or uris
77 */
88function collect ( options ) {
9- return cts . uris ( null , null , cts . collectionQuery ( 'hr-json-dumps' ) ) ;
9+ // return all URIs for the 'load-acme-tech' collection
10+ return cts . uris ( null , null , cts . collectionQuery ( 'load-acme-tech' ) ) ;
1011}
1112
1213module . exports = {
Original file line number Diff line number Diff line change 66 * @return - an array of ids or uris
77 */
88function collect ( options ) {
9+
10+ // grab a list of the unique employee IDs out of the JSON data
911 var y = [ ] ;
10- for ( var x of fn . collection ( 'hr-csv-dumps ' ) ) {
12+ for ( var x of fn . collection ( 'load-global-corp ' ) ) {
1113 var empid = x . root . content . emp_id ;
1214 if ( empid ) {
1315 y . push ( empid ) ;
You can’t perform that action at this time.
0 commit comments