From fbbfa34702c10acfc08e4be4669672cdd76d7d7e Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 1 Apr 2020 12:02:38 +0200 Subject: [PATCH] Adding and fixing rules --- .../validations/validators/TestRules.java | 1 - .../Catalogue-WS/Catalogue-WS-license.csv | 1 + .../Catalogue-WS/Catalogue-WS-namespaces.csv | 2 + .../Catalogue-WS/Catalogue-WS-namespaces.json | 12 + .../Catalogue-WS/Catalogue-WS-profile.csv | 3 +- .../Catalogue-WS/Catalogue-WS-profiles.csv | 3 +- .../SocialNetworking/SocialNetworking-all.csv | 35 +++ .../cmems-importer-service-OTHER.csv | 227 ++++++++++++++++++ .../cmems-importer-service-OTHER.json | 12 + .../dataminer-pool-manager-all.csv | 5 +- 10 files changed, 297 insertions(+), 4 deletions(-) create mode 100644 src/test/resources/rules/Catalogue-WS/Catalogue-WS-license.csv create mode 100644 src/test/resources/rules/Catalogue-WS/Catalogue-WS-namespaces.csv create mode 100644 src/test/resources/rules/Catalogue-WS/Catalogue-WS-namespaces.json create mode 100644 src/test/resources/rules/cmems-importer-service/cmems-importer-service-OTHER.csv create mode 100644 src/test/resources/rules/cmems-importer-service/cmems-importer-service-OTHER.json diff --git a/src/test/java/org/gcube/accounting/datamodel/validations/validators/TestRules.java b/src/test/java/org/gcube/accounting/datamodel/validations/validators/TestRules.java index f768a69..60bdb42 100644 --- a/src/test/java/org/gcube/accounting/datamodel/validations/validators/TestRules.java +++ b/src/test/java/org/gcube/accounting/datamodel/validations/validators/TestRules.java @@ -245,7 +245,6 @@ public class TestRules extends ContextTest { Replace replace = matcherReplace.check("geoanalytics","geoanalytics-gos-gos","/ShapeManagement/applyOnView"); logger.info("{}", replace); - } diff --git a/src/test/resources/rules/Catalogue-WS/Catalogue-WS-license.csv b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-license.csv new file mode 100644 index 0000000..416306e --- /dev/null +++ b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-license.csv @@ -0,0 +1 @@ +Data-Catalogue,Catalogue-WS,/rest/api/licenses/show \ No newline at end of file diff --git a/src/test/resources/rules/Catalogue-WS/Catalogue-WS-namespaces.csv b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-namespaces.csv new file mode 100644 index 0000000..2fdd0b0 --- /dev/null +++ b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-namespaces.csv @@ -0,0 +1,2 @@ +Data-Catalogue,Catalogue-WS,/rest/api/namespaces/show +Data-Catalogue,Catalogue-WS,/rest/api/profiles/namespaces \ No newline at end of file diff --git a/src/test/resources/rules/Catalogue-WS/Catalogue-WS-namespaces.json b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-namespaces.json new file mode 100644 index 0000000..0baeef3 --- /dev/null +++ b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-namespaces.json @@ -0,0 +1,12 @@ +{ + "match": { + "serviceClassRegex": "(Data-Catalogue)|(DataPublishing)", + "serviceNameRegex": "Catalogue-WS", + "calledMethodRegex": "(\/rest\/(api\/){0,1})(profiles){0,1}namespaces(s){0,1}.*" + }, + "replace": { + "serviceClass": "DataPublishing", + "serviceName": "Catalogue-WS", + "calledMethod": "${Action}Resource" + } +} \ No newline at end of file diff --git a/src/test/resources/rules/Catalogue-WS/Catalogue-WS-profile.csv b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-profile.csv index 9d4c98c..a7da131 100644 --- a/src/test/resources/rules/Catalogue-WS/Catalogue-WS-profile.csv +++ b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-profile.csv @@ -1 +1,2 @@ -Data-Catalogue,Catalogue-WS,/rest/api/profiles/profile \ No newline at end of file +Data-Catalogue,Catalogue-WS,/rest/api/profiles/profile +Data-Catalogue,Catalogue-WS,rest/api/profiles/profile \ No newline at end of file diff --git a/src/test/resources/rules/Catalogue-WS/Catalogue-WS-profiles.csv b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-profiles.csv index 17b0d5c..13f2c58 100644 --- a/src/test/resources/rules/Catalogue-WS/Catalogue-WS-profiles.csv +++ b/src/test/resources/rules/Catalogue-WS/Catalogue-WS-profiles.csv @@ -1,4 +1,5 @@ Data-Catalogue,Catalogue-WS,/rest/api/profiles/profile_names Data-Catalogue,Catalogue-WS,/rest/api/profiles/profile_names/ Data-Catalogue,Catalogue-WS,/rest/api/profile/list -Data-Catalogue,Catalogue-WS,/rest/api/profiles/list \ No newline at end of file +Data-Catalogue,Catalogue-WS,/rest/api/profiles/list +Data-Catalogue,Catalogue-WS,/rest/api/profiles/profile_names \ No newline at end of file diff --git a/src/test/resources/rules/SocialNetworking/SocialNetworking-all.csv b/src/test/resources/rules/SocialNetworking/SocialNetworking-all.csv index 13a3a89..f514a20 100644 --- a/src/test/resources/rules/SocialNetworking/SocialNetworking-all.csv +++ b/src/test/resources/rules/SocialNetworking/SocialNetworking-all.csv @@ -35,4 +35,39 @@ Portal,SocialNetworking,/rest/users/2/get-usernames-by-global-role Portal,SocialNetworking,/rest/users/get-all-usernames Portal,SocialNetworking,/rest/users/get-usernames-by-global-role Portal,SocialNetworking,/rest/users/getUserEmail +Portal,SocialNetworking,/rest/users/getUserFullname +Portal,SocialNetworking,/rest/1/people/profile +Portal,SocialNetworking,/rest/2/full-text-search/search-by-query +Portal,SocialNetworking,/rest/2/hashtags/get-hashtags-and-occurrences +Portal,SocialNetworking,/rest/2/messages/get-received-messages +Portal,SocialNetworking,/rest/2/messages/get-sent-messages +Portal,SocialNetworking,/rest/2/messages/write-message +Portal,SocialNetworking,/rest/2/notifications/get-range-notifications +Portal,SocialNetworking,/rest/2/notifications/notify-job-status +Portal,SocialNetworking,/rest/2/people/profile +Portal,SocialNetworking,/rest/2/posts/get-id-liked-posts +Portal,SocialNetworking,/rest/2/posts/get-liked-posts +Portal,SocialNetworking,/rest/2/posts/get-posts-app +Portal,SocialNetworking,/rest/2/posts/get-posts-by-hashtag +Portal,SocialNetworking,/rest/2/posts/get-posts-user +Portal,SocialNetworking,/rest/2/posts/get-posts-user-quantity +Portal,SocialNetworking,/rest/2/posts/get-posts-user-since +Portal,SocialNetworking,/rest/2/posts/get-posts-vre +Portal,SocialNetworking,/rest/2/posts/write-post-app +Portal,SocialNetworking,/rest/2/posts/write-post-app/ +Portal,SocialNetworking,/rest/2/posts/write-post-user +Portal,SocialNetworking,/rest/2/tokens/generate-application-token +Portal,SocialNetworking,/rest/2/tokens/generate-application-token/ +Portal,SocialNetworking,/rest/2/users/get-all-fullnames-and-usernames +Portal,SocialNetworking,/rest/2/users/get-all-usernames +Portal,SocialNetworking,/rest/2/users/get-custom-attribute +Portal,SocialNetworking,/rest/2/users/get-email +Portal,SocialNetworking,/rest/2/users/get-fullname +Portal,SocialNetworking,/rest/2/users/get-profile +Portal,SocialNetworking,/rest/2/users/get-usernames-by-global-role +Portal,SocialNetworking,/rest/2/users/get-usernames-by-role +Portal,SocialNetworking,/rest/2/users/user-exists +Portal,SocialNetworking,/rest/2/vres/get-my-vres +Portal,SocialNetworking,/rest/messages/writeMessageToUsers +Portal,SocialNetworking,/rest/users/getUserEmail Portal,SocialNetworking,/rest/users/getUserFullname \ No newline at end of file diff --git a/src/test/resources/rules/cmems-importer-service/cmems-importer-service-OTHER.csv b/src/test/resources/rules/cmems-importer-service/cmems-importer-service-OTHER.csv new file mode 100644 index 0000000..bfaafdd --- /dev/null +++ b/src/test/resources/rules/cmems-importer-service/cmems-importer-service-OTHER.csv @@ -0,0 +1,227 @@ +DataAnalysis,cmems-importer-service,/api/cmems +DataAnalysis,cmems-importer-service,/api/cmems/keywords +DataAnalysis,cmems-importer-service,/api/cmems/maxTime +DataAnalysis,cmems-importer-service,/api/cmems/minTime +DataAnalysis,cmems-importer-service,/api/cmems/motu +DataAnalysis,cmems-importer-service,/api/cmems/products +DataAnalysis,cmems-importer-service,/api/cmems/products/ANTARCTIC_OMI_SI_extent/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ANTARCTIC_OMI_SI_extent/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ANTARCTIC_OMI_SI_extent/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ANTARCTIC_OMI_SI_extent/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/dgf/dataset-topaz4-bio-arc-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/tds/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/tds/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/wms/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/ftp/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/dgs +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/tds/dataset-topaz4-bio-arc-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_BIO_002_004/datasets/wms/dataset-topaz4-bio-arc-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/tds/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/tds/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/wms/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/tds/dataset-topaz4-arc-1hr-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/tds/dataset-topaz4-arc-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_PHYS_002_001_a/datasets/wms/dataset-topaz4-arc-1hr-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_006/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_006/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_006/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_006/datasets/tds/dataset-mywave-arctic-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_006/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_010/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_010/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_010/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_010/datasets/tds/dataset-wam-arctic-1hr6km-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_ANALYSIS_FORECAST_WAV_002_010/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_OMI_SI_extent/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_OMI_SI_extent/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_OMI_SI_extent/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_OMI_SI_extent_obs/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_OMI_SI_extent_obs/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_OMI_SI_extent_obs/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_BIO_002_005/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_BIO_002_005/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_BIO_002_005/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_BIO_002_005/datasets/tds/dataset-bio-ran-arc-day-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_BIO_002_005/datasets/tds/dataset-bio-ran-arc-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_BIO_002_005/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_PHYS_002_003/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_PHYS_002_003/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_PHYS_002_003/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_PHYS_002_003/datasets/tds/dataset-ran-arc-day-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_PHYS_002_003/datasets/tds/dataset-ran-arc-myoceanv2-be +DataAnalysis,cmems-importer-service,/api/cmems/products/ARCTIC_REANALYSIS_PHYS_002_003/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_BIO_003_007/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_BIO_003_007/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_BIO_003_007/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_BIO_003_007/datasets/tds/dataset-bal-analysis-forecast-bio-monthlymeans +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_BIO_003_007/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_PHY_003_006/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_PHY_003_006/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_PHY_003_006/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_PHY_003_006/datasets/tds/dataset-bal-analysis-forecast-phy-dailymeans +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_PHY_003_006/datasets/tds/dataset-bal-analysis-forecast-phy-hourly +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_PHY_003_006/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_WAV_003_010/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_WAV_003_010/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_WAV_003_010/datasets/tds/dataset-bal-analysis-forecast-wav-hourly +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_ANALYSIS_FORECAST_WAV_003_010/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_REANALYSIS_PHY_003_008/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_REANALYSIS_PHY_003_008/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_REANALYSIS_PHY_003_008/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_REANALYSIS_PHY_003_008/datasets/tds/dataset-reanalysis-hiromb-3D +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_REANALYSIS_PHY_003_008/datasets/tds/dataset-reanalysis-hiromb-dailymeans +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_REANALYSIS_PHY_003_008/datasets/tds/dataset-reanalysis-hiromb-monthlymeans +DataAnalysis,cmems-importer-service,/api/cmems/products/BALTICSEA_REANALYSIS_PHY_003_008/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_BIO_007_002/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_BIO_007_009/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_BIO_007_009/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_BIO_007_009/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_PHYS_007_001/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_PHYS_007_001/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_WAV_007_003/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_WAV_007_003/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_WAV_007_003/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_WAV_007_003/datasets/tds/bs-hzg-wav-an-fc-h +DataAnalysis,cmems-importer-service,/api/cmems/products/BLKSEA_ANALYSIS_FORECAST_WAV_007_003/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_BIO_001_014/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_BIO_001_014/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHYS_001_015/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHYS_001_015/datasets/tds/MetO-GLO-PHYS-dm-CUR +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHYS_001_015/datasets/tds/MetO-GLO-PHYS-dm-MLD +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHYS_001_015/datasets/tds/MetO-GLO-PHYS-dm-SSH +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHYS_001_015/datasets/tds/MetO-GLO-PHYS-dm-TEM +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHYS_001_015/datasets/tds/MetO-GLO-PHYS-hi-CUR +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHYS_001_015/datasets/tds/MetO-GLO-PHYS-hi-TEM +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHY_001_024/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHY_001_024/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHY_001_024/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHY_001_024/datasets/tds/global-analysis-forecast-phy-001-024 +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_PHY_001_024/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_023/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_023/datasets/dgf/global-analysis-forecast-wav-001-023 +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_023/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_023/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_027/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_027/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_027/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_027/datasets/tds/global-analysis-forecast-wav-001-027 +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_FORECAST_WAV_001_027/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_PHYS_001_020/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_PHYS_001_020/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_ANALYSIS_PHYS_001_020/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_OHC_anomalies/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_OHC_anomalies/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_OHC_anomalies/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_OHC_anomalies/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_OHC_area_averaged_anomalies/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_OHC_area_averaged_anomalies/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_OHC_trend/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_SL_area_averaged_mean/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_SL_area_averaged_mean/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_SL_area_averaged_mean/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_SL_regional_trends/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_OMI_SL_regional_trends/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_BIO_001_018/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_BIO_001_018/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_BIO_001_018/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_BIO_001_018/datasets/tds/dataset-global-nahindcast-bio-001-018-V5-fe +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_BIO_001_018/datasets/tds/dataset-global-nahindcast-bio-001-018-V5-phyc +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_BIO_001_018/datasets/tds/dataset-global-nahindcast-bio-001-018-V5-si +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_BIO_001_018/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_PHY_001_025/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/GLOBAL_REANALYSIS_PHY_001_026/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/IBI_ANALYSIS_FORECAST_PHYS_005_001/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/IBI_ANALYSIS_FORECAST_PHYS_005_001/datasets/tds/dataset-ibi-analysis-forecast-phys-005-001-hourly +DataAnalysis,cmems-importer-service,/api/cmems/products/IBI_ANALYSIS_FORECAST_PHYS_005_001/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/IBI_ANALYSIS_FORECAST_WAV_005_005/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/IBI_ANALYSIS_FORECAST_WAV_005_005/datasets/tds/dataset-ibi-analysis-forecast-wav-005-005-hourly +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_ARC_NRT_OBSERVATIONS_013_031/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_ARC_NRT_OBSERVATIONS_013_031/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_ARC_TS_REP_OBSERVATIONS_013_037/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_BAL_TS_REP_OBSERVATIONS_013_038/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_BS_NRT_OBSERVATIONS_013_034/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_BS_NRT_OBSERVATIONS_013_034/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_BS_TS_REP_OBSERVATIONS_013_042/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_BS_TS_REP_OBSERVATIONS_013_042/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_NRT_OBSERVATIONS_013_030/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_NRT_OBSERVATIONS_013_030/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_NRT_OBSERVATIONS_013_030/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_NRT_OBSERVATIONS_013_030/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_TS_OA_NRT_OBSERVATIONS_013_002_a/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_TS_OA_NRT_OBSERVATIONS_013_002_a/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_TS_OA_REP_OBSERVATIONS_013_002_b/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_TS_OA_REP_OBSERVATIONS_013_002_b/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_TS_OA_REP_OBSERVATIONS_013_002_b/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_TS_OA_REP_OBSERVATIONS_013_002_b/datasets/tds/CORIOLIS-GLOBAL-CORA03.2-OBS_FULL_TIME_SERIE +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_TS_OA_REP_OBSERVATIONS_013_002_b/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_GLO_UV_L2_REP_OBSERVATIONS_013_044/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_IBI_NRT_OBSERVATIONS_013_033/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_IBI_NRT_OBSERVATIONS_013_033/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_IBI_NRT_OBSERVATIONS_013_033/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_IBI_TS_REP_OBSERVATIONS_013_040/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_MED_TS_REP_OBSERVATIONS_013_041/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_MED_TS_REP_OBSERVATIONS_013_041/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_NWS_NRT_OBSERVATIONS_013_036/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_NWS_TS_REP_OBSERVATIONS_013_043/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_NWS_TS_REP_OBSERVATIONS_013_043/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/INSITU_NWS_TS_REP_OBSERVATIONS_013_043/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/MEDSEA_ANALYSIS_FORECAST_PHY_006_013/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/MEDSEA_ANALYSIS_FORECAST_PHY_006_013/datasets/tds/sv03-med-ingv-cur-an-fc-hts +DataAnalysis,cmems-importer-service,/api/cmems/products/MEDSEA_REANALYSIS_BIO_006_008/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/NORTHWESTSHELF_ANALYSIS_FORECAST_PHYS_004_001_b/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/NORTHWESTSHELF_ANALYSIS_FORECAST_PHYS_004_001_b/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/NORTHWESTSHELF_ANALYSIS_FORECAST_WAV_004_012/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/NORTHWESTSHELF_ANALYSIS_FORECAST_WAV_004_012/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/NORTHWESTSHELF_ANALYSIS_FORECAST_WAV_004_012/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/NORTHWESTSHELF_ANALYSIS_FORECAST_WAV_004_012/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/OCEANCOLOUR_ATL_OPTICS_L4_NRT_OBSERVATIONS_009_092/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/OCEANCOLOUR_ATL_OPTICS_L4_NRT_OBSERVATIONS_009_092/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/OCEANCOLOUR_ATL_OPTICS_L4_NRT_OBSERVATIONS_009_092/datasets/tds/dataset-oc-atl-opt-olci_a-l4-kd490_1km_8days-rt-v01 +DataAnalysis,cmems-importer-service,/api/cmems/products/OCEANCOLOUR_GLO_OPTICS_L3_NRT_OBSERVATIONS_009_030/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/OCEANCOLOUR_GLO_OPTICS_L3_NRT_OBSERVATIONS_009_030/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/OCEANCOLOUR_GLO_OPTICS_L4_NRT_OBSERVATIONS_009_083/datasets/tds/dataset-oc-glo-opt-multi-l4-bbp443_4km_8days-rt-v02 +DataAnalysis,cmems-importer-service,/api/cmems/products/SEAICE_GLO_SEAICE_L4_NRT_OBSERVATIONS_011_006/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/SEAICE_GLO_SEAICE_L4_NRT_OBSERVATIONS_011_006/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/SEAICE_GLO_SEAICE_L4_NRT_OBSERVATIONS_011_006/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/SEAICE_GLO_SEAICE_L4_NRT_OBSERVATIONS_011_006/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/SEAICE_GLO_SEAICE_L4_REP_OBSERVATIONS_011_009/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/SEAICE_GLO_SEAICE_L4_REP_OBSERVATIONS_011_009/datasets/tds/METNO-GLO-SEAICE_CONC_CONT_TIMESERIES-NH-LA-OBS +DataAnalysis,cmems-importer-service,/api/cmems/products/SEAICE_GLO_SEAICE_L4_REP_OBSERVATIONS_011_009/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/SEALEVEL_GLO_PHY_L3_REP_OBSERVATIONS_008_045/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/SEALEVEL_GLO_PHY_L4_REP_OBSERVATIONS_008_047/datasets/tds/dataset-duacs-rep-global-merged-allsat-phy-l4-v3 +DataAnalysis,cmems-importer-service,/api/cmems/products/SST_BS_SST_L4_NRT_OBSERVATIONS_010_006/datasets/dgf +DataAnalysis,cmems-importer-service,/api/cmems/products/SST_BS_SST_L4_NRT_OBSERVATIONS_010_006/datasets/tds/SST_BS_SST_L4_NRT_OBSERVATIONS_010_006_a_V2 +DataAnalysis,cmems-importer-service,/api/cmems/products/SST_BS_SST_L4_NRT_OBSERVATIONS_010_006/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/products/WIND_GLO_WIND_L4_REP_OBSERVATIONS_012_003/datasets/ftp +DataAnalysis,cmems-importer-service,/api/cmems/products/WIND_GLO_WIND_L4_REP_OBSERVATIONS_012_003/datasets/tds +DataAnalysis,cmems-importer-service,/api/cmems/products/WIND_GLO_WIND_L4_REP_OBSERVATIONS_012_003/datasets/tds/CERSAT-GLO-REP_WIND_L4-OBS_FULL_TIME_SERIE +DataAnalysis,cmems-importer-service,/api/cmems/products/WIND_GLO_WIND_L4_REP_OBSERVATIONS_012_003/datasets/wms +DataAnalysis,cmems-importer-service,/api/cmems/tasks +DataAnalysis,cmems-importer-service,/api/tasks +DataAnalysis,cmems-importer-service,/api/tasks/2525f215-3669-4647-baee-2839c0c9c226/executions +DataAnalysis,cmems-importer-service,/api/tasks/2525f215-3669-4647-baee-2839c0c9c226/executions/1517418720174/reports +DataAnalysis,cmems-importer-service,/api/tasks/2525f215-3669-4647-baee-2839c0c9c226/executions/1520353179458/reports +DataAnalysis,cmems-importer-service,/api/tasks/38435885-0e1b-4ab6-b6ed-2b2389c478e5/executions +DataAnalysis,cmems-importer-service,/api/tasks/388839da-8289-42ea-8a31-e378d71f3d32/executions/1517925831223/reports +DataAnalysis,cmems-importer-service,/api/tasks/535f7b13-97c7-4103-96b7-d6765515328f/executions +DataAnalysis,cmems-importer-service,/api/tasks/9af3878a-5337-4427-81f4-523fc9376fd9/executions +DataAnalysis,cmems-importer-service,/api/tasks/ac376834-1ad6-4077-ad20-48a1b6a648de/executions +DataAnalysis,cmems-importer-service,/api/tasks/ac376834-1ad6-4077-ad20-48a1b6a648de/executions/1517418720174/reports +DataAnalysis,cmems-importer-service,/api/tasks/ac376834-1ad6-4077-ad20-48a1b6a648de/executions/1517917573935/reports +DataAnalysis,cmems-importer-service,/api/tasks/ac376834-1ad6-4077-ad20-48a1b6a648de/executions/1517917771189/reports +DataAnalysis,cmems-importer-service,/api/tasks/ac376834-1ad6-4077-ad20-48a1b6a648de/executions/1517925173019/reports +DataAnalysis,cmems-importer-service,/api/tasks/ac376834-1ad6-4077-ad20-48a1b6a648de/executions/1517925199947/reports +DataAnalysis,cmems-importer-service,/api/tasks/ac376834-1ad6-4077-ad20-48a1b6a648de/executions/1517925942716/reports +DataAnalysis,cmems-importer-service,/api/tasks/ac376834-1ad6-4077-ad20-48a1b6a648de/executions/1517935004195/reports +DataAnalysis,cmems-importer-service,/api/tasks/e4c50353-5ab2-41af-9c3a-85e8e9623c3f/executions +DataAnalysis,cmems-importer-service,/api/tasks/e4c50353-5ab2-41af-9c3a-85e8e9623c3f/executions/1517927593024/reports +DataAnalysis,cmems-importer-service,/api/tasks/e4c50353-5ab2-41af-9c3a-85e8e9623c3f/executions/1520353179796/reports +DataAnalysis,cmems-importer-service,/api/tasks/preview/sizes/dataset +DataAnalysis,cmems-importer-service,/rest/cmems/products +DataAnalysis,cmems-importer-service,/rest/cmems/productss +DataAnalysis,cmems-importer-service,/rest/cmems/test +DataAnalysis,cmems-importer-service,/rest/swagger.json diff --git a/src/test/resources/rules/cmems-importer-service/cmems-importer-service-OTHER.json b/src/test/resources/rules/cmems-importer-service/cmems-importer-service-OTHER.json new file mode 100644 index 0000000..022c267 --- /dev/null +++ b/src/test/resources/rules/cmems-importer-service/cmems-importer-service-OTHER.json @@ -0,0 +1,12 @@ +{ + "match": { + "serviceClassRegex": "DataAnalysis", + "serviceNameRegex": "cmems-importer-service", + "calledMethodRegex": ".*" + }, + "replace": { + "serviceClass": "DataAnalysis", + "serviceName": "cmems-importer-service", + "calledMethod": "OTHER" + } +} \ No newline at end of file diff --git a/src/test/resources/rules/dataminer-pool-manager/dataminer-pool-manager-all.csv b/src/test/resources/rules/dataminer-pool-manager/dataminer-pool-manager-all.csv index 8097a59..d579890 100644 --- a/src/test/resources/rules/dataminer-pool-manager/dataminer-pool-manager-all.csv +++ b/src/test/resources/rules/dataminer-pool-manager/dataminer-pool-manager-all.csv @@ -7,4 +7,7 @@ DataAnalysis,dataminer-pool-manager,api/algorithm/stage DataAnalysis,dataminer-pool-manager,api/log DataAnalysis,dataminer-pool-manager,api/monitor dataanalysis,dataminer-pool-manager,api/algorithm/stage -dataanalysis,dataminer-pool-manager,api/log \ No newline at end of file +dataanalysis,dataminer-pool-manager,api/log +DataAnalysis,dataminer-pool-manager,/api/algorithm/stage +DataAnalysis,dataminer-pool-manager,/api/log +DataAnalysis,dataminer-pool-manager,/api/monitor \ No newline at end of file