Skip to content

Commit

Permalink
#82: Update RESO Certification ETL (#84)
Browse files Browse the repository at this point in the history
* #82: Updated reso-certification-etl lib and references

* #82: Updated Cert ETL lib

---------

Co-authored-by: darnjo <josh@reso.org>
  • Loading branch information
darnjo and darnjo authored Dec 14, 2023
1 parent 85a0eb9 commit 6785331
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 158 deletions.
2 changes: 1 addition & 1 deletion lib/misc/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const { pascalCase } = require('pascal-case');
const { getReferenceMetadata } = require('reso-certification-etl');
const { getReferenceMetadata } = require('@reso/reso-certification-etl');
const { writeFile } = require('fs/promises');

const ANNOTATION_STANDARD_NAME = 'RESO.OData.Metadata.StandardName';
Expand Down
2 changes: 1 addition & 1 deletion lib/replication/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ const buildRequestUrlString = ({
: null;

return new URL(
`?$top=${$top}&$filter=${timestampField} gt ${timestamp}${preparedFilter?.length ? ` and ${preparedFilter}` : ''}${
`?$top=${$top}&$filter=${timestampField} ge ${timestamp}${preparedFilter?.length ? ` and ${preparedFilter}` : ''}${
$expand?.length ? `&$expand=${$expand}` : ''
}&$orderby=${timestampField} asc`,
baseUri
Expand Down
2 changes: 1 addition & 1 deletion lib/restore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { resolve, join } = require('path');
const { getOrgsMap, getOrgSystemsMap, processDataDictionaryResults } = require('../misc/data-access/cert-api-client');
const { CERTIFICATION_FILES } = require('../../common');

const { processLookupResourceMetadataFiles } = require('reso-certification-etl');
const { processLookupResourceMetadataFiles } = require('@reso/reso-certification-etl');

const CERTIFICATION_RESULTS_DIRECTORY = 'current',
PATH_DATA_SEPARATOR = '-';
Expand Down
2 changes: 1 addition & 1 deletion lib/variations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const { readFile, writeFile } = require('fs/promises');
const { distance } = require('fastest-levenshtein');
const { getReferenceMetadata } = require('reso-certification-etl');
const { getReferenceMetadata } = require('@reso/reso-certification-etl');
const { buildMetadataMap, getLoggers, CERTIFICATION_FILES } = require('../../common');
const { DEFAULT_DD_VERSION } = require('../replication/utils');
const humanizeDuration = require('humanize-duration');
Expand Down
248 changes: 97 additions & 151 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6785331

Please sign in to comment.