fiftyone.geolocation 4.4.1 → 4.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/monthly-copyright-update.yml +21 -0
- package/.github/workflows/nightly-documentation-update.yml +21 -0
- package/.github/workflows/nightly-package-update.yml +22 -0
- package/.github/workflows/nightly-prs-to-main.yml +22 -0
- package/.github/workflows/nightly-publish-to-main.yml +23 -0
- package/ci/README.md +11 -1
- package/ci/build-package-requirements.ps1 +1 -0
- package/ci/build-package.ps1 +14 -0
- package/ci/build-project.ps1 +16 -0
- package/ci/fetch-assets.ps1 +1 -0
- package/ci/get-next-package-version.ps1 +10 -0
- package/ci/install-package.ps1 +8 -0
- package/ci/options.json +50 -0
- package/ci/package-update-required.ps1 +1 -0
- package/ci/publish-package.ps1 +10 -0
- package/ci/run-integration-tests.ps1 +22 -0
- package/ci/run-performance-tests.ps1 +8 -0
- package/ci/run-unit-tests.ps1 +8 -0
- package/ci/setup-environment.ps1 +13 -0
- package/ci/update-packages.ps1 +10 -0
- package/docs/Doxyfile +12 -10
- package/package.json +11 -11
- package/tests/geoLocationCloud.test.js +0 -28
- package/ci/build-and-test.yml +0 -34
- package/ci/common-ci/.github/labels.yml +0 -86
- package/ci/common-ci/.github/workflows/sync-labels.yml +0 -52
- package/ci/common-ci/CiTips.md +0 -34
- package/ci/common-ci/GitVersion.yml +0 -18
- package/ci/common-ci/LICENSE +0 -286
- package/ci/common-ci/README.md +0 -365
- package/ci/common-ci/build-and-test.yml +0 -65
- package/ci/common-ci/c/shared-variables.yml +0 -15
- package/ci/common-ci/check-merge-commit-format.yml +0 -56
- package/ci/common-ci/cloud-release-config.json +0 -51
- package/ci/common-ci/create-tag.yml +0 -44
- package/ci/common-ci/deploy.yml +0 -25
- package/ci/common-ci/dotnet/shared-code-signing-steps.yml +0 -20
- package/ci/common-ci/dotnet/shared-extract-and-publish-packages.yml +0 -29
- package/ci/common-ci/go/shared-go-list-stage.yml +0 -64
- package/ci/common-ci/java/readme.md +0 -22
- package/ci/common-ci/java/shared-package-signing-steps.yml +0 -17
- package/ci/common-ci/java/shared-security-vulnerability-check.yml +0 -54
- package/ci/common-ci/node/shared-extract-and-publish-packages.yml +0 -26
- package/ci/common-ci/php/readme.md +0 -15
- package/ci/common-ci/release-config-schema.json +0 -52
- package/ci/common-ci/release-config-template.json +0 -310
- package/ci/common-ci/release-config.json +0 -151
- package/ci/common-ci/release-process.drawio +0 -165
- package/ci/common-ci/release-process.png +0 -0
- package/ci/common-ci/scripts/azure/checkSlot.ps1 +0 -28
- package/ci/common-ci/scripts/modules/51DAuthorizationModule/51DAuthorizationModule.Tests.ps1 +0 -1
- package/ci/common-ci/scripts/modules/51DAuthorizationModule/51DAuthorizationModule.psm1 +0 -16
- package/ci/common-ci/scripts/modules/51DBuildModule/51DBuildModule.Tests.ps1 +0 -3
- package/ci/common-ci/scripts/modules/51DBuildModule/51DBuildModule.psm1 +0 -200
- package/ci/common-ci/scripts/modules/51DDeployModule/51DDeployModule.psm1 +0 -66
- package/ci/common-ci/scripts/modules/51DDownloadDataFileModule/51DDownloadDataFileModule.psm1 +0 -74
- package/ci/common-ci/scripts/modules/51DEnvironmentModule/51DEnvironmentModule.Tests.ps1 +0 -25
- package/ci/common-ci/scripts/modules/51DEnvironmentModule/51DEnvironmentModule.psm1 +0 -22
- package/ci/common-ci/scripts/modules/51DErrorHandleModule/51DErrorHandleModule.Tests.ps1 +0 -1
- package/ci/common-ci/scripts/modules/51DErrorHandleModule/51DErrorHandleModule.psm1 +0 -41
- package/ci/common-ci/scripts/modules/51DGitModule/51DGitModule.Tests.ps1 +0 -5
- package/ci/common-ci/scripts/modules/51DGitModule/51DGitModule.psm1 +0 -765
- package/ci/common-ci/scripts/modules/51DPackageModule/51DPackageModule.Tests.ps1 +0 -842
- package/ci/common-ci/scripts/modules/51DPackageModule/51DPackageModule.psm1 +0 -926
- package/ci/common-ci/scripts/modules/51DPipelineModule/51DPipelineModule.Tests.ps1 +0 -1
- package/ci/common-ci/scripts/modules/51DPipelineModule/51DPipelineModule.psm1 +0 -87
- package/ci/common-ci/scripts/modules/51DPullRequestModule/51DPullRequestModule.Tests.ps1 +0 -194
- package/ci/common-ci/scripts/modules/51DPullRequestModule/51DPullRequestModule.psm1 +0 -653
- package/ci/common-ci/scripts/modules/51DReleaseModule/51DReleaseModule.Tests.ps1 +0 -277
- package/ci/common-ci/scripts/modules/51DReleaseModule/51DReleaseModule.psm1 +0 -554
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/51DReleaseTestEnvModule.Tests.ps1 +0 -1141
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/51DReleaseTestEnvModule.psd1 +0 -0
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/51DReleaseTestEnvModule.psm1 +0 -1465
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/ConfigurationVerifier.Tests.ps1 +0 -318
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/ConfigurationVerifier.psm1 +0 -344
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/ReleaseVerifier.Tests.ps1 +0 -1186
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/ReleaseVerifier.psm1 +0 -900
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/SharedVariables.psm1 +0 -139
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/c-test-env-config.json +0 -268
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/dotnet-deploy-test-env-config.json +0 -700
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/dotnet-test-env-config.json +0 -533
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/go-deploy-test-env-config.json +0 -290
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/go-test-env-config.json +0 -260
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/java-deploy-test-env-config.json +0 -511
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/java-test-env-config.json +0 -388
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/node-deploy-test-env-config.json +0 -419
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/node-test-env-config.json +0 -329
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/php-test-env-config.json +0 -540
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/python-deploy-test-env-config.json +0 -411
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/python-test-env-config.json +0 -321
- package/ci/common-ci/scripts/modules/51DReleaseTestEnvModule/config/test-env-config.json +0 -457
- package/ci/common-ci/scripts/modules/51DRestModule/51DRestModule.psm1 +0 -38
- package/ci/common-ci/scripts/modules/AzurePortalModules/51DApplicationInsightsModule/51DApplicationInsightsModule.psm1 +0 -104
- package/ci/common-ci/scripts/modules/AzurePortalModules/51DChecksModule/51DChecksModule.psm1 +0 -68
- package/ci/common-ci/scripts/modules/AzurePortalModules/51DCloudModule/51DCloudModule.psm1 +0 -155
- package/ci/common-ci/scripts/modules/AzurePortalModules/51DConnectAzureModule/51DConnectAzureModule.psm1 +0 -45
- package/ci/common-ci/scripts/modules/AzurePortalModules/51DSSLBindingsModule/51DSSLBIndingsModule.psm1 +0 -100
- package/ci/common-ci/scripts/modules/AzurePortalModules/51DStagingSlotModule/51DStagingSlotModule.psm1 +0 -50
- package/ci/common-ci/scripts/modules/AzurePortalModules/51DStorageAccountModule/51DStorageAccountModule.psm1 +0 -248
- package/ci/common-ci/scripts/modules/AzurePortalModules/51DTrafficManagerModule/51DTrafficManagerModule.psm1 +0 -58
- package/ci/common-ci/shared-auto-complete-pr-stage.yml +0 -61
- package/ci/common-ci/shared-create-tag-job.yml +0 -23
- package/ci/common-ci/shared-docker-build-steps.yml +0 -34
- package/ci/common-ci/shared-docker-push-steps.yml +0 -32
- package/ci/common-ci/shared-docker-test-http-steps.yml +0 -69
- package/ci/common-ci/shared-git-tag-job.yml +0 -38
- package/ci/common-ci/shared-git-version-job.yml +0 -71
- package/ci/common-ci/shared-publish-github-stage.yml +0 -107
- package/ci/common-ci/shared-submodule-trigger-stage.yml +0 -110
- package/ci/common-ci/shared-variables.yml +0 -7
- package/ci/common-ci/trigger-release-apis.yml +0 -39
- package/ci/create-packages.yml +0 -109
- package/ci/deploy-external.yml +0 -55
- package/ci/deploy-internal.yml +0 -50
- package/ci/shared-build-and-test-platforms.yml +0 -26
- package/ci/shared-build-and-test-stage.yml +0 -128
- package/ci/shared-variables.yml +0 -1
- package/ci/submodule-trigger.yml +0 -12
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: Monthly Copyright Update
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
dryrun:
|
|
7
|
+
default: false
|
|
8
|
+
type: boolean
|
|
9
|
+
description: Dry Run
|
|
10
|
+
schedule:
|
|
11
|
+
- cron: '0 1 1 * *'
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
Monthly_Copyright_Update:
|
|
15
|
+
uses: 51Degrees/common-ci/.github/workflows/monthly-copyright-update.yml@main
|
|
16
|
+
with:
|
|
17
|
+
repo-name: ${{ github.event.repository.name }}
|
|
18
|
+
org-name: ${{ github.event.repository.owner.login }}
|
|
19
|
+
dryrun: ${{ inputs.dryrun || false }}
|
|
20
|
+
secrets:
|
|
21
|
+
token: ${{ secrets.ACCESS_TOKEN }}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: Nightly Documentation Update
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
dryrun:
|
|
7
|
+
default: false
|
|
8
|
+
type: boolean
|
|
9
|
+
description: Dry Run
|
|
10
|
+
schedule:
|
|
11
|
+
- cron: '0 1 * * *'
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
Nightly_Documentation_Update:
|
|
15
|
+
uses: 51Degrees/common-ci/.github/workflows/nightly-documentation-update.yml@main
|
|
16
|
+
with:
|
|
17
|
+
repo-name: ${{ github.event.repository.name }}
|
|
18
|
+
org-name: ${{ github.event.repository.owner.login }}
|
|
19
|
+
dryrun: ${{ inputs.dryrun || false }}
|
|
20
|
+
secrets:
|
|
21
|
+
token: ${{ secrets.ACCESS_TOKEN }}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Nightly Package Update
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
dryrun:
|
|
7
|
+
default: false
|
|
8
|
+
type: boolean
|
|
9
|
+
description: Dry Run
|
|
10
|
+
schedule:
|
|
11
|
+
- cron: '0 1 * * *'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
Nightly_Package_Update:
|
|
16
|
+
uses: 51Degrees/common-ci/.github/workflows/nightly-package-update.yml@main
|
|
17
|
+
with:
|
|
18
|
+
repo-name: ${{ github.event.repository.name }}
|
|
19
|
+
org-name: ${{ github.event.repository.owner.login }}
|
|
20
|
+
dryrun: ${{ inputs.dryrun || false }}
|
|
21
|
+
secrets:
|
|
22
|
+
token: ${{ secrets.ACCESS_TOKEN }}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Nightly PRs to Main
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
dryrun:
|
|
7
|
+
default: false
|
|
8
|
+
type: boolean
|
|
9
|
+
description: Dry Run
|
|
10
|
+
schedule:
|
|
11
|
+
- cron: '0 1 * * *'
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
Nightly_PRs_to_Main:
|
|
15
|
+
uses: 51Degrees/common-ci/.github/workflows/nightly-prs-to-main.yml@main
|
|
16
|
+
with:
|
|
17
|
+
repo-name: ${{ github.event.repository.name }}
|
|
18
|
+
org-name: ${{ github.event.repository.owner.login }}
|
|
19
|
+
dryrun: ${{ inputs.dryrun || false }}
|
|
20
|
+
secrets:
|
|
21
|
+
token: ${{ secrets.ACCESS_TOKEN }}
|
|
22
|
+
asset-keys: '{"DeviceDetection": "${{ secrets.DEVICE_DETECTION_KEY }}", "TestResourceKey": "${{ secrets.SUPER_RESOURCE_KEY}}"}'
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
name: Nightly Publish Main
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
dryrun:
|
|
7
|
+
default: false
|
|
8
|
+
type: boolean
|
|
9
|
+
description: Dry Run
|
|
10
|
+
schedule:
|
|
11
|
+
- cron: '0 1 * * *'
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
Nightly_Publish_Main:
|
|
15
|
+
uses: 51Degrees/common-ci/.github/workflows/nightly-publish-main.yml@main
|
|
16
|
+
with:
|
|
17
|
+
repo-name: ${{ github.event.repository.name }}
|
|
18
|
+
org-name: ${{ github.event.repository.owner.login }}
|
|
19
|
+
dryrun: ${{ inputs.dryrun || false }}
|
|
20
|
+
build-platform: ubuntu-latest
|
|
21
|
+
secrets:
|
|
22
|
+
token: ${{ secrets.ACCESS_TOKEN }}
|
|
23
|
+
asset-keys: '{"DeviceDetection": "${{ secrets.DEVICE_DETECTION_KEY }}", "TestResourceKey": "${{ secrets.SUPER_RESOURCE_KEY}}", "NPMAuthToken": "${{ secrets.NPM_AUTH_TOKEN}}"}'
|
package/ci/README.md
CHANGED
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
# API Specific CI/CD Approach
|
|
2
|
-
This API complies with the `common-ci` approach.
|
|
2
|
+
This API complies with the `common-ci` approach.
|
|
3
|
+
|
|
4
|
+
The following secrets are required:
|
|
5
|
+
* `ACCESS_TOKEN` - GitHub [access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#about-personal-access-tokens) for cloning repos, creating PRs, etc.
|
|
6
|
+
* Example: `github_pat_l0ng_r4nd0m_s7r1ng`
|
|
7
|
+
* `SUPER_RESOURCE_KEY` - [resource key](https://51degrees.com/documentation/4.4/_info__resource_keys.html) for integration tests
|
|
8
|
+
* Example: `R4nd0m-S7r1ng`
|
|
9
|
+
* `DEVICE_DETECTION_KEY` - [license key](https://51degrees.com/pricing) for downloading assets (TAC hashes file and TAC CSV data file)
|
|
10
|
+
* Example: `V3RYL0NGR4ND0M57R1NG`
|
|
11
|
+
* `NPM_AUTH_TOKEN` - [NPM token](https://docs.npmjs.com/creating-and-viewing-access-tokens) for publishing packages
|
|
12
|
+
* Example: `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`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Write-Output "No requirements needed"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
param (
|
|
2
|
+
[Parameter(Mandatory=$true)]
|
|
3
|
+
[string]$RepoName,
|
|
4
|
+
[Parameter(Mandatory=$true)]
|
|
5
|
+
[string]$Version
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
$packages = "."
|
|
9
|
+
|
|
10
|
+
$noRemote = "."
|
|
11
|
+
|
|
12
|
+
./node/build-package-npm.ps1 -RepoName $RepoName -Packages $packages -NoRemote $noRemote -Version $Version
|
|
13
|
+
|
|
14
|
+
exit $LASTEXITCODE
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
param (
|
|
2
|
+
[Parameter(Mandatory=$true)]
|
|
3
|
+
[string]$RepoName
|
|
4
|
+
)
|
|
5
|
+
|
|
6
|
+
$packages = ".";
|
|
7
|
+
|
|
8
|
+
Push-Location $RepoName
|
|
9
|
+
|
|
10
|
+
Remove-Item -Path ./package-lock.json -Force
|
|
11
|
+
|
|
12
|
+
Pop-Location
|
|
13
|
+
|
|
14
|
+
./node/build-project.ps1 -RepoName $RepoName -Packages $packages
|
|
15
|
+
|
|
16
|
+
exit $LASTEXITCODE
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Write-Output "No assets needed"
|
package/ci/options.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"Name": "Ubuntu_Node_16",
|
|
4
|
+
"Image": "ubuntu-20.04",
|
|
5
|
+
"Language": "node",
|
|
6
|
+
"LanguageVersion": "16.20.0",
|
|
7
|
+
"RunPerformance": true,
|
|
8
|
+
"PackageRequirement": true
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"Name": "Windows_Node_16",
|
|
12
|
+
"Image": "windows-latest",
|
|
13
|
+
"Language": "node",
|
|
14
|
+
"LanguageVersion": "16.20.0",
|
|
15
|
+
"RunPerformance": true,
|
|
16
|
+
"PackageRequirement": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"Name": "macOS_Node_16",
|
|
20
|
+
"Image": "macos-latest",
|
|
21
|
+
"Language": "node",
|
|
22
|
+
"LanguageVersion": "16.20.0",
|
|
23
|
+
"RunPerformance": true,
|
|
24
|
+
"PackageRequirement": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"Name": "Ubuntu_Node_18",
|
|
28
|
+
"Image": "ubuntu-20.04",
|
|
29
|
+
"Language": "node",
|
|
30
|
+
"LanguageVersion": "18.16.0",
|
|
31
|
+
"RunPerformance": true,
|
|
32
|
+
"PackageRequirement": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"Name": "Windows_Node_18",
|
|
36
|
+
"Image": "windows-latest",
|
|
37
|
+
"Language": "node",
|
|
38
|
+
"LanguageVersion": "18.16.0",
|
|
39
|
+
"RunPerformance": true,
|
|
40
|
+
"PackageRequirement": true
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"Name": "macOS_Node_18",
|
|
44
|
+
"Image": "macos-latest",
|
|
45
|
+
"Language": "node",
|
|
46
|
+
"LanguageVersion": "18.16.0",
|
|
47
|
+
"RunPerformance": true,
|
|
48
|
+
"PackageRequirement": true
|
|
49
|
+
}
|
|
50
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Write-Output "Updates needed"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
param (
|
|
2
|
+
[Parameter(Mandatory=$true)]
|
|
3
|
+
[string]$RepoName,
|
|
4
|
+
[Parameter(Mandatory=$true)]
|
|
5
|
+
$Keys
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
Push-Location $RepoName
|
|
9
|
+
|
|
10
|
+
try
|
|
11
|
+
{
|
|
12
|
+
Write-Output "Running integration tests"
|
|
13
|
+
$env:RESOURCE_KEY = $Keys.TestResourceKey
|
|
14
|
+
$env:JEST_JUNIT_OUTPUT_DIR = 'test-results/integration'
|
|
15
|
+
npm run test
|
|
16
|
+
} finally {
|
|
17
|
+
Pop-Location
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if ($LASTEXITCODE -ne 0) {
|
|
21
|
+
exit $LASTEXITCODE
|
|
22
|
+
}
|
package/docs/Doxyfile
CHANGED
|
@@ -51,7 +51,7 @@ PROJECT_BRIEF = "51Degrees Geo-Location for Node.js"
|
|
|
51
51
|
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
|
|
52
52
|
# the logo to the output directory.
|
|
53
53
|
|
|
54
|
-
PROJECT_LOGO =
|
|
54
|
+
PROJECT_LOGO = ../../documentation/docs/images/logo-51Degrees-Docs.png
|
|
55
55
|
|
|
56
56
|
# The PROJECT_URL tag is used to specify the URL which is linked by the
|
|
57
57
|
# PROJECT_LOGO.
|
|
@@ -916,7 +916,7 @@ EXAMPLE_RECURSIVE = YES
|
|
|
916
916
|
# that contain images that are to be included in the documentation (see the
|
|
917
917
|
# \image command).
|
|
918
918
|
|
|
919
|
-
IMAGE_PATH =
|
|
919
|
+
IMAGE_PATH = ../../documentation/docs/images
|
|
920
920
|
|
|
921
921
|
# The INPUT_FILTER tag can be used to specify a program that doxygen should
|
|
922
922
|
# invoke to filter for each input file. Doxygen will invoke the filter program
|
|
@@ -1128,7 +1128,7 @@ HTML_FILE_EXTENSION = .html
|
|
|
1128
1128
|
# of the possible markers and block names see the documentation.
|
|
1129
1129
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
|
1130
1130
|
|
|
1131
|
-
HTML_HEADER =
|
|
1131
|
+
HTML_HEADER = ../../documentation/docs/header.html
|
|
1132
1132
|
|
|
1133
1133
|
# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
|
|
1134
1134
|
# generated HTML page. If the tag is left blank doxygen will generate a standard
|
|
@@ -1138,7 +1138,7 @@ HTML_HEADER =
|
|
|
1138
1138
|
# that doxygen normally uses.
|
|
1139
1139
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
|
1140
1140
|
|
|
1141
|
-
HTML_FOOTER =
|
|
1141
|
+
HTML_FOOTER = ../../documentation/docs/footer.html
|
|
1142
1142
|
|
|
1143
1143
|
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
|
|
1144
1144
|
# sheet that is used by each HTML page. It can be used to fine-tune the look of
|
|
@@ -1150,7 +1150,7 @@ HTML_FOOTER = ../../../docs/footer.html
|
|
|
1150
1150
|
# obsolete.
|
|
1151
1151
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
|
1152
1152
|
|
|
1153
|
-
HTML_STYLESHEET =
|
|
1153
|
+
HTML_STYLESHEET = ../../documentation/docs/docs-main.min.css
|
|
1154
1154
|
|
|
1155
1155
|
# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
|
|
1156
1156
|
# cascading style sheets that are included after the standard style sheets
|
|
@@ -1173,11 +1173,13 @@ HTML_EXTRA_STYLESHEET =
|
|
|
1173
1173
|
# files will be copied as-is; there are no commands or markers available.
|
|
1174
1174
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
|
1175
1175
|
|
|
1176
|
-
HTML_EXTRA_FILES =
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1176
|
+
HTML_EXTRA_FILES = ../../documentation/docs/images/icon-arrow-left-black.svg \
|
|
1177
|
+
../../documentation/docs/images/icon-arrow-right-black.svg \
|
|
1178
|
+
../../documentation/docs/images/icon-arrow-solid-right-mute.svg \
|
|
1179
|
+
../../documentation/docs/images/icon-arrow-solid-right-orange.svg \
|
|
1180
|
+
../../documentation/docs/images/icon-search.svg \
|
|
1181
|
+
../../documentation/docs/examplegrabber.js \
|
|
1182
|
+
../../documentation/docs/search51.js
|
|
1181
1183
|
|
|
1182
1184
|
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
|
|
1183
1185
|
# will adjust the colors in the style sheet and background images according to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fiftyone.geolocation",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.3",
|
|
4
4
|
"description": "Geo-location services for the 51Degrees Pipeline API",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -17,21 +17,21 @@
|
|
|
17
17
|
"Joseph Dix <joseph@51degrees.com> (https://51degrees.com)"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"fiftyone.pipeline.cloudrequestengine": "^4.4.
|
|
21
|
-
"fiftyone.pipeline.core": "^4.4.
|
|
22
|
-
"fiftyone.pipeline.engines": "^4.4.
|
|
23
|
-
"fiftyone.pipeline.engines.fiftyone": "^4.4.
|
|
20
|
+
"fiftyone.pipeline.cloudrequestengine": "^4.4.8",
|
|
21
|
+
"fiftyone.pipeline.core": "^4.4.8",
|
|
22
|
+
"fiftyone.pipeline.engines": "^4.4.8",
|
|
23
|
+
"fiftyone.pipeline.engines.fiftyone": "^4.4.8"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^15.
|
|
26
|
+
"@types/node": "^15.14.9",
|
|
27
27
|
"eslint": "^6.8.0",
|
|
28
28
|
"eslint-config-standard": "^14.1.1",
|
|
29
|
-
"eslint-plugin-import": "^2.
|
|
29
|
+
"eslint-plugin-import": "^2.27.5",
|
|
30
30
|
"eslint-plugin-node": "^11.1.0",
|
|
31
|
-
"eslint-plugin-promise": "^4.
|
|
32
|
-
"eslint-plugin-standard": "^4.0
|
|
33
|
-
"jest": "^27.
|
|
34
|
-
"jest-expect-message": "^1.
|
|
31
|
+
"eslint-plugin-promise": "^4.3.1",
|
|
32
|
+
"eslint-plugin-standard": "^4.1.0",
|
|
33
|
+
"jest": "^27.5.1",
|
|
34
|
+
"jest-expect-message": "^1.1.3",
|
|
35
35
|
"jest-junit": "^9.0.0"
|
|
36
36
|
},
|
|
37
37
|
"license": "EUPL-1.2",
|
|
@@ -107,20 +107,6 @@ if (isAsync) {
|
|
|
107
107
|
await testAvailableProperties(done, pipeline, engine);
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
-
test('Available Properties Digital Element', async done => {
|
|
111
|
-
if (myResourceKey === '!!YOUR_RESOURCE_KEY!!') {
|
|
112
|
-
throw new Error('No resource key is present!');
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
const pipeline = new GeoLocation.GeoLocationPipelineBuilder({
|
|
116
|
-
resourceKey: myResourceKey,
|
|
117
|
-
locationProvider: 'digitalelement'
|
|
118
|
-
}).build();
|
|
119
|
-
var engine = pipeline.flowElements.location_digitalelement;
|
|
120
|
-
|
|
121
|
-
await testAvailableProperties(done, pipeline, engine);
|
|
122
|
-
});
|
|
123
|
-
|
|
124
110
|
test('Value Types 51Degrees', async done => {
|
|
125
111
|
if (myResourceKey === '!!YOUR_RESOURCE_KEY!!') {
|
|
126
112
|
throw new Error('No resource key is present!');
|
|
@@ -134,20 +120,6 @@ if (isAsync) {
|
|
|
134
120
|
|
|
135
121
|
await testValueTypes(done, pipeline, engine);
|
|
136
122
|
});
|
|
137
|
-
|
|
138
|
-
test('Value Types DigitalElement', async done => {
|
|
139
|
-
if (myResourceKey === '!!YOUR_RESOURCE_KEY!!') {
|
|
140
|
-
throw new Error('No resource key is present!');
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
const pipeline = new GeoLocation.GeoLocationPipelineBuilder({
|
|
144
|
-
resourceKey: myResourceKey,
|
|
145
|
-
locationProvider: 'digitalelement'
|
|
146
|
-
}).build();
|
|
147
|
-
var engine = pipeline.flowElements.location_digitalelement;
|
|
148
|
-
|
|
149
|
-
await testValueTypes(done, pipeline, engine);
|
|
150
|
-
});
|
|
151
123
|
} else {
|
|
152
124
|
// Skip if async is not available (e.g node 6)
|
|
153
125
|
test.skip('Workaround', () => 1);
|
package/ci/build-and-test.yml
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
trigger: none
|
|
2
|
-
|
|
3
|
-
# Schedule to run overnight
|
|
4
|
-
schedules:
|
|
5
|
-
- cron: "0 20 * * *"
|
|
6
|
-
displayName: Daily overnight build
|
|
7
|
-
branches:
|
|
8
|
-
include:
|
|
9
|
-
- develop
|
|
10
|
-
|
|
11
|
-
resources:
|
|
12
|
-
repositories:
|
|
13
|
-
- repository: ciTemplates # Id of the repository used to reference to in this script
|
|
14
|
-
type: git
|
|
15
|
-
name: common-ci # Name of the actual repository
|
|
16
|
-
|
|
17
|
-
# Include the shared variables
|
|
18
|
-
variables:
|
|
19
|
-
- template: shared-variables.yml@ciTemplates
|
|
20
|
-
- group: CIAutomation
|
|
21
|
-
|
|
22
|
-
stages:
|
|
23
|
-
- template: shared-build-and-test-platforms.yml
|
|
24
|
-
parameters:
|
|
25
|
-
windowsImage: $(windowsImage)
|
|
26
|
-
linuxImage: $(linuxImage)
|
|
27
|
-
macImage: $(macImage)
|
|
28
|
-
runTests: variables['RunTests']
|
|
29
|
-
|
|
30
|
-
# Try to complete the corresponding pull request if
|
|
31
|
-
# this is triggered by one.
|
|
32
|
-
- template: shared-auto-complete-pr-stage.yml@ciTemplates
|
|
33
|
-
parameters:
|
|
34
|
-
stageDependencies: [Windows,Linux,MacOS]
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
# Type labels
|
|
2
|
-
- name: "type: feature-request"
|
|
3
|
-
description: New feature
|
|
4
|
-
color: 0eced4
|
|
5
|
-
- name: "type: bug"
|
|
6
|
-
description: Something isn't working
|
|
7
|
-
color: d73a4a
|
|
8
|
-
- name: "type: documentation"
|
|
9
|
-
description: Improvements or additions to documentation
|
|
10
|
-
color: 0075ca
|
|
11
|
-
- name: "type: question"
|
|
12
|
-
description: Further information is requested
|
|
13
|
-
color: d876e3
|
|
14
|
-
|
|
15
|
-
# Status Labels
|
|
16
|
-
- name: "status: to be scheduled"
|
|
17
|
-
description: This item has not been scheduled for a particular release
|
|
18
|
-
color: c2e0c6
|
|
19
|
-
- name: "status: assigned"
|
|
20
|
-
description: This item has been assigned to an engineer
|
|
21
|
-
color: 6ff076
|
|
22
|
-
- name: "status: duplicate"
|
|
23
|
-
description: This issue or pull request already exists
|
|
24
|
-
color: cfd3d7
|
|
25
|
-
- name: "status: awaiting external input"
|
|
26
|
-
description: This item is awaiting for external input
|
|
27
|
-
color: 6699ff
|
|
28
|
-
- name: "status: will not fix"
|
|
29
|
-
description: This item will not be fixed
|
|
30
|
-
color: 6392fa
|
|
31
|
-
- name: "status: released/4.3.0"
|
|
32
|
-
description: This change was released in the specified version
|
|
33
|
-
color: a8d131
|
|
34
|
-
- name: "status: released/4.3.1"
|
|
35
|
-
description: This change was released in the specified version
|
|
36
|
-
color: 6dcc16
|
|
37
|
-
- name: "status: released/4.3.2"
|
|
38
|
-
description: This change was released in the specified version
|
|
39
|
-
color: 87a457
|
|
40
|
-
- name: "status: released/4.3.3"
|
|
41
|
-
description: This change was released in the specified version
|
|
42
|
-
color: 006b75
|
|
43
|
-
- name: "status: released/4.3.4"
|
|
44
|
-
description: This change was released in the specified version
|
|
45
|
-
color: 99ccff
|
|
46
|
-
- name: "status: released/4.3.5"
|
|
47
|
-
description: This change was released in the specified version
|
|
48
|
-
color: ccccff
|
|
49
|
-
- name: "status: released/4.3.6"
|
|
50
|
-
description: This change was released in the specified version
|
|
51
|
-
color: cc88ff
|
|
52
|
-
- name: "status: released/4.4.0"
|
|
53
|
-
description: This change was released in the specified version
|
|
54
|
-
color: 376842
|
|
55
|
-
|
|
56
|
-
# Scheduled Labels
|
|
57
|
-
- name: "scheduled: 6th Oct 2021"
|
|
58
|
-
description: This item has been scheduled for 6th Oct 2021 release
|
|
59
|
-
color: 6ff076
|
|
60
|
-
- name: "scheduled: 20th Oct 2021"
|
|
61
|
-
description: This item has been scheduled for 20th Oct 2021 release
|
|
62
|
-
color: 6ff076
|
|
63
|
-
- name: "scheduled: 3rd Nov 2021"
|
|
64
|
-
description: This item has been scheduled for 3rd Nov 2021 release
|
|
65
|
-
color: 6ff076
|
|
66
|
-
- name: "scheduled: 17th Nov 2021"
|
|
67
|
-
description: This item has been scheduled for 17th Nov 2021 release
|
|
68
|
-
color: 6ff076
|
|
69
|
-
- name: "scheduled: 1st Dec 2021"
|
|
70
|
-
description: This item has been scheduled for 1st Dec 2021 release
|
|
71
|
-
color: 6ff076
|
|
72
|
-
- name: "scheduled: 15th Dec 2021"
|
|
73
|
-
description: This item has been scheduled for 15th Dec 2021 release
|
|
74
|
-
color: 6ff076
|
|
75
|
-
- name: "scheduled: 12th Jan 2022"
|
|
76
|
-
description: This item has been scheduled for 12th Jan 2022 release
|
|
77
|
-
color: 6ff076
|
|
78
|
-
- name: "scheduled: 19th Jan 2022"
|
|
79
|
-
description: This item has been scheduled for 19th Jan 2022 release
|
|
80
|
-
color: 6ff076
|
|
81
|
-
- name: "scheduled: 26th Jan 2022"
|
|
82
|
-
description: This item has been scheduled for 26th Jan 2022 release
|
|
83
|
-
color: 6ff076
|
|
84
|
-
- name: "scheduled: 2nd Feb 2022"
|
|
85
|
-
description: This item has been scheduled for 2nd Feb 2022 release
|
|
86
|
-
color: 6ff076
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# This script will automatically synchronize the labels defined in the labels.yml file in this repository
|
|
2
|
-
# to all other repositories.
|
|
3
|
-
# Note that labels that are removed or renamed in label.yml will be deleted from all repositories.
|
|
4
|
-
# Issues and PRs that are tagged with that label will have the label removed.
|
|
5
|
-
name: Sync labels
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- main
|
|
10
|
-
paths:
|
|
11
|
-
- .github/labels.yml
|
|
12
|
-
jobs:
|
|
13
|
-
build:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v2
|
|
17
|
-
- uses: micnncim/action-label-syncer@v1
|
|
18
|
-
with:
|
|
19
|
-
manifest: .github/labels.yml
|
|
20
|
-
repository: |
|
|
21
|
-
51Degrees/caching-dotnet
|
|
22
|
-
51Degrees/cloud-issues
|
|
23
|
-
51Degrees/common-ci
|
|
24
|
-
51Degrees/common-cxx
|
|
25
|
-
51Degrees/data-file-tool
|
|
26
|
-
51Degrees/device-detection-cxx
|
|
27
|
-
51Degrees/device-detection-data
|
|
28
|
-
51Degrees/device-detection-dotnet
|
|
29
|
-
51Degrees/device-detection-go
|
|
30
|
-
51Degrees/device-detection-examples-go
|
|
31
|
-
51Degrees/device-detection-java
|
|
32
|
-
51Degrees/device-detection-nginx
|
|
33
|
-
51Degrees/device-detection-node
|
|
34
|
-
51Degrees/device-detection-php
|
|
35
|
-
51Degrees/device-detection-php-onpremise
|
|
36
|
-
51Degrees/device-detection-python
|
|
37
|
-
51Degrees/device-detection-varnish
|
|
38
|
-
51Degrees/location-dotnet
|
|
39
|
-
51Degrees/location-java
|
|
40
|
-
51Degrees/location-node
|
|
41
|
-
51Degrees/location-php
|
|
42
|
-
51Degrees/location-python
|
|
43
|
-
51Degrees/pipeline-dotnet
|
|
44
|
-
51Degrees/pipeline-java
|
|
45
|
-
51Degrees/pipeline-node
|
|
46
|
-
51Degrees/pipeline-php-cloudrequestengine
|
|
47
|
-
51Degrees/pipeline-php-core
|
|
48
|
-
51Degrees/pipeline-php-engines
|
|
49
|
-
51Degrees/pipeline-python
|
|
50
|
-
51Degrees/pipeline-specification
|
|
51
|
-
51Degrees/Renderer
|
|
52
|
-
token: ${{ secrets.LABEL_SYNC_TOKEN }}
|