├── motu-web ├── .gitignore ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.ws.service.policy.prefs │ ├── org.eclipse.ltk.core.refactoring.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── .jsdtscope │ └── org.eclipse.jdt.core.prefs ├── src │ ├── test │ │ └── resources │ │ │ └── motuUser.properties │ └── main │ │ ├── webapp │ │ ├── css │ │ │ ├── motu │ │ │ │ ├── fonts │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ ├── patches │ │ │ │ │ └── patch_motu.css │ │ │ │ ├── screen │ │ │ │ │ └── images │ │ │ │ │ │ ├── loader.gif │ │ │ │ │ │ ├── puce_3.gif │ │ │ │ │ │ ├── favicon.ico │ │ │ │ │ │ ├── logo-cls.png │ │ │ │ │ │ ├── background.png │ │ │ │ │ │ ├── banner_img.jpg │ │ │ │ │ │ ├── btn-script.png │ │ │ │ │ │ ├── btn-download.png │ │ │ │ │ │ ├── ico-download.png │ │ │ │ │ │ └── ico-metadata.png │ │ │ │ └── motu.css │ │ │ ├── yaml │ │ │ │ ├── screen │ │ │ │ │ └── images │ │ │ │ │ │ ├── button_gray.png │ │ │ │ │ │ ├── button_red.png │ │ │ │ │ │ └── button_yellow.png │ │ │ │ ├── add-ons │ │ │ │ │ ├── microformats │ │ │ │ │ │ └── images │ │ │ │ │ │ │ ├── hcard.png │ │ │ │ │ │ │ ├── hcalendar.png │ │ │ │ │ │ │ ├── icon-geo.png │ │ │ │ │ │ │ ├── icon-xfn.png │ │ │ │ │ │ │ ├── icon-hatom.png │ │ │ │ │ │ │ ├── icon-haudio.png │ │ │ │ │ │ │ ├── icon-hcard.png │ │ │ │ │ │ │ ├── icon-hresume.png │ │ │ │ │ │ │ ├── icon-rel-tag.png │ │ │ │ │ │ │ ├── xfn │ │ │ │ │ │ │ ├── xfn-me.png │ │ │ │ │ │ │ ├── xfn-child.png │ │ │ │ │ │ │ ├── xfn-friend.png │ │ │ │ │ │ │ ├── xfn-parent.png │ │ │ │ │ │ │ ├── xfn-small.png │ │ │ │ │ │ │ ├── xfn-spouse.png │ │ │ │ │ │ │ ├── xfn-colleague.png │ │ │ │ │ │ │ ├── xfn-friend-met.png │ │ │ │ │ │ │ ├── xfn-sweetheart.png │ │ │ │ │ │ │ ├── xfn-colleague-met.png │ │ │ │ │ │ │ └── xfn-sweetheart-met.png │ │ │ │ │ │ │ ├── external_link.png │ │ │ │ │ │ │ ├── icon-hcalendar.png │ │ │ │ │ │ │ ├── icon-hcard-add.png │ │ │ │ │ │ │ ├── icon-hcalendar-add.png │ │ │ │ │ │ │ ├── icon-hcard-download.png │ │ │ │ │ │ │ └── icon-hcalendar-download.png │ │ │ │ │ └── rtl-support │ │ │ │ │ │ ├── core │ │ │ │ │ │ ├── slim_iehacks-rtl.css │ │ │ │ │ │ └── slim_base-rtl.css │ │ │ │ │ │ └── navigation │ │ │ │ │ │ ├── nav_slidingdoor-rtl.css │ │ │ │ │ │ └── nav_shinybuttons-rtl.css │ │ │ │ ├── navigation │ │ │ │ │ └── images │ │ │ │ │ │ ├── vlist │ │ │ │ │ │ └── square │ │ │ │ │ │ │ ├── node.gif │ │ │ │ │ │ │ ├── node_plus.gif │ │ │ │ │ │ │ ├── subnode.gif │ │ │ │ │ │ │ ├── node_minus.gif │ │ │ │ │ │ │ ├── subnode_minus.gif │ │ │ │ │ │ │ └── subnode_plus.gif │ │ │ │ │ │ ├── sliding_door │ │ │ │ │ │ └── round │ │ │ │ │ │ │ ├── bg.gif │ │ │ │ │ │ │ ├── left.png │ │ │ │ │ │ │ ├── right.png │ │ │ │ │ │ │ ├── left_on.png │ │ │ │ │ │ │ └── right_on.png │ │ │ │ │ │ └── shiny_buttons │ │ │ │ │ │ ├── background.png │ │ │ │ │ │ └── background_active.png │ │ │ │ ├── central_draft.css │ │ │ │ └── patches │ │ │ │ │ └── patch_layout_draft.css │ │ │ └── jquery-ui │ │ │ │ └── images │ │ │ │ ├── ui-icons_444444_256x240.png │ │ │ │ ├── ui-icons_555555_256x240.png │ │ │ │ ├── ui-icons_777620_256x240.png │ │ │ │ ├── ui-icons_777777_256x240.png │ │ │ │ ├── ui-icons_cc0000_256x240.png │ │ │ │ └── ui-icons_ffffff_256x240.png │ │ └── WEB-INF │ │ │ └── urlrewrite.xml │ │ ├── resources │ │ ├── velocityTemplates │ │ │ ├── exception.vm │ │ │ ├── httpError.vm │ │ │ ├── welcome.vm │ │ │ ├── transactions.vm │ │ │ └── html │ │ │ │ └── noscript.html │ │ ├── wcs │ │ │ └── tpl │ │ │ │ └── getCapabilitiesResponse-CoverageSummary.tpl.xml │ │ ├── motuVFSProvider.xml │ │ └── schema │ │ │ └── globalbinding.xjb │ │ └── java │ │ └── fr │ │ └── cls │ │ └── atoll │ │ └── motu │ │ └── web │ │ ├── usl │ │ ├── wcs │ │ │ ├── exceptions │ │ │ │ └── ActionException.java │ │ │ ├── request │ │ │ │ └── parameter │ │ │ │ │ └── exception │ │ │ │ │ └── InvalidSubsettingException.java │ │ │ ├── data │ │ │ │ ├── SubTypeCoverage.java │ │ │ │ ├── DescribeCoveragesData.java │ │ │ │ └── ExceptionData.java │ │ │ ├── IWCSRequestManager.java │ │ │ └── responses │ │ │ │ └── ExceptionBuilder.java │ │ ├── response │ │ │ └── velocity │ │ │ │ ├── model │ │ │ │ ├── ICommonService.java │ │ │ │ ├── catalog │ │ │ │ │ ├── ITimeAxis.java │ │ │ │ │ ├── IAxis.java │ │ │ │ │ ├── IDateTime.java │ │ │ │ │ ├── IDepth.java │ │ │ │ │ ├── ICatalogProduct.java │ │ │ │ │ ├── ICatalog.java │ │ │ │ │ ├── IParameterMetadata.java │ │ │ │ │ └── ICatalogProductMetaData.java │ │ │ │ └── IService.java │ │ │ │ └── IVelocityTemplateManager.java │ │ ├── user │ │ │ └── IUSLUserManager.java │ │ ├── request │ │ │ ├── parameter │ │ │ │ ├── validator │ │ │ │ │ ├── RequestIdHTTPParameterValidator.java │ │ │ │ │ ├── HttpErrorCodeHTTPParameterValidator.java │ │ │ │ │ ├── ScriptVersionHTTPParameterValidator.java │ │ │ │ │ ├── TokenHTTPParameterValidator.java │ │ │ │ │ └── LongitudeHTTPParameterValidator.java │ │ │ │ └── exception │ │ │ │ │ └── NullOrEmptyInvalidHTTPParameterException.java │ │ │ └── IUSLRequestManager.java │ │ └── IUSLManager.java │ │ ├── bll │ │ ├── config │ │ │ ├── updater │ │ │ │ └── IConfigUpdatedListener.java │ │ │ ├── IBLLQueueServerConfigManager.java │ │ │ ├── version │ │ │ │ └── IBLLVersionManager.java │ │ │ └── comparator │ │ │ │ ├── CatalogueServiceComparator.java │ │ │ │ └── ConfigServiceComparator.java │ │ ├── request │ │ │ ├── status │ │ │ │ ├── IBLLRequestStatusManager.java │ │ │ │ ├── data │ │ │ │ │ └── NormalStatus.java │ │ │ │ └── BLLRequestStatusManager.java │ │ │ ├── cleaner │ │ │ │ ├── IRequestCleaner.java │ │ │ │ └── ExtractedFileToDeleteFilter.java │ │ │ ├── queueserver │ │ │ │ └── queue │ │ │ │ │ ├── IQueueJob.java │ │ │ │ │ ├── QueueJobListener.java │ │ │ │ │ └── QueueThreadFactory.java │ │ │ └── model │ │ │ │ └── ProductResult.java │ │ ├── catalog │ │ │ ├── product │ │ │ │ └── cache │ │ │ │ │ ├── ICatalogCache.java │ │ │ │ │ ├── IProductCache.java │ │ │ │ │ ├── CatalogCache.java │ │ │ │ │ ├── ICatalogAndProductCacheManager.java │ │ │ │ │ └── CacheRefreshSchedulerWaitingListAppenderThread.java │ │ │ └── IBLLCatalogManager.java │ │ ├── users │ │ │ ├── IBLLUserManager.java │ │ │ └── BLLUserManager.java │ │ ├── exception │ │ │ └── NotEnoughSpaceException.java │ │ ├── messageserror │ │ │ ├── BLLMessagesErrorManager.java │ │ │ └── IBLLMessagesErrorManager.java │ │ └── IBLLManager.java │ │ ├── dal │ │ ├── users │ │ │ └── IDALUserManager.java │ │ ├── config │ │ │ ├── version │ │ │ │ └── IDALVersionManager.java │ │ │ ├── watcher │ │ │ │ └── ConfigWatcherThread.java │ │ │ ├── IDALConfigManager.java │ │ │ └── MotuConfigJAXB.java │ │ ├── catalog │ │ │ ├── product │ │ │ │ └── IDALProductManager.java │ │ │ ├── IDALCatalogManager.java │ │ │ ├── file │ │ │ │ └── CatalogueOLAJAXB.java │ │ │ └── AbstractCatalogLoader.java │ │ ├── request │ │ │ └── status │ │ │ │ └── IDALRequestStatusManager.java │ │ ├── messageserror │ │ │ └── IDALMessagesErrorManager.java │ │ ├── IDALManager.java │ │ └── tds │ │ │ ├── opendap │ │ │ └── model │ │ │ │ └── package-info.java │ │ │ └── ncss │ │ │ └── model │ │ │ └── package-info.java │ │ └── common │ │ └── utils │ │ ├── URLUtils.java │ │ ├── ListUtils.java │ │ ├── TimeUtils.java │ │ ├── ProcessOutputLogguer.java │ │ └── ReaderThread.java └── .externalToolBuilders │ ├── org.eclipse.wst.validation.validationbuilder.launch │ ├── org.eclipse.wst.jsdt.core.javascriptValidator.launch │ └── org.eclipse.wst.common.project.facet.core.builder.launch ├── motu-products ├── .gitignore ├── src │ └── main │ │ ├── docker │ │ ├── bin │ │ │ ├── cdo.sh │ │ │ └── ld.so.conf │ │ └── docker-entrypoint.d │ │ │ └── 00-init-catalina-opts.sh │ │ ├── scripts │ │ └── cdo-group │ │ │ └── cdo.sh │ │ └── assembly │ │ ├── delivery.xml │ │ └── delivery-cots.xml └── .project ├── motu-scripts ├── .gitignore ├── .project ├── src │ └── main │ │ ├── assembly │ │ └── delivery.xml │ │ └── scripts │ │ └── bin │ │ └── tomcatMetrics │ │ ├── countNbRqtFor1ActionFromTomcatLogs.sh │ │ └── countNbRqtForAllActionsFromTomcatLogs.sh └── pom.xml ├── motu-api-message ├── .gitignore ├── .settings │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.common.component │ └── org.eclipse.jdt.core.prefs ├── src │ └── main │ │ ├── schema │ │ └── XmlMessageModel.xjb │ │ └── java │ │ └── fr │ │ └── cls │ │ └── atoll │ │ └── motu │ │ └── api │ │ └── message │ │ └── MotuMsgConstant.java ├── .externalToolBuilders │ ├── org.eclipse.wst.validation.validationbuilder (3).launch │ └── org.eclipse.wst.common.project.facet.core.builder (3).launch ├── pom.xml ├── .classpath └── .project ├── motu-library-cas ├── .gitignore ├── .settings │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.common.component │ └── org.eclipse.jdt.core.prefs ├── .checkstyle ├── .externalToolBuilders │ ├── org.eclipse.wst.validation.validationbuilder.launch │ └── org.eclipse.wst.common.project.facet.core.builder.launch ├── .project ├── .classpath ├── pom.xml └── src │ └── main │ └── java │ └── fr │ └── cls │ └── atoll │ └── motu │ └── library │ └── cas │ └── util │ └── HttpUtil.java ├── motu-library-converter ├── .gitignore ├── .settings │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.common.component │ └── org.eclipse.jdt.core.prefs ├── .externalToolBuilders │ ├── org.eclipse.wst.validation.validationbuilder (5).launch │ └── org.eclipse.wst.common.project.facet.core.builder (5).launch ├── .classpath ├── .project └── pom.xml ├── motu-library-inventory ├── .gitignore ├── .settings │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.wst.common.component │ └── org.eclipse.jdt.core.prefs ├── .externalToolBuilders │ ├── org.eclipse.wst.validation.validationbuilder (6).launch │ └── org.eclipse.wst.common.project.facet.core.builder (6).launch ├── src │ └── main │ │ ├── java │ │ └── fr │ │ │ └── cls │ │ │ └── atoll │ │ │ └── motu │ │ │ └── library │ │ │ └── inventory │ │ │ └── package-info.java │ │ └── resources │ │ └── fr │ │ └── cls │ │ └── atoll │ │ └── motu │ │ └── library │ │ └── inventory │ │ └── globalbinding.xjb ├── .project └── .classpath ├── motu-distribution ├── .gitignore ├── src │ └── main │ │ ├── configuration │ │ ├── dir-structure │ │ │ ├── log │ │ │ │ └── .gitkeep │ │ │ ├── pid │ │ │ │ └── .gitkeep │ │ │ ├── config │ │ │ │ └── .gitkeep │ │ │ ├── products │ │ │ │ └── .gitkeep │ │ │ ├── tomcat-motu │ │ │ │ ├── conf │ │ │ │ │ └── .gitkeep │ │ │ │ ├── logs │ │ │ │ │ └── .gitkeep │ │ │ │ ├── temp │ │ │ │ │ └── .gitkeep │ │ │ │ ├── webapps │ │ │ │ │ └── .gitkeep │ │ │ │ └── work │ │ │ │ │ └── .gitkeep │ │ │ ├── config_default │ │ │ │ ├── security │ │ │ │ │ └── .gitkeep │ │ │ │ └── version-configuration.txt │ │ │ ├── data │ │ │ │ └── public │ │ │ │ │ ├── download │ │ │ │ │ └── .gitkeep │ │ │ │ │ ├── inventories │ │ │ │ │ └── .gitkeep │ │ │ │ │ ├── static-files │ │ │ │ │ └── .gitkeep │ │ │ │ │ └── transaction │ │ │ │ │ └── .gitkeep │ │ │ └── version-distribution.txt │ │ └── Build-distribution-procedure.txt │ │ └── docker │ │ └── bin │ │ ├── catalina-run.sh │ │ └── docker-entrypoint.sh ├── .settings │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.m2e.core.prefs ├── .project └── buildConfig.properties ├── motu-products-distrib ├── .gitignore ├── .settings │ ├── org.eclipse.m2e.core.prefs │ └── org.eclipse.jdt.core.prefs ├── README.md ├── .classpath ├── pom.xml └── .project ├── motu-parent ├── .gitignore ├── .settings │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.m2e.core.prefs ├── src │ └── doc │ │ ├── downwloading1point.png │ │ ├── softwareArchitecture.docx │ │ ├── softwareArchitecture.png │ │ └── softwareArchitectureScalability.png ├── .project ├── Motu-RemoteDebugQt.launch ├── Motu-RemoteDebugQt-globalLand.launch ├── Motu-RemoteDebugQt-jenkins.launch ├── Motu-RemoteDebugQt-validation.launch └── Motu-ddo-cls.vlandata.cls.fr - motu-datastore.cls.fr.launch ├── .gitignore ├── ant-gitflow.properties ├── motu-api-rest ├── .gitignore ├── .settings │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── .project ├── .classpath ├── pom.xml └── src │ └── test │ └── resources │ └── log4j.xml ├── ci ├── settings-security.xml ├── .project ├── toolchains.xml ├── get-version.sh └── docker │ └── build-image │ └── Dockerfile ├── .project ├── motu-cots ├── .project ├── src │ └── main │ │ ├── scripts │ │ └── cots-versions.sh │ │ └── assembly │ │ └── delivery.xml └── pom.xml ├── sonar-project.properties └── motu-nginx ├── src └── main │ └── docker │ ├── nginx-frontal.conf.template │ ├── bin │ └── docker-entrypoint.sh │ └── Dockerfile ├── .project ├── .classpath └── pom.xml /motu-web/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /motu-products/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /motu-scripts/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /motu-api-message/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /motu-library-cas/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /motu-library-converter/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /motu-library-inventory/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /motu-distribution/.gitignore: -------------------------------------------------------------------------------- 1 | /target-ant/ 2 | /target/ 3 | -------------------------------------------------------------------------------- /motu-products-distrib/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /bin/ 3 | -------------------------------------------------------------------------------- /motu-parent/.gitignore: -------------------------------------------------------------------------------- 1 | /ddo-aviso.vlandata.cls.fr.launch 2 | -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/pid/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/products/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/tomcat-motu/conf/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/tomcat-motu/logs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/tomcat-motu/temp/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/tomcat-motu/webapps/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/tomcat-motu/work/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /motu-library-misc/testWrite.nc 2 | /motu-api-rest/target 3 | /.sonar 4 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/config_default/security/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/data/public/download/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/data/public/inventories/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/data/public/static-files/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/data/public/transaction/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ant-gitflow.properties: -------------------------------------------------------------------------------- 1 | parentPomDirectory=motu-parent 2 | mvnOptions2=-DskipTests=true 3 | -------------------------------------------------------------------------------- /motu-web/src/test/resources/motuUser.properties: -------------------------------------------------------------------------------- 1 | # Authorized login and password 2 | toto=pass -------------------------------------------------------------------------------- /motu-api-rest/.gitignore: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | /bin/ 3 | ======= 4 | >>>>>>> develop 5 | /target/ 6 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/version-distribution.txt: -------------------------------------------------------------------------------- 1 | ${project.version} -------------------------------------------------------------------------------- /motu-products/src/main/docker/bin/cdo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /usr/local/bin/cdo -s --history $* 3 | exit $? -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /motu-api-message/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /motu-library-cas/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /motu-parent/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /motu-distribution/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /motu-distribution/src/main/docker/bin/catalina-run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | exec "${CATALINA_HOME}/bin/catalina.sh" run 4 | -------------------------------------------------------------------------------- /motu-library-converter/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /motu-library-inventory/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/dir-structure/config_default/version-configuration.txt: -------------------------------------------------------------------------------- 1 | ${project.version}-${build-timestamp} -------------------------------------------------------------------------------- /motu-parent/src/doc/downwloading1point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-parent/src/doc/downwloading1point.png -------------------------------------------------------------------------------- /motu-parent/src/doc/softwareArchitecture.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-parent/src/doc/softwareArchitecture.docx -------------------------------------------------------------------------------- /motu-parent/src/doc/softwareArchitecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-parent/src/doc/softwareArchitecture.png -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /motu-parent/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.wst.ws.service.policy.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.wst.ws.service.policy.projectEnabled=false 3 | -------------------------------------------------------------------------------- /motu-api-message/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /motu-distribution/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /motu-library-cas/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /motu-products/src/main/docker/bin/ld.so.conf: -------------------------------------------------------------------------------- 1 | /lib/hdf5 2 | /lib/zlib 3 | /lib/netcdf 4 | /opt/motu/products/apache-tomcat-${motu.products.tomcat.version}/lib -------------------------------------------------------------------------------- /motu-library-converter/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /motu-library-inventory/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /motu-parent/src/doc/softwareArchitectureScalability.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-parent/src/doc/softwareArchitectureScalability.png -------------------------------------------------------------------------------- /motu-products-distrib/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /ci/settings-security.xml: -------------------------------------------------------------------------------- 1 | 2 | {rqcB1znQtMUHk0PcmDYMqOMIAM+DaNObrGpyvnQsb1KbJNTVRzP+9Xf3+DlK26kk} 3 | 4 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/patches/patch_motu.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/patches/patch_motu.css -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/loader.gif -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/puce_3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/puce_3.gif -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.ltk.core.refactoring.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false 3 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/favicon.ico -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/logo-cls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/logo-cls.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/background.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/banner_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/banner_img.jpg -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/btn-script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/btn-script.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/screen/images/button_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/screen/images/button_gray.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/screen/images/button_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/screen/images/button_red.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/btn-download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/btn-download.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/ico-download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/ico-download.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/screen/images/ico-metadata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/motu/screen/images/ico-metadata.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/screen/images/button_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/screen/images/button_yellow.png -------------------------------------------------------------------------------- /motu-api-message/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /motu-library-cas/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /motu-library-converter/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_777620_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_777620_256x240.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_cc0000_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_cc0000_256x240.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/jquery-ui/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/hcard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/hcard.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/node.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/node.gif -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/hcalendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/hcalendar.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-geo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-geo.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-xfn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-xfn.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hatom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hatom.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-haudio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-haudio.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcard.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hresume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hresume.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-rel-tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-rel-tag.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-me.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/bg.gif -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/node_plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/node_plus.gif -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/subnode.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/subnode.gif -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/external_link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/external_link.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcalendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcalendar.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcard-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcard-add.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-child.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-child.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-friend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-friend.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-parent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-parent.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-small.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-spouse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-spouse.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/shiny_buttons/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/shiny_buttons/background.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/left.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/right.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/node_minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/node_minus.gif -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-colleague.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-colleague.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/left_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/left_on.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/right_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/sliding_door/round/right_on.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/subnode_minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/subnode_minus.gif -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/subnode_plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/vlist/square/subnode_plus.gif -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcalendar-add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcalendar-add.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcard-download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcard-download.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-friend-met.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-friend-met.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-sweetheart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-sweetheart.png -------------------------------------------------------------------------------- /motu-api-rest/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding//src/test/resources=UTF-8 5 | encoding/=UTF-8 6 | -------------------------------------------------------------------------------- /motu-web/src/main/resources/velocityTemplates/exception.vm: -------------------------------------------------------------------------------- 1 | ## Template used to manage server Exception, @See /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/USLRequestManager.java#writeErrorMessage 2 | 3 | $message -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-colleague-met.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-colleague-met.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-sweetheart-met.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/xfn/xfn-sweetheart-met.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/navigation/images/shiny_buttons/background_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/navigation/images/shiny_buttons/background_active.png -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcalendar-download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clstoulouse/motu/HEAD/motu-web/src/main/webapp/css/yaml/add-ons/microformats/images/icon-hcalendar-download.png -------------------------------------------------------------------------------- /motu-api-message/src/main/schema/XmlMessageModel.xjb: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /motu-library-inventory/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding/=UTF-8 6 | -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding//src/test/resources=UTF-8 6 | encoding/=UTF-8 7 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | git_motu 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ci/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ci 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /motu-cots/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-cots 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /motu-scripts/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-scripts 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /motu-products/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-products 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/wcs/exceptions/ActionException.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.wcs.exceptions; 2 | 3 | public class ActionException extends Exception { 4 | 5 | public ActionException(Throwable cause) { 6 | super(cause); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /motu-api-message/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /motu-library-cas/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /motu-library-converter/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /motu-library-inventory/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /motu-web/src/main/resources/wcs/tpl/getCapabilitiesResponse-CoverageSummary.tpl.xml: -------------------------------------------------------------------------------- 1 | 2 | @@CoverageId@@ 3 | @@CoverageSubtype@@ 4 | 5 | -------------------------------------------------------------------------------- /motu-products-distrib/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 5 | org.eclipse.jdt.core.compiler.source=1.5 6 | -------------------------------------------------------------------------------- /sonar-project.properties: -------------------------------------------------------------------------------- 1 | sonar.projectKey=motu 2 | 3 | sonar.projectName=motu 4 | sonar.projectVersion=3.12.00-SNAPSHOT 5 | 6 | sonar.sources=. 7 | sonar.java.binaries=. 8 | 9 | sonar.sourceEncoding=UTF-8 10 | 11 | sonar.exclusions=**/target/**,**/bin/**,**/.settings/**,**/.externalToolBuilders/** -------------------------------------------------------------------------------- /motu-api-message/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /motu-library-cas/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/rtl-support/core/slim_iehacks-rtl.css: -------------------------------------------------------------------------------- 1 | /* "Yet Another Multicolumn Layout" v3.2 (c) by Alexander Hass, Dirk Jesse (http://www.yaml.de) 2 | * $Revision: 466 $ $Date: 2010-09-14 21:19:30 +0200 (Di, 14 Sep 2010) $ */ 3 | @media all 4 | { 5 | #nav{direction:ltr} 6 | #nav *{direction:rtl} 7 | } -------------------------------------------------------------------------------- /motu-library-converter/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /motu-library-cas/.checkstyle: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-library-inventory/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ci/toolchains.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | jdk 6 | 7 | 1.8 8 | openjdk 9 | 10 | 11 | /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64/jre 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/config/updater/IConfigUpdatedListener.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.config.updater; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | import fr.cls.atoll.motu.web.dal.config.xml.model.MotuConfig; 5 | 6 | public interface IConfigUpdatedListener { 7 | 8 | void onMotuConfigUpdated(MotuConfig newMotuConfig) throws MotuException; 9 | } 10 | -------------------------------------------------------------------------------- /motu-nginx/src/main/docker/nginx-frontal.conf.template: -------------------------------------------------------------------------------- 1 | server { 2 | listen ${NGINX_PORT}; 3 | 4 | location ~ ${MOTU_DOWNLOAD_PATH}/(?(?:[^/]+/)*)(?[^/]+)/* { 5 | root /var/www; 6 | add_header Content-Disposition 'attachment; filename="$file"'; 7 | try_files /$folders$file =404; 8 | } 9 | 10 | location ${MOTU_PATH} { 11 | proxy_pass ${MOTU_URL}${MOTU_PATH}; 12 | } 13 | } -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/status/IBLLRequestStatusManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.status; 2 | 3 | import java.util.Map; 4 | import java.util.Set; 5 | 6 | import fr.cls.atoll.motu.web.bll.request.status.data.RequestStatus; 7 | 8 | public interface IBLLRequestStatusManager { 9 | 10 | Map getAllRequestStatus(); 11 | 12 | Set getAllRequestId(); 13 | } 14 | -------------------------------------------------------------------------------- /motu-parent/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-parent 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.m2e.core.maven2Builder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.m2e.core.maven2Nature 16 | 17 | 18 | -------------------------------------------------------------------------------- /motu-distribution/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-distribution 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.m2e.core.maven2Builder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.m2e.core.maven2Nature 16 | 17 | 18 | -------------------------------------------------------------------------------- /motu-products-distrib/README.md: -------------------------------------------------------------------------------- 1 | This project is only used to publish motu-products-distrib.tar.gz on Nexus. 2 | mvn deploy:deploy-file -Dfile="V:/cmems-cis/06-livraison/61-livraison-de-CLS/611-FilesUsedToBuild/motu-products-3.8.0.tar.gz" 3 | -DpomFile="pom.xml" 4 | -DrepositoryId="releases-repo" 5 | -Durl="http://mvnrepo.cls.fr:8081/nexus/content/repositories/releases" 6 | -Dpackaging=tar.gz -------------------------------------------------------------------------------- /motu-nginx/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-nginx 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.m2e.core.maven2Builder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.m2e.core.maven2Nature 16 | 17 | 18 | -------------------------------------------------------------------------------- /motu-web/src/main/resources/velocityTemplates/httpError.vm: -------------------------------------------------------------------------------- 1 | ## Used to manage HTTP errors @See web.xml / /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/actions/HttpErrorAction.java 2 | 3 | #if($httpErrorCode == "400") 4 | Access is forbidden to the desired service. 5 | #elseif($httpErrorCode == "403") 6 | Access is forbidden to the desired service. 7 | #else 8 | ## Default error message: Manage 404 http error for example 9 | The requested page was not found. 10 | #end -------------------------------------------------------------------------------- /motu-api-message/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 8 | org.eclipse.jdt.core.compiler.source=1.8 9 | -------------------------------------------------------------------------------- /motu-library-cas/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 8 | org.eclipse.jdt.core.compiler.source=1.8 9 | -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /motu-library-converter/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 8 | org.eclipse.jdt.core.compiler.source=1.8 9 | -------------------------------------------------------------------------------- /motu-library-inventory/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 8 | org.eclipse.jdt.core.compiler.source=1.8 9 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/ICommonService.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface ICommonService { 14 | 15 | String getHttpBaseRef(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/catalog/ITimeAxis.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model.catalog; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface ITimeAxis { 14 | 15 | String getName(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /ci/get-version.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | if [ -z "${CI_PROJECT_DIR}" ]; then 6 | CURRENT_DIR=$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd) 7 | CI_PROJECT_DIR=$(dirname "${CURRENT_DIR}") 8 | else 9 | CURRENT_DIR="${CI_PROJECT_DIR}/ci" 10 | fi 11 | 12 | WORKSPACE_DIR="${CI_PROJECT_DIR}" 13 | 14 | cat "${WORKSPACE_DIR}/motu-parent/pom.xml" | grep -B 1 'pom' | grep '' | sed 's/^[[:space:]]*//g' | sed 's,[[:space:]]*$,,g' -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/catalog/IAxis.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model.catalog; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface IAxis { 14 | 15 | String getName(); 16 | 17 | String getUnitsString(); 18 | } 19 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/wcs/request/parameter/exception/InvalidSubsettingException.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.wcs.request.parameter.exception; 2 | 3 | public class InvalidSubsettingException extends Exception { 4 | 5 | private String parameterName; 6 | 7 | public InvalidSubsettingException(String parameterName) { 8 | this.parameterName = parameterName; 9 | } 10 | 11 | public String getParameterName() { 12 | return parameterName; 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/status/data/NormalStatus.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.status.data; 2 | 3 | public class NormalStatus extends RequestStatus { 4 | 5 | private String parameters; 6 | 7 | public NormalStatus() { 8 | parameters = ""; 9 | } 10 | 11 | public String getParameters() { 12 | return parameters; 13 | } 14 | 15 | public void setParameters(String parameters) { 16 | this.parameters = parameters; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/catalog/IDateTime.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model.catalog; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface IDateTime { 14 | 15 | String getFromAsString(); 16 | 17 | String getToAsString(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/WEB-INF/urlrewrite.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | ^/supervision/(.*)$ 11 | /supervision/$1 12 | 13 | 14 | 15 | ^/supervision 16 | /supervision 17 | 18 | 19 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/catalog/IDepth.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model.catalog; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface IDepth { 14 | 15 | String getFromAsString(String pattern_); 16 | 17 | String getToAsString(String pattern_); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/catalog/ICatalogProduct.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model.catalog; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface ICatalogProduct { 14 | 15 | ICatalogProductMetaData getProductMetaData(); 16 | 17 | String getLocationData(); 18 | } 19 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/config/IBLLQueueServerConfigManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.config; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface IBLLQueueServerConfigManager { 14 | 15 | /** 16 | * . 17 | * 18 | * @return 19 | */ 20 | short getRequestDefaultPriority(); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/rtl-support/core/slim_base-rtl.css: -------------------------------------------------------------------------------- 1 | /* "Yet Another Multicolumn Layout" v3.2 (c) by Alexander Hass, Dirk Jesse (http://www.yaml.de) 2 | * $Revision: 469 $ $Date: 2010-09-14 23:03:27 +0200 (Di, 14 Sep 2010) $ */ 3 | @media all { 4 | option{padding:0 .4em 0 0} 5 | body{text-align:right;direction:rtl} 6 | ul,ol,dl{margin:0 1em 1em 0} 7 | li{margin-left:0;margin-right:.8em} 8 | dd{margin:0 .8em 1em 0} 9 | blockquote,cite{margin:0 .8em 1em 0} 10 | .skip,.hideme,.print,dfn{left:0} 11 | .text-ltr{direction:ltr;text-align:left} 12 | } 13 | 14 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/wcs/data/SubTypeCoverage.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.wcs.data; 2 | 3 | import javax.xml.namespace.QName; 4 | 5 | public class SubTypeCoverage { 6 | public static final String GML_NAMES_SPACE = "http://www.opengis.net/wcs/2.0"; 7 | 8 | public static final QName GRID_COVERAGE = new QName(GML_NAMES_SPACE, "GridCoverage", ""); 9 | public static final QName ABSTRACT_DISCRETE_COVERAGE = new QName(GML_NAMES_SPACE, "AbstractDiscreteCoverage", ""); 10 | public static final QName ABSTRACT_COVERAGE = new QName(GML_NAMES_SPACE, "AbstractCoverage", ""); 11 | } 12 | -------------------------------------------------------------------------------- /motu-products-distrib/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /motu-web/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /motu-web/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-web/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-library-cas/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-web/.externalToolBuilders/org.eclipse.wst.common.project.facet.core.builder.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-api-message/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder (3).launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-library-cas/.externalToolBuilders/org.eclipse.wst.common.project.facet.core.builder.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-library-converter/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder (5).launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-library-inventory/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder (6).launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-api-message/.externalToolBuilders/org.eclipse.wst.common.project.facet.core.builder (3).launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-library-inventory/src/main/java/fr/cls/atoll/motu/library/inventory/package-info.java: -------------------------------------------------------------------------------- 1 | // 2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-792 3 | // See http://java.sun.com/xml/jaxb 4 | // Any modifications to this file will be lost upon recompilation of the source schema. 5 | // Generated on: 2010.08.03 at 12:15:53 PM CEST 6 | // 7 | 8 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://purl.org/cls/atoll", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) 9 | package fr.cls.atoll.motu.library.inventory; 10 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/catalog/ICatalog.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model.catalog; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public interface ICatalog { 16 | 17 | String getTitle(); 18 | 19 | List getCatalogProductList(); 20 | 21 | List> getListProductTypeDataset(); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /motu-web/src/main/resources/motuVFSProvider.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /motu-library-converter/.externalToolBuilders/org.eclipse.wst.common.project.facet.core.builder (5).launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-library-inventory/.externalToolBuilders/org.eclipse.wst.common.project.facet.core.builder (6).launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /motu-products-distrib/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | 6 | 7 | cls-project-config 8 | cls.commons 9 | 1.2.00 10 | 11 | 12 | cls.motu 13 | motu-products-distrib 14 | 3.10.0 15 | Motu-products-distrib 16 | pom 17 | 18 | 19 | -------------------------------------------------------------------------------- /motu-web/src/main/resources/velocityTemplates/welcome.vm: -------------------------------------------------------------------------------- 1 | ## -------------------------------------------- main -------------------------------- 2 |
3 | 11 |
12 |
-------------------------------------------------------------------------------- /motu-products-distrib/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-products-distrib 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/cleaner/IRequestCleaner.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.cleaner; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface IRequestCleaner { 14 | 15 | /** 16 | * . 17 | */ 18 | void cleanJavaTempFile(); 19 | 20 | /** 21 | * . 22 | */ 23 | void cleanExtractedFile(); 24 | 25 | /** 26 | * . 27 | */ 28 | void cleanRequestStatus(); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /motu-nginx/src/main/docker/bin/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | # Set default values 5 | if [ -z ${NGINX_PORT} ]; then 6 | export NGINX_PORT=8070 7 | fi 8 | if [ -z ${MOTU_URL} ]; then 9 | export MOTU_URL=http://$(hostname):8080 10 | fi 11 | if [ -z ${MOTU_PATH} ]; then 12 | export MOTU_PATH=/motu-web 13 | fi 14 | if [ -z ${MOTU_DOWNLOAD_PATH} ]; then 15 | export MOTU_DOWNLOAD_PATH=/mis-gateway/deliveries 16 | fi 17 | 18 | envsubst '${NGINX_PORT} ${MOTU_URL} ${MOTU_PATH} ${MOTU_DOWNLOAD_PATH}' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/frontal.conf 19 | 20 | exec /usr/sbin/nginx -g 'daemon off;' || cat /etc/nginx/nginx.conf 21 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/wcs/data/DescribeCoveragesData.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.wcs.data; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | public class DescribeCoveragesData { 7 | private List coverageDescriptions; 8 | 9 | public DescribeCoveragesData() { 10 | coverageDescriptions = new ArrayList<>(); 11 | } 12 | 13 | public List getCoverageDescriptions() { 14 | return coverageDescriptions; 15 | } 16 | 17 | public void setCoverageDescriptions(List coverageDescriptions) { 18 | this.coverageDescriptions = coverageDescriptions; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /motu-distribution/src/main/docker/bin/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | run_parts() { 4 | echo "docker-entrypoint: running scripts from '${1}'..." 5 | for f in "${1}"/*; do 6 | case "$f" in 7 | *.sh) echo "docker-entrypoint: running $f"; . "$f" ;; 8 | *) echo "docker-entrypoint: ignoring $f" ;; 9 | esac 10 | echo 11 | done 12 | } 13 | 14 | if [ "$1" == "/catalina-run" ]; then 15 | if [[ -d "$ENTRYPOINTS_DIR" ]]; then 16 | run_parts "$ENTRYPOINTS_DIR" && \ 17 | echo "All entry-point scripts executed successfully" || \ 18 | exit 1 19 | fi 20 | fi 21 | 22 | if [ -z "$(ls -A $MOTU_CONFIG_DIR)" ]; then 23 | cp -r $MOTU_DEFAULT_DIR/* $MOTU_CONFIG_DIR 24 | fi 25 | 26 | exec "$@" 27 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/catalog/product/cache/ICatalogCache.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.catalog.product.cache; 2 | 3 | import java.util.Map; 4 | 5 | import fr.cls.atoll.motu.web.dal.request.netcdf.data.CatalogData; 6 | 7 | /** 8 | *
9 | *
10 | * Copyright : Copyright (c) 2016
11 | *
12 | * Société : CLS (Collecte Localisation Satellites) 13 | * 14 | * @author Pierre LACOSTE 15 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 16 | */ 17 | public interface ICatalogCache { 18 | 19 | CatalogData getCatalog(String configServiceName); 20 | 21 | void putCatalog(String configServiceName, CatalogData cd); 22 | 23 | Map getCatalogDataMap(); 24 | 25 | } 26 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/motu/motu.css: -------------------------------------------------------------------------------- 1 | /** 2 | * "Yet Another Multicolumn Layout" - (X)HTML/CSS framework 3 | * (en) central stylesheet 4 | * (de) zentrales Stylesheet 5 | * 6 | * @creator YAML Builder V1.2.1 (http://builder.yaml.de) 7 | * @file my_layout.css 8 | * @-yaml-minver 3.3 9 | * 10 | */ 11 | 12 | /* import core styles | Basis-Stylesheets einbinden */ 13 | @import url(../yaml/core/slim_base.css); 14 | 15 | /* import screen layout | Screen-Layout einbinden */ 16 | 17 | @import url(screen/basemod.css); 18 | @import url(screen/content.css); 19 | @import url(screen/header.css); 20 | @import url(screen/font-awesome.min.css); 21 | 22 | /* import print layout | Druck-Layout einbinden */ 23 | @import url(print/print_003.css); 24 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/users/IBLLUserManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.users; 2 | 3 | import java.util.Properties; 4 | 5 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 6 | 7 | /** 8 | *
9 | *
10 | * Copyright : Copyright (c) 2016
11 | *
12 | * Société : CLS (Collecte Localisation Satellites) 13 | * 14 | * @author Sylvain MARTY 15 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 16 | */ 17 | public interface IBLLUserManager { 18 | 19 | /** 20 | * . 21 | * 22 | * @return 23 | */ 24 | Properties getAuthenticationProps(); 25 | 26 | /** 27 | * . 28 | * 29 | * @throws MotuException 30 | */ 31 | void init() throws MotuException; 32 | 33 | } 34 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/users/IDALUserManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.users; 2 | 3 | import java.util.Properties; 4 | 5 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 6 | 7 | /** 8 | *
9 | *
10 | * Copyright : Copyright (c) 2016
11 | *
12 | * Société : CLS (Collecte Localisation Satellites) 13 | * 14 | * @author Sylvain MARTY 15 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 16 | */ 17 | public interface IDALUserManager { 18 | 19 | /** 20 | * . 21 | * 22 | * @return 23 | */ 24 | Properties getAuthenticationProps(); 25 | 26 | /** 27 | * . 28 | * 29 | * @throws MotuException 30 | */ 31 | void init() throws MotuException; 32 | 33 | } 34 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/exception/NotEnoughSpaceException.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.exception; 2 | 3 | import fr.cls.atoll.motu.api.message.xml.ErrorType; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Pierre LACOSTE 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public class NotEnoughSpaceException extends MotuException { 16 | 17 | private static final long serialVersionUID = -1; 18 | 19 | /** 20 | * Constructeur. 21 | * 22 | * @param message 23 | */ 24 | public NotEnoughSpaceException(String message) { 25 | super(ErrorType.SYSTEM, message); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /motu-cots/src/main/scripts/cots-versions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export MOTU_PRODUCTS_VERSION=${project.version} 4 | 5 | export APACHE_TOMCAT_VERSION=${motu.products.tomcat.version} 6 | export LIBTCNATIVE_VERSION=${project.version.libtcnative} 7 | export OPEN_JDK_VERSION=${project.version.openjdk.version} 8 | export OPEN_JDK_RELEASE=${project.version.openjdk.release} 9 | export OPEN_JDK_BUILD=${project.version.openjdk.build} 10 | export OPEN_JDK_INSTALLED_VERSION=jdk${project.version.openjdk.version}u${project.version.openjdk.release}-b${project.version.openjdk.build} 11 | 12 | export ZLIB_VERSION=${project.version.zlib} 13 | export HDF5_VERSION=${project.version.hdf5} 14 | export NETCDF_VERSION=${project.version.netcdf} 15 | export CDO_VERSION=${project.version.cdo} 16 | export GLIBC_VERSION=${project.version.glibc} -------------------------------------------------------------------------------- /motu-web/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.8 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 13 | org.eclipse.jdt.core.compiler.source=1.8 14 | -------------------------------------------------------------------------------- /motu-api-rest/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.8 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 13 | org.eclipse.jdt.core.compiler.source=1.8 14 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/catalog/IParameterMetadata.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model.catalog; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface IParameterMetadata { 14 | 15 | String getId(); 16 | 17 | String getName(); 18 | 19 | String getLabel(); 20 | 21 | String getStandardName(); 22 | 23 | String getVariableIdent(); 24 | 25 | String getUnit(); 26 | 27 | String getUnitLong(); 28 | 29 | boolean hasDimensions(); 30 | 31 | String getDimensionsAsString(); 32 | 33 | } 34 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/IService.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model; 2 | 3 | import fr.cls.atoll.motu.web.usl.response.velocity.model.catalog.ICatalog; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public interface IService extends ICommonService { 16 | 17 | String getGroup(); 18 | 19 | String getDescription(); 20 | 21 | String getNameEncoded(); 22 | 23 | String getCatalogType(); 24 | 25 | ICatalog getCatalog(); 26 | 27 | boolean isDownloadOnTop(); 28 | 29 | String getCatalogLocation(); 30 | } 31 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/catalog/product/cache/IProductCache.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.catalog.product.cache; 2 | 3 | import fr.cls.atoll.motu.web.dal.request.netcdf.data.Product; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Pierre LACOSTE 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public interface IProductCache { 16 | 17 | /** 18 | * . 19 | * 20 | * @param productId 21 | * @return 22 | */ 23 | Product getProduct(String configServiceName, String productId); 24 | 25 | void setProduct(String configServiceName, Product product); 26 | 27 | void removeProduct(String configServiceName); 28 | } 29 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/common/utils/URLUtils.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.common.utils; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public class URLUtils { 14 | 15 | public static String concatUrlPaths(String... strings) { 16 | StringBuffer sb = new StringBuffer(); 17 | for (int i = 0; i < strings.length; i++) { 18 | String s = strings[i]; 19 | sb.append(s); 20 | if (!s.endsWith("/") && i < (strings.length - 1)) { 21 | sb.append("/"); 22 | } 23 | } 24 | return sb.toString(); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/model/catalog/ICatalogProductMetaData.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity.model.catalog; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public interface ICatalogProductMetaData { 16 | 17 | String getProductTypeServiceValue(); 18 | 19 | String getProductIdEncoded(); 20 | 21 | String getTitle(); 22 | 23 | String getLastUpdate(); 24 | 25 | String getProductType(); 26 | 27 | List getProductSubTypes(); 28 | 29 | int compareSubTypes(List subTypeList); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /motu-api-rest/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-api-rest 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jem.workbench.JavaEMFNature 21 | org.eclipse.wst.common.modulecore.ModuleCoreNature 22 | org.eclipse.jdt.core.javanature 23 | org.eclipse.m2e.core.maven2Nature 24 | org.eclipse.wst.common.project.facet.core.nature 25 | 26 | 27 | -------------------------------------------------------------------------------- /motu-web/src/main/resources/velocityTemplates/transactions.vm: -------------------------------------------------------------------------------- 1 | ## -------------------------------------------- main -------------------------------- 2 | ## logTransactionList 3 | ## logFolder 4 |
5 |

Transaction account log files

6 | #if($logTransactionList.size() > 0) 7 | 8 | #foreach($log in $logTransactionList) 9 | 10 | 17 | 19 | 20 | 21 | #end 22 |
11 | #if($log.sizeInMBytes == 0) 12 | $log.fileName 13 | #else 14 | $log.fileName 15 | #end 16 | $math.roundTo(2, $log.sizeInMBytes) Mb 18 | $log.lastModifiedDate
23 | #else 24 | No log file available in folder: $logFolder 25 | #end 26 | 27 |
28 | -------------------------------------------------------------------------------- /motu-library-cas/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-library-cas 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jem.workbench.JavaEMFNature 21 | org.eclipse.wst.common.modulecore.ModuleCoreNature 22 | org.eclipse.jdt.core.javanature 23 | org.eclipse.m2e.core.maven2Nature 24 | org.eclipse.wst.common.project.facet.core.nature 25 | 26 | 27 | -------------------------------------------------------------------------------- /motu-nginx/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/status/BLLRequestStatusManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.status; 2 | 3 | import java.util.Map; 4 | import java.util.Set; 5 | 6 | import fr.cls.atoll.motu.web.bll.request.status.data.RequestStatus; 7 | import fr.cls.atoll.motu.web.dal.DALManager; 8 | 9 | public class BLLRequestStatusManager implements IBLLRequestStatusManager { 10 | 11 | public BLLRequestStatusManager() { 12 | } 13 | 14 | @Override 15 | public Map getAllRequestStatus() { 16 | return DALManager.getInstance().getRequestManager().getDalRequestStatusManager().getAllRequestStatus(); 17 | } 18 | 19 | @Override 20 | public Set getAllRequestId() { 21 | return DALManager.getInstance().getRequestManager().getDalRequestStatusManager().getAllRequestId(); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/user/IUSLUserManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.user; 2 | 3 | import javax.servlet.http.HttpServletRequest; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public interface IUSLUserManager { 16 | 17 | boolean isUserAnonymous(); 18 | 19 | String getUserName(); 20 | 21 | /** 22 | * . 23 | * 24 | * @param request_ 25 | * @return 26 | */ 27 | String getLoginOrUserHostname(HttpServletRequest request_); 28 | 29 | /** 30 | * . 31 | * 32 | * @param request 33 | * @return 34 | */ 35 | String getUserHostName(HttpServletRequest request); 36 | } 37 | -------------------------------------------------------------------------------- /motu-cots/src/main/assembly/delivery.xml: -------------------------------------------------------------------------------- 1 | 5 | delivery 6 | 7 | tar.gz 8 | 9 | 10 | / 11 | 12 | 13 | target-cots 14 | . 15 | false 16 | 0775 17 | 18 | ** 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /motu-products/src/main/scripts/cdo-group/cdo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Set the LD_LIBRARY_PATH before running CDO 4 | # 5 | 6 | cd "$(dirname "$0")" 7 | CUR_DIR=$(pwd) 8 | source "$CUR_DIR/../cots-versions.sh" 9 | 10 | HDF_DIR=$CUR_DIR/hdf5-$HDF5_VERSION-install 11 | GLIBC_DIR=$CUR_DIR/glibc-$GLIBC_VERSION-install 12 | ZLIB_DIR=$CUR_DIR/zlib-$ZLIB_VERSION-install 13 | NETCDF_DIR=$CUR_DIR/netcdf-c-$NETCDF_VERSION-install 14 | 15 | # Check if the SYSTEM GLIBC version if greater than 1.14 16 | # In this case, use the sytem GLIBC version, otherwise use the embeded one 17 | GLIBC_SYSTEM_VESION=`ldd --version | grep "2\." | cut -d. -f2` 18 | if (( $GLIBC_SYSTEM_VESION >= 15 )); then 19 | GLIBC_DIR= 20 | fi 21 | 22 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HDF_DIR/share/:$HDF_DIR/lib:$GLIBC_DIR/lib:$NETCDF_DIR/lib:$ZLIB_DIR/lib 23 | 24 | $CUR_DIR/cdo-$CDO_VERSION-install/bin/cdo -s --history $* 25 | exit $? 26 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/queueserver/queue/IQueueJob.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.queueserver.queue; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | import fr.cls.atoll.motu.web.bll.request.model.RequestProduct; 5 | 6 | /** 7 | *
8 | *
9 | * Copyright : Copyright (c) 2016
10 | *
11 | * Société : CLS (Collecte Localisation Satellites) 12 | * 13 | * @author Sylvain MARTY 14 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 15 | */ 16 | public interface IQueueJob extends Runnable { 17 | 18 | /** 19 | * . 20 | * 21 | * @param e 22 | */ 23 | void onJobException(MotuException e); 24 | 25 | /** 26 | * . 27 | */ 28 | void stop(); 29 | 30 | /** 31 | * . 32 | * 33 | * @return 34 | */ 35 | RequestProduct getRequestProduct(); 36 | } 37 | -------------------------------------------------------------------------------- /motu-products/src/main/docker/docker-entrypoint.d/00-init-catalina-opts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ########################################### 4 | ### COMMON 5 | ########################################### 6 | 7 | __addCatalinaOpt() { 8 | if [ -n "$CATALINA_OPTS" ]; then 9 | export CATALINA_OPTS="$CATALINA_OPTS $1" 10 | else 11 | export CATALINA_OPTS="$1" 12 | fi 13 | } 14 | 15 | ########################################### 16 | ### MAIN 17 | ########################################### 18 | 19 | if [ "${JMX_ENABLED}" == "true" ]; then 20 | __addCatalinaOpt "-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=$JVM_PORT_JMX -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" 21 | fi 22 | if [ "${DEBUG_ENABLED}" == "true" ]; then 23 | __addCatalinaOpt "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=$JVM_ADDRESS_DEBUG" 24 | fi -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/queueserver/queue/QueueJobListener.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.queueserver.queue; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public interface QueueJobListener { 16 | 17 | /** 18 | * . 19 | * 20 | * @throws MotuException 21 | */ 22 | void onJobStarted() throws MotuException; 23 | 24 | /** 25 | * . 26 | */ 27 | public void onJobStopped(); 28 | 29 | /** 30 | * . 31 | * 32 | * @param e 33 | */ 34 | void onJobException(MotuException e); 35 | 36 | boolean isJobEnded(); 37 | 38 | } 39 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/config/version/IDALVersionManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.config.version; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public interface IDALVersionManager { 16 | 17 | /** 18 | * . 19 | * 20 | * @return 21 | * @throws MotuException 22 | */ 23 | String getDistributionVersion() throws MotuException; 24 | 25 | /** 26 | * . 27 | * 28 | * @return 29 | */ 30 | String getConfigurationVersion() throws MotuException; 31 | 32 | /** 33 | * . 34 | * 35 | * @return 36 | */ 37 | String getProductsVersion() throws MotuException; 38 | } 39 | -------------------------------------------------------------------------------- /motu-web/src/main/resources/schema/globalbinding.xjb: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 9 | 11 | 13 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/config/version/IBLLVersionManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.config.version; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public interface IBLLVersionManager { 14 | 15 | /** 16 | * . 17 | * 18 | * @return 19 | */ 20 | String getDistributionVersion(); 21 | 22 | /** 23 | * . 24 | * 25 | * @return 26 | */ 27 | String getConfigurationVersion(); 28 | 29 | /** 30 | * . 31 | * 32 | * @return 33 | */ 34 | String getProductsVersion(); 35 | 36 | /** 37 | * . 38 | */ 39 | void init(); 40 | 41 | /** 42 | * . 43 | * 44 | * @return 45 | */ 46 | String getStaticFilesVersion(); 47 | 48 | } 49 | -------------------------------------------------------------------------------- /motu-library-inventory/src/main/resources/fr/cls/atoll/motu/library/inventory/globalbinding.xjb: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 9 | 11 | 13 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /motu-scripts/src/main/assembly/delivery.xml: -------------------------------------------------------------------------------- 1 | 5 | delivery 6 | 7 | tar.gz 8 | 9 | 10 | / 11 | 12 | 13 | src/main/scripts 14 | / 15 | false 16 | 17 | 0764 18 | 0775 19 | unix 20 | 21 | ** 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/wcs/IWCSRequestManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.wcs; 2 | 3 | import javax.servlet.http.HttpServletRequest; 4 | import javax.servlet.http.HttpServletResponse; 5 | 6 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 7 | import fr.cls.atoll.motu.web.usl.request.parameter.exception.InvalidHTTPParameterException; 8 | 9 | /** 10 | *
11 | *
12 | * Copyright : Copyright (c) 2016
13 | *
14 | * Société : CLS (Collecte Localisation Satellites) 15 | * 16 | * @author Sylvain MARTY 17 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 18 | */ 19 | public interface IWCSRequestManager { 20 | 21 | /** 22 | * . 23 | * 24 | * @param request 25 | * @param response 26 | * @throws InvalidHTTPParameterException 27 | * @throws MotuException 28 | */ 29 | void onNewRequest(HttpServletRequest request, HttpServletResponse response) throws MotuException, InvalidHTTPParameterException; 30 | 31 | } 32 | -------------------------------------------------------------------------------- /motu-products/src/main/assembly/delivery.xml: -------------------------------------------------------------------------------- 1 | 5 | delivery 6 | 7 | tar.gz 8 | 9 | 10 | / 11 | 12 | 13 | src/main/scripts 14 | /motu/products 15 | false 16 | 17 | 0764 18 | 0775 19 | unix 20 | 21 | ** 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/wcs/data/ExceptionData.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.wcs.data; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | public class ExceptionData { 7 | 8 | private String errorCode; 9 | private List errorMessage; 10 | private String locator; 11 | 12 | public ExceptionData() { 13 | errorCode = ""; 14 | errorMessage = new ArrayList<>(); 15 | } 16 | 17 | public String getErrorCode() { 18 | return errorCode; 19 | } 20 | 21 | public void setErrorCode(String errorCode) { 22 | this.errorCode = errorCode; 23 | } 24 | 25 | public List getErrorMessage() { 26 | return errorMessage; 27 | } 28 | 29 | public void setErrorMessage(List errorMessage) { 30 | this.errorMessage = errorMessage; 31 | } 32 | 33 | public String getLocator() { 34 | return locator; 35 | } 36 | 37 | public void setLocator(String locator) { 38 | this.locator = locator; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/users/BLLUserManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.users; 2 | 3 | import java.util.Properties; 4 | 5 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 6 | import fr.cls.atoll.motu.web.dal.DALManager; 7 | import fr.cls.atoll.motu.web.dal.users.IDALUserManager; 8 | 9 | /** 10 | *
11 | *
12 | * Copyright : Copyright (c) 2016
13 | *
14 | * Société : CLS (Collecte Localisation Satellites) 15 | * 16 | * @author Sylvain MARTY 17 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 18 | */ 19 | public class BLLUserManager implements IBLLUserManager { 20 | 21 | private IDALUserManager dalUserManager; 22 | 23 | public BLLUserManager() { 24 | dalUserManager = DALManager.getInstance().getUserManager(); 25 | } 26 | 27 | @Override 28 | public void init() throws MotuException { 29 | dalUserManager.init(); 30 | } 31 | 32 | @Override 33 | public Properties getAuthenticationProps() { 34 | return dalUserManager.getAuthenticationProps(); 35 | } 36 | 37 | } -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/central_draft.css: -------------------------------------------------------------------------------- 1 | /** 2 | * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework 3 | * 4 | * (en) draft for a central stylesheet 5 | * (de) Vorlage für ein zentrales Stylesheets 6 | * 7 | * @copyright Copyright 2005-2010, Dirk Jesse 8 | * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/), 9 | * YAML-C (http://www.yaml.de/en/license/license-conditions.html) 10 | * @link http://www.yaml.de 11 | * @package yaml 12 | * @version 3.3 13 | * @revision $Revision: 466 $ 14 | * @lastmodified $Date: 2010-09-14 21:19:30 +0200 (Di, 14 Sep 2010) $ 15 | */ 16 | 17 | /* import core styles | Basis-Stylesheets einbinden */ 18 | @import url(/yaml/core/base.css); 19 | 20 | /* import screen layout | Screen-Layout einbinden */ 21 | /* @import url(/yaml/navigation/nav_shinybuttons.css); 22 | @import url(/css/screen/basemod.css); 23 | @import url(/css/screen/content.css); */ 24 | 25 | /* import print layout | Druck-Layout einbinden */ 26 | /* @import url(/css/print/print_003.css); */ -------------------------------------------------------------------------------- /motu-scripts/src/main/scripts/bin/tomcatMetrics/countNbRqtFor1ActionFromTomcatLogs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Count in tomcat Motu logs 3 | #$1=productdownload|getreqstatus|productdownloadhome|... 4 | #$2=2018-09-18 5 | 6 | cd "$(dirname "$0")" 7 | MOTU_INSTALL_DIR=$(pwd)/../.. 8 | 9 | SEARCH_ACTION=$1 10 | FILE_NAME_PREFIX=localhost_access_log.. 11 | FILE_NAME=$FILE_NAME_PREFIX$2.txt 12 | 13 | TOMCAT_FILE_PATH="$MOTU_INSTALL_DIR/tomcat-motu/logs/$FILE_NAME" 14 | if [ -f $TOMCAT_FILE_PATH ]; then 15 | nbCurAction=`grep "action=" $TOMCAT_FILE_PATH | sed -E 's/action/@/g' | cut -d'@' -f 2 | cut -d'&' -f 1 | cut -c 2- | sort | grep -i "$SEARCH_ACTION" | wc -l` 16 | if [ "$SEARCH_ACTION" == "root" ]; then 17 | nbCurAction=`grep "/Motu " $TOMCAT_FILE_PATH | wc -l` 18 | fi 19 | total=$((nbCurAction + nbDefault)) 20 | echo $total 21 | else 22 | echo "ERROR: File $TOMCAT_FILE_PATH does not exists." 23 | echo 24 | echo 25 | echo "Check: ls -al $MOTU_INSTALL_DIR/tomcat-motu/logs/ | grep $FILE_NAME_PREFIX" 26 | ls -al $MOTU_INSTALL_DIR/tomcat-motu/logs/ | grep $FILE_NAME_PREFIX 27 | echo 28 | exit 1 29 | fi 30 | 31 | -------------------------------------------------------------------------------- /ci/docker/build-image/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM registry-ext.cls.fr:443/docker-cls/os/centos7:20200502 2 | 3 | # This is introduced as a workaround for : https://github.com/fabric8io/docker-maven-plugin/issues/894 4 | ENV DOCKER_JAVA_HOME /docker-java-home 5 | 6 | ENV OPENJDK_VERSION=1.8.0 7 | 8 | ENV PACKAGE_NAME java-${OPENJDK_VERSION}-openjdk 9 | ENV JAVA_HOME ${DOCKER_JAVA_HOME} 10 | 11 | RUN wget https://get.docker.com/ -O script.sh && \ 12 | chmod +x script.sh && \ 13 | ./script.sh && \ 14 | rm ./script.sh && \ 15 | yum update -y && \ 16 | yum install -y unzip && \ 17 | yum install -y rpm && \ 18 | yum install -y cpio && \ 19 | yum install -y make && \ 20 | yum install -y gcc && \ 21 | yum install -y gcc-c++ && \ 22 | yum install -y m4 && \ 23 | yum install -y ${PACKAGE_NAME} && \ 24 | yum install -y dnf && \ 25 | dnf install -y maven && \ 26 | yum clean all && \ 27 | rm -rf /var/cache/yum && \ 28 | find /tmp /var/tmp /run /var/log -mindepth 1 -delete -print && \ 29 | ln -svT $(readlink -f /usr/bin/java | sed "s:/bin/java::") "${DOCKER_JAVA_HOME}" && \ 30 | dnf clean all -------------------------------------------------------------------------------- /motu-distribution/buildConfig.properties: -------------------------------------------------------------------------------- 1 | # Specific configuration parameters used to ease the distribution of all Motu files in an industrial context 2 | # If you just want to build Motu, you can compile the project and deploy the motu-web/target/motu-web-X.Y.Z.war on a Java application server 3 | # It contains all the default configuration files. 4 | 5 | 6 | ### motu-products-A.B.tar.gz is an archive file which contains Java, Apache and CDO tools zip in a same file 7 | #The version A.B written in motu-products-A.B.tar.gz 8 | products.version=3.12.00 9 | 10 | 11 | # This path contains 2 sub-folders motu-config and motu-web-static-files 12 | # It is used to build specific configuration files for a specific client and platform 13 | motu-config.dir=../../motu-config 14 | 15 | 16 | # This path contains directly the motu client src folder, this is the folder which is a clone of the git repository 17 | motu-client-python.dir=../../motu-client-python 18 | 19 | 20 | # Set JAVA HOME for your build platform, let the default value for the other platform 21 | JAVA_HOME_UNIX=/usr/lib/jvm/jdk1.8.0_112 22 | JAVA_HOME_WIN=C:/dvlt/java/jdk/jdk8u252-b09 23 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/parameter/validator/RequestIdHTTPParameterValidator.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.request.parameter.validator; 2 | 3 | import fr.cls.atoll.motu.web.usl.request.parameter.exception.InvalidHTTPParameterException; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public class RequestIdHTTPParameterValidator extends AbstractHTTPParameterValidator { 16 | 17 | public RequestIdHTTPParameterValidator(String parameterName_, String parameterValue_) { 18 | super(parameterName_, parameterValue_); 19 | } 20 | 21 | /** 22 | * . 23 | * 24 | */ 25 | @Override 26 | public String onValidateAction() throws InvalidHTTPParameterException { 27 | return getParameterValue(); 28 | } 29 | 30 | @Override 31 | protected String getParameterBoundaries() { 32 | return "[1;" + Long.MAX_VALUE + "]"; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/catalog/product/cache/CatalogCache.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.catalog.product.cache; 2 | 3 | import java.util.HashMap; 4 | import java.util.Map; 5 | 6 | import org.apache.commons.collections.MapUtils; 7 | 8 | import fr.cls.atoll.motu.web.dal.request.netcdf.data.CatalogData; 9 | 10 | public class CatalogCache implements ICatalogCache { 11 | 12 | /** 13 | * Key is the catalog service name 14 | */ 15 | private Map catalogDataMap; 16 | 17 | public CatalogCache() { 18 | catalogDataMap = new HashMap<>(); 19 | MapUtils.synchronizedMap(catalogDataMap); 20 | } 21 | 22 | @Override 23 | public void putCatalog(String configServiceName, CatalogData cd) { 24 | catalogDataMap.put(configServiceName, cd); 25 | } 26 | 27 | @Override 28 | public CatalogData getCatalog(String configServiceName) { 29 | return catalogDataMap.get(configServiceName); 30 | } 31 | 32 | @Override 33 | public Map getCatalogDataMap() { 34 | return catalogDataMap; 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/catalog/product/IDALProductManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.catalog.product; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | import fr.cls.atoll.motu.web.bll.exception.MotuExceptionBase; 5 | import fr.cls.atoll.motu.web.bll.request.model.RequestProduct; 6 | import fr.cls.atoll.motu.web.dal.request.netcdf.metadata.ProductMetaData; 7 | 8 | /** 9 | *
10 | *
11 | * Copyright : Copyright (c) 2016
12 | *
13 | * Société : CLS (Collecte Localisation Satellites) 14 | * 15 | * @author Sylvain MARTY 16 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 17 | */ 18 | public interface IDALProductManager { 19 | 20 | /** 21 | * Retrieve the Size of the provided Product. 22 | * 23 | * @return The size of the product into megabyte 24 | * @throws MotuExceptionBase 25 | */ 26 | double getProductDataSizeRequestInMegabyte(RequestProduct rp) throws MotuException; 27 | 28 | ProductMetaData updateMetadata(String catalogType, String productId, String locationData, ProductMetaData pmd) throws MotuException; 29 | } 30 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/common/utils/ListUtils.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.common.utils; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public class ListUtils { 16 | 17 | private ListUtils() { 18 | } 19 | 20 | public static boolean isNullOrEmpty(List value) { 21 | return value == null || value.isEmpty(); 22 | } 23 | 24 | public static double[] findMinMax(List dArList) { 25 | double min = Double.MAX_VALUE; 26 | double max = Double.MIN_VALUE; 27 | for (double[] latValues : dArList) { 28 | for (double value : latValues) { 29 | if (value < min) { 30 | min = value; 31 | } else if (value > max) { 32 | max = value; 33 | } 34 | } 35 | 36 | } 37 | return new double[] { min, max }; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/IUSLManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | import fr.cls.atoll.motu.web.usl.request.IUSLRequestManager; 5 | import fr.cls.atoll.motu.web.usl.user.IUSLUserManager; 6 | import fr.cls.atoll.motu.web.usl.wcs.IWCSRequestManager; 7 | 8 | /** 9 | *
10 | *
11 | * Copyright : Copyright (c) 2016
12 | *
13 | * Société : CLS (Collecte Localisation Satellites) 14 | * 15 | * @author Sylvain MARTY 16 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 17 | */ 18 | public interface IUSLManager { 19 | 20 | /** 21 | * . 22 | * 23 | * @throws Exception 24 | */ 25 | void init() throws MotuException; 26 | 27 | /** 28 | * . 29 | * 30 | * @return 31 | */ 32 | IUSLUserManager getUserManager(); 33 | 34 | /** 35 | * . 36 | * 37 | * @return 38 | */ 39 | IUSLRequestManager getRequestManager(); 40 | 41 | /** 42 | * . 43 | * 44 | * @return 45 | */ 46 | IWCSRequestManager getWCSRequestManager(); 47 | 48 | } 49 | -------------------------------------------------------------------------------- /motu-parent/Motu-RemoteDebugQt.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /motu-parent/Motu-RemoteDebugQt-globalLand.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /motu-parent/Motu-RemoteDebugQt-jenkins.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /motu-parent/Motu-RemoteDebugQt-validation.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/catalog/IDALCatalogManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.catalog; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | import fr.cls.atoll.motu.web.dal.catalog.product.IDALProductManager; 5 | import fr.cls.atoll.motu.web.dal.config.xml.model.ConfigService; 6 | import fr.cls.atoll.motu.web.dal.request.netcdf.data.CatalogData; 7 | 8 | /** 9 | *
10 | *
11 | * Copyright : Copyright (c) 2016
12 | *
13 | * Société : CLS (Collecte Localisation Satellites) 14 | * 15 | * @author Sylvain MARTY 16 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 17 | */ 18 | public interface IDALCatalogManager { 19 | 20 | /** 21 | * . 22 | * 23 | * @param cs 24 | * @return 25 | * @throws MotuException 26 | */ 27 | CatalogData getCatalogData(ConfigService cs) throws MotuException; 28 | 29 | /** 30 | * . 31 | * 32 | * @throws MotuException 33 | */ 34 | void init() throws MotuException; 35 | 36 | /** 37 | * . 38 | * 39 | * @return 40 | */ 41 | IDALProductManager getProductManager(); 42 | 43 | } 44 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/request/status/IDALRequestStatusManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.request.status; 2 | 3 | import java.util.Map; 4 | import java.util.Set; 5 | 6 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 7 | import fr.cls.atoll.motu.web.bll.request.status.data.DownloadStatus; 8 | import fr.cls.atoll.motu.web.bll.request.status.data.RequestStatus; 9 | import fr.cls.atoll.motu.web.dal.config.xml.model.MotuConfig; 10 | 11 | public interface IDALRequestStatusManager { 12 | 13 | void init() throws MotuException; 14 | 15 | RequestStatus getRequestStatus(String requestId); 16 | 17 | String addNewRequestStatus(RequestStatus request) throws MotuException; 18 | 19 | boolean updateRequestStatus(RequestStatus request); 20 | 21 | Map getAllRequestStatus(); 22 | 23 | Map getDownloadRequestStatus(); 24 | 25 | Set getAllRequestId(); 26 | 27 | boolean removeRequestStatus(String requestId); 28 | 29 | void onMotuConfigUpdate(MotuConfig newMotuConfig) throws MotuException; 30 | 31 | long[] getPendingAndInProgressDownloadRequestNumber(); 32 | } 33 | -------------------------------------------------------------------------------- /motu-parent/Motu-ddo-cls.vlandata.cls.fr - motu-datastore.cls.fr.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /motu-web/src/main/resources/velocityTemplates/html/noscript.html: -------------------------------------------------------------------------------- 1 | 22 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/config/comparator/CatalogueServiceComparator.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.config.comparator; 2 | 3 | import java.util.Comparator; 4 | 5 | import fr.cls.atoll.motu.web.dal.config.xml.model.CatalogService; 6 | 7 | public class CatalogueServiceComparator implements Comparator { 8 | 9 | @Override 10 | public int compare(CatalogService o1, CatalogService o2) { 11 | int compareRes = 0; 12 | if (o1 != null && o2 != null) { 13 | if (o1.getName() != null && !o1.getName().equals(o2.getName())) { 14 | compareRes = 2; 15 | } 16 | if (o1.getNcss() != null && !o1.getNcss().equals(o2.getNcss())) { 17 | compareRes += 20; 18 | } 19 | if (o1.getType() != null && !o1.getType().equals(o2.getType())) { 20 | compareRes += 200; 21 | } 22 | if (o1.getUrlSite() != null && !o1.getUrlSite().equals(o2.getUrlSite())) { 23 | compareRes += 2000; 24 | } 25 | } else { 26 | compareRes = Integer.MIN_VALUE; 27 | } 28 | return compareRes; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /motu-nginx/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | cls.motu 9 | motu-parent 10 | 3.12.01 11 | ../motu-parent 12 | 13 | 14 | motu-nginx 15 | pom 16 | Motu NGinx Server 17 | This project holds the configuration of a Docker NGinx that handle download requests. 18 | 19 | 20 | nginx:${docker-nginx-version} 21 | 22 | 23 | 24 | 25 | 26 | io.fabric8 27 | docker-maven-plugin 28 | 29 | false 30 | 31 | 32 | 33 | maven-assembly-plugin 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/queueserver/queue/QueueThreadFactory.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.queueserver.queue; 2 | 3 | import java.util.concurrent.ThreadFactory; 4 | import java.util.concurrent.atomic.AtomicInteger; 5 | 6 | /** 7 | * Thread factory that creates new threads with a prefixed name. 8 | */ 9 | public class QueueThreadFactory implements ThreadFactory { 10 | final ThreadGroup group; 11 | final AtomicInteger threadNumber = new AtomicInteger(1); 12 | final String namePrefix; 13 | public QueueThreadFactory(String namePrefix) { 14 | SecurityManager s = System.getSecurityManager(); 15 | group = (s != null) ? s.getThreadGroup() : 16 | Thread.currentThread().getThreadGroup(); 17 | this.namePrefix = namePrefix+"-thread-"; 18 | } 19 | 20 | public Thread newThread(Runnable r) { 21 | // create the thread 22 | Thread t = new Thread(group, r, namePrefix + threadNumber.getAndIncrement(), 0); 23 | if (t.isDaemon()) 24 | t.setDaemon(false); 25 | if (t.getPriority() != Thread.NORM_PRIORITY) 26 | t.setPriority(Thread.NORM_PRIORITY); 27 | return t; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/common/utils/TimeUtils.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.common.utils; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites) 9 | * 10 | * @author Sylvain MARTY 11 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 12 | */ 13 | public class TimeUtils { 14 | 15 | /** 16 | * All minutes have this many milliseconds except the last minute of the day on a day defined with a leap 17 | * second. 18 | */ 19 | public static final long MILLISECS_PER_MINUTE = 60 * 1000; 20 | 21 | /** Number of milliseconds per hour, except when a leap second is inserted. */ 22 | public static final long MILLISECS_PER_HOUR = 60 * MILLISECS_PER_MINUTE; 23 | 24 | /** 25 | * Number of leap seconds per day expect on
26 | * 1. days when a leap second has been inserted, e.g. 1999 JAN 1.
27 | * 2. Daylight-savings "spring forward" or "fall back" days. 28 | */ 29 | public static final long MILLISECS_PER_DAY = 24 * MILLISECS_PER_HOUR; 30 | 31 | public static long nanoToMillisec(long nanoSec) { 32 | return nanoSec / 1000000; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/patches/patch_layout_draft.css: -------------------------------------------------------------------------------- 1 | /** 2 | * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework 3 | * 4 | * (en) Example of a patch stylesheet for the Internet Explorer 5 | * (de) Beispiel für ein Anpassungs-Stylesheet für den Internet Explorer 6 | * 7 | * @copyright Copyright 2005-2010, Dirk Jesse 8 | * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/), 9 | * YAML-C (http://www.yaml.de/en/license/license-conditions.html) 10 | * @link http://www.yaml.de 11 | * @package yaml 12 | * @version 3.3 13 | * @revision $Revision: 466 $ 14 | * @lastmodified $Date: 2010-09-14 21:19:30 +0200 (Di, 14 Sep 2010) $ 15 | */ 16 | 17 | /* Layout independent adjustments | Layout-unabhängige Anpassungen ----------------------------------- */ 18 | @import url(/yaml/core/iehacks.css); 19 | 20 | /* Box model adjustments for vlist navigation | Box-Modell-Anpassungen für vlist-Navigation */ 21 | /* @import url(/yaml/patches/patch_nav_vlist.css); */ 22 | 23 | /* Layout-dependent adjustments | Layout-abhängige Anpassungen --------------------------------------- */ 24 | @media screen, projection 25 | { 26 | /* add your adjustments here | Fügen Sie Ihre Anpassungen hier ein */ 27 | 28 | } 29 | -------------------------------------------------------------------------------- /motu-products/src/main/assembly/delivery-cots.xml: -------------------------------------------------------------------------------- 1 | 5 | delivery-cots 6 | motu 7 | 8 | tar.gz 9 | 10 | 11 | 12 | 13 | 14 | cls.motu:motu-cots:tar.gz 15 | 16 | false 17 | true 18 | false 19 | 20 | 21 | 22 | 23 | src/main/scripts/cdo-group 24 | /products/cdo-group 25 | false 26 | 27 | 0764 28 | 0775 29 | unix 30 | 31 | 32 | -------------------------------------------------------------------------------- /motu-api-rest/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/common/utils/ProcessOutputLogguer.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.common.utils; 2 | 3 | import java.io.BufferedReader; 4 | 5 | import org.apache.logging.log4j.Logger; 6 | 7 | /** 8 | *
9 | *
10 | * Copyright : Copyright (c) 2016
11 | *
12 | * Société : CLS (Collecte Localisation Satellites) 13 | * 14 | * @author Pierre LACOSTE 15 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 16 | */ 17 | public class ProcessOutputLogguer extends ReaderThread { 18 | 19 | private Logger logger; 20 | 21 | private Type type = Type.INFO; 22 | 23 | public enum Type { 24 | INFO, ERROR 25 | } 26 | 27 | /** 28 | * Constructeur. 29 | * 30 | * @param reader 31 | */ 32 | public ProcessOutputLogguer(BufferedReader reader, Logger logger_, Type type_) { 33 | super(reader); 34 | this.logger = logger_; 35 | this.type = type_; 36 | } 37 | 38 | /** {@inheritDoc} */ 39 | @Override 40 | public void treatement(String data) { 41 | switch (type) { 42 | case INFO: 43 | logger.info(data); 44 | break; 45 | case ERROR: 46 | logger.error(data); 47 | break; 48 | default: 49 | break; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/catalog/product/cache/ICatalogAndProductCacheManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.catalog.product.cache; 2 | 3 | import java.util.List; 4 | 5 | import fr.cls.atoll.motu.web.dal.config.xml.model.ConfigService; 6 | 7 | public interface ICatalogAndProductCacheManager { 8 | 9 | void init(); 10 | 11 | void stop(); 12 | 13 | /** 14 | * Retrieve the cache of the product . 15 | * 16 | * @return the product cache instance 17 | */ 18 | IProductCache getProductCache(); 19 | 20 | /** 21 | * Retrieve the cache of the catalog . 22 | * 23 | * @return the catalog cache instance 24 | */ 25 | ICatalogCache getCatalogCache(); 26 | 27 | /** 28 | * Refresh the cache only for ConfigService present in the provided list . 29 | * 30 | * @param configServiceList the list of config service to update the cache 31 | */ 32 | void updateCache(List configServiceList); 33 | 34 | /** 35 | * Refresh the cache only for ConfigService defines as automatic refresh . 36 | */ 37 | void updateCache(); 38 | 39 | /** 40 | * Refresh the cache for all the available ConfigService. . 41 | */ 42 | void updateAllTheCache(); 43 | 44 | void onConfigServiceRemoved(ConfigService cs); 45 | } 46 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/messageserror/BLLMessagesErrorManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.messageserror; 2 | 3 | import fr.cls.atoll.motu.api.message.xml.ErrorType; 4 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 5 | import fr.cls.atoll.motu.web.dal.DALManager; 6 | 7 | /** 8 | *
9 | *
10 | * Copyright : Copyright (c) 2016
11 | *
12 | * Société : CLS (Collecte Localisation Satellites) 13 | * 14 | * @author Sylvain MARTY 15 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 16 | */ 17 | public class BLLMessagesErrorManager implements IBLLMessagesErrorManager { 18 | 19 | /** 20 | * {@inheritDoc} 21 | * 22 | * @throws MotuException 23 | */ 24 | @Override 25 | public String getMessageError(ErrorType errorCode) { 26 | return getMessageError(errorCode, new Object[0]); 27 | } 28 | 29 | @Override 30 | public String getMessageError(ErrorType errorCode, Exception e) { 31 | return DALManager.getInstance().getMessagesErrorManager().getMessageError(errorCode, e); 32 | } 33 | 34 | @Override 35 | public String getMessageError(ErrorType errorCode, Object... messageArguments) { 36 | return DALManager.getInstance().getMessagesErrorManager().getMessageError(errorCode, messageArguments); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/parameter/exception/NullOrEmptyInvalidHTTPParameterException.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.request.parameter.exception; 2 | 3 | /** 4 | *
5 | *
6 | * Copyright : Copyright (c) 2016
7 | *
8 | * Société : CLS (Collecte Localisation Satellites)
9 | *
10 | *
11 | * 12 | * 13 | * @author Sylvain MARTY 14 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 15 | */ 16 | public class NullOrEmptyInvalidHTTPParameterException extends InvalidHTTPParameterException { 17 | 18 | /** 19 | * . 20 | */ 21 | private static final long serialVersionUID = 1L; 22 | 23 | /** 24 | * Constructeur. 25 | * 26 | * @param parameterName_ The HTTP parameter name set in the request 27 | * @param parameterValue_ The HTTP parameter value set in the request 28 | * @param parameterBoundaries_ The HTTP parameter definition, example [-90;90] or for an enum 29 | * [value1;value2;value3] 30 | */ 31 | public NullOrEmptyInvalidHTTPParameterException(String parameterName_, String parameterValue_, String parameterBoundaries_) { 32 | super("Parameter '" + parameterName_ + "' is not defined. " + parameterBoundaries_, parameterName_, parameterValue_, parameterBoundaries_); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/messageserror/IDALMessagesErrorManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.messageserror; 2 | 3 | import fr.cls.atoll.motu.api.message.xml.ErrorType; 4 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 5 | 6 | /** 7 | *
8 | *
9 | * Copyright : Copyright (c) 2016
10 | *
11 | * Société : CLS (Collecte Localisation Satellites) 12 | * 13 | * @author Sylvain MARTY 14 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 15 | */ 16 | public interface IDALMessagesErrorManager { 17 | 18 | public static final String MESSAGES_ERROR_FILE_NAME = "MessagesError.properties"; 19 | public static final ErrorType SYSTEM_ERROR_CODE = ErrorType.SYSTEM; 20 | 21 | /** 22 | * . 23 | * 24 | * @throws MotuException 25 | */ 26 | void init() throws MotuException; 27 | 28 | /** 29 | * . 30 | * 31 | * @param errorCode 32 | * @param e 33 | * @return 34 | * @throws MotuException 35 | */ 36 | String getMessageError(ErrorType errorCode, Exception e); 37 | 38 | /** 39 | * . 40 | * 41 | * @param errorCode 42 | * @param messageArguments 43 | * @return 44 | * @throws MotuException 45 | */ 46 | String getMessageError(ErrorType errorCode, Object... messageArguments); 47 | 48 | } 49 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/messageserror/IBLLMessagesErrorManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.messageserror; 2 | 3 | import fr.cls.atoll.motu.api.message.xml.ErrorType; 4 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 5 | import fr.cls.atoll.motu.web.dal.messageserror.IDALMessagesErrorManager; 6 | 7 | /** 8 | *
9 | *
10 | * Copyright : Copyright (c) 2016
11 | *
12 | * Société : CLS (Collecte Localisation Satellites) 13 | * 14 | * @author Sylvain MARTY 15 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 16 | */ 17 | public interface IBLLMessagesErrorManager { 18 | 19 | public static final ErrorType SYSTEM_ERROR_CODE = IDALMessagesErrorManager.SYSTEM_ERROR_CODE; 20 | 21 | /** 22 | * . 23 | * 24 | * @return 25 | */ 26 | String getMessageError(ErrorType errorCode); 27 | 28 | /** 29 | * . 30 | * 31 | * @param errorCode 32 | * @param e 33 | * @return 34 | * @throws MotuException 35 | */ 36 | String getMessageError(ErrorType errorCode, Exception e); 37 | 38 | /** 39 | * . 40 | * 41 | * @param errorCode 42 | * @param messageArguments 43 | * @return 44 | * @throws MotuException 45 | */ 46 | String getMessageError(ErrorType errorCode, Object... messageArguments); 47 | } 48 | -------------------------------------------------------------------------------- /motu-nginx/src/main/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ${docker.base} 2 | 3 | COPY ${docker.supporting-files.dir}/ ${docker.working.dir} 4 | 5 | COPY nginx-frontal.conf.template /etc/nginx/conf.d/default.conf.template 6 | 7 | WORKDIR ${docker.working.dir} 8 | 9 | USER root 10 | 11 | RUN apt-get upgrade -y && \ 12 | apt-get clean && \ 13 | rm -rf /var/cache/apt && \ 14 | find /tmp /var/tmp /run /var/log -mindepth 1 -delete -print && \ 15 | groupadd --gid ${docker.group.id} ${docker.group.name} && \ 16 | useradd --uid ${docker.user.id} --gid ${docker.group.id} ${docker.user.name} && \ 17 | touch /var/run/nginx.pid && \ 18 | chown -R ${docker.user.name}:${docker.user.name} /var/run/nginx.pid && \ 19 | chown -R ${docker.user.name}:${docker.user.name} /var/cache/nginx && \ 20 | mkdir /var/www && \ 21 | chown -R ${docker.user.name}:${docker.user.name} /var/www && \ 22 | chown -R ${docker.user.name}:${docker.user.name} ${docker.working.dir} && \ 23 | chmod 0775 ${docker.working.dir}/bin/* && \ 24 | rm /etc/nginx/conf.d/default.conf && \ 25 | chown ${docker.user.name}:${docker.user.name} /etc/nginx/conf.d && \ 26 | mkdir -p /var/log/nginx && \ 27 | chown -R ${docker.user.name}:${docker.user.name} /var/log/nginx 28 | 29 | USER ${docker.user.name} 30 | 31 | ENTRYPOINT ["${docker.working.dir}/bin/docker-entrypoint.sh"] 32 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/catalog/IBLLCatalogManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.catalog; 2 | 3 | import fr.cls.atoll.motu.web.bll.catalog.product.IBLLProductManager; 4 | import fr.cls.atoll.motu.web.bll.catalog.product.cache.ICatalogAndProductCacheManager; 5 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 6 | import fr.cls.atoll.motu.web.dal.config.xml.model.ConfigService; 7 | 8 | /** 9 | *
10 | *
11 | * Copyright : Copyright (c) 2016
12 | *
13 | * Société : CLS (Collecte Localisation Satellites) 14 | * 15 | * @author Sylvain MARTY 16 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 17 | */ 18 | public interface IBLLCatalogManager { 19 | 20 | /** 21 | * . 22 | * 23 | * @return 24 | */ 25 | IBLLProductManager getProductManager(); 26 | 27 | /** 28 | * . 29 | */ 30 | void init() throws MotuException; 31 | 32 | /** 33 | * Return the catalog type of a service . 34 | * 35 | * @param service the service for which the catalog type is needed 36 | * @return The catalogType name. 37 | * @throws MotuException 38 | */ 39 | String getCatalogType(ConfigService service) throws MotuException; 40 | 41 | /** 42 | * . 43 | */ 44 | void stop(); 45 | 46 | ICatalogAndProductCacheManager getCatalogAndProductCacheManager(); 47 | } 48 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/parameter/validator/HttpErrorCodeHTTPParameterValidator.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.request.parameter.validator; 2 | 3 | import fr.cls.atoll.motu.web.common.utils.StringUtils; 4 | import fr.cls.atoll.motu.web.usl.request.parameter.exception.InvalidHTTPParameterException; 5 | 6 | /** 7 | *
8 | *
9 | * Copyright : Copyright (c) 2016
10 | *
11 | * Société : CLS (Collecte Localisation Satellites) 12 | * 13 | * @author Pierre LACOSTE 14 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 15 | */ 16 | public class HttpErrorCodeHTTPParameterValidator extends AbstractHTTPParameterValidator { 17 | 18 | /** 19 | * Constructor. 20 | * 21 | * @param parameterName_ 22 | * @param parameterValue_ 23 | */ 24 | private HttpErrorCodeHTTPParameterValidator(String parameterName_, String parameterValue_) { 25 | super(parameterName_, parameterValue_); 26 | } 27 | 28 | public HttpErrorCodeHTTPParameterValidator(String parameterName_, String parameterValue_, String defaultValue_) { 29 | this(parameterName_, parameterValue_); 30 | if (StringUtils.isNullOrEmpty(parameterValue_)) { 31 | setParameterValue(defaultValue_); 32 | } 33 | } 34 | 35 | @Override 36 | public String onValidateAction() throws InvalidHTTPParameterException { 37 | return getParameterValue(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/parameter/validator/ScriptVersionHTTPParameterValidator.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.request.parameter.validator; 2 | 3 | import fr.cls.atoll.motu.web.common.utils.StringUtils; 4 | import fr.cls.atoll.motu.web.usl.request.parameter.exception.InvalidHTTPParameterException; 5 | 6 | /** 7 | *
8 | *
9 | * Copyright : Copyright (c) 2016
10 | *
11 | * Société : CLS (Collecte Localisation Satellites) 12 | * 13 | * @author Pierre LACOSTE 14 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 15 | */ 16 | public class ScriptVersionHTTPParameterValidator extends AbstractHTTPParameterValidator { 17 | 18 | /** 19 | * Constructor. 20 | * 21 | * @param parameterName_ 22 | * @param parameterValue_ 23 | */ 24 | private ScriptVersionHTTPParameterValidator(String parameterName_, String parameterValue_) { 25 | super(parameterName_, parameterValue_); 26 | } 27 | 28 | public ScriptVersionHTTPParameterValidator(String parameterName_, String parameterValue_, String defaultValue_) { 29 | this(parameterName_, parameterValue_); 30 | if (StringUtils.isNullOrEmpty(parameterValue_)) { 31 | setParameterValue(defaultValue_); 32 | } 33 | } 34 | 35 | @Override 36 | public String onValidateAction() throws InvalidHTTPParameterException { 37 | return getParameterValue(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /motu-api-message/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | cls.motu 7 | motu-parent 8 | 3.12.01 9 | ../motu-parent 10 | 11 | motu-api-message 12 | Motu Api Message 13 | This package holds the messages exchanged by the published services. 14 | 15 | 16 | 17 | 18 | org.jvnet.jaxb2_commons 19 | jaxb2-basics-ant 20 | 0.6.1 21 | 22 | 23 | org.jvnet.jaxb2_commons 24 | jaxb2-basics 25 | 0.6.1 26 | 27 | 28 | commons-beanutils 29 | commons-beanutils 30 | 31 | 32 | org.apache.logging.log4j 33 | log4j-api 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/model/ProductResult.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.model; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | 5 | /** 6 | *
7 | *
8 | * Copyright : Copyright (c) 2016
9 | *
10 | * Société : CLS (Collecte Localisation Satellites) 11 | * 12 | * @author Sylvain MARTY 13 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 14 | */ 15 | public class ProductResult { 16 | 17 | private String productFileName; 18 | private MotuException runningException; 19 | 20 | /** 21 | * Valeur de productFileName. 22 | * 23 | * @return la valeur. 24 | */ 25 | public String getProductFileName() { 26 | return productFileName; 27 | } 28 | 29 | /** 30 | * Valeur de productFileName. 31 | * 32 | * @param productFileName nouvelle valeur. 33 | */ 34 | public void setProductFileName(String productFileName) { 35 | this.productFileName = productFileName; 36 | } 37 | 38 | /** 39 | * . 40 | * 41 | * @param runningException 42 | */ 43 | public void setRunningException(MotuException runningException_) { 44 | runningException = runningException_; 45 | } 46 | 47 | /** 48 | * Valeur de runningException_. 49 | * 50 | * @return la valeur. 51 | */ 52 | public MotuException getRunningException() { 53 | return runningException; 54 | } 55 | 56 | } 57 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/IUSLRequestManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.request; 2 | 3 | import java.io.IOException; 4 | 5 | import javax.servlet.http.HttpServletRequest; 6 | import javax.servlet.http.HttpServletResponse; 7 | 8 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 9 | import fr.cls.atoll.motu.web.bll.request.model.RequestProduct; 10 | import fr.cls.atoll.motu.web.usl.request.parameter.exception.InvalidHTTPParameterException; 11 | 12 | /** 13 | *
14 | *
15 | * Copyright : Copyright (c) 2016
16 | *
17 | * Société : CLS (Collecte Localisation Satellites) 18 | * 19 | * @author Sylvain MARTY 20 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 21 | */ 22 | public interface IUSLRequestManager { 23 | 24 | /** 25 | * . 26 | * 27 | * @param request 28 | * @param response 29 | * @throws IOException 30 | * @throws InvalidHTTPParameterException 31 | * @throws MotuException 32 | */ 33 | void onNewRequest(HttpServletRequest request, HttpServletResponse response) throws InvalidHTTPParameterException, MotuException; 34 | 35 | /** 36 | * . 37 | * 38 | * @param product 39 | * @return 40 | */ 41 | String getProductDownloadUrlPath(RequestProduct product); 42 | 43 | /** 44 | * Initialize the USLRequestManager . 45 | * 46 | * @throws MotuException 47 | */ 48 | void init() throws MotuException; 49 | 50 | } 51 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/common/utils/ReaderThread.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.common.utils; 2 | 3 | import java.io.BufferedReader; 4 | import java.io.IOException; 5 | 6 | import org.apache.logging.log4j.LogManager; 7 | import org.apache.logging.log4j.Logger; 8 | 9 | import fr.cls.atoll.motu.api.message.xml.ErrorType; 10 | 11 | /** 12 | *
13 | *
14 | * Copyright : Copyright (c) 2016
15 | *
16 | * Société : CLS (Collecte Localisation Satellites) 17 | * 18 | * @author Pierre LACOSTE 19 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 20 | */ 21 | public abstract class ReaderThread implements Runnable { 22 | 23 | private BufferedReader reader = null; 24 | 25 | private static final Logger LOGGER = LogManager.getLogger(); 26 | 27 | public ReaderThread(BufferedReader reader) { 28 | this.reader = reader; 29 | } 30 | 31 | @Override 32 | public void run() { 33 | if (reader != null) { 34 | try { 35 | String line = ""; 36 | try { 37 | while ((line = reader.readLine()) != null) { 38 | treatement(line); 39 | } 40 | } finally { 41 | reader.close(); 42 | } 43 | } catch (IOException e) { 44 | LOGGER.error(ErrorType.SYSTEM, e); 45 | } 46 | } 47 | } 48 | 49 | public abstract void treatement(String data); 50 | 51 | } 52 | -------------------------------------------------------------------------------- /motu-api-message/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /motu-library-cas/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /motu-library-converter/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/response/velocity/IVelocityTemplateManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.response.velocity; 2 | 3 | import java.util.Map; 4 | 5 | import org.apache.velocity.Template; 6 | import org.apache.velocity.app.VelocityEngine; 7 | 8 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 9 | 10 | /** 11 | *
12 | *
13 | * Copyright : Copyright (c) 2016
14 | *
15 | * Société : CLS (Collecte Localisation Satellites) 16 | * 17 | * @author Sylvain MARTY 18 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 19 | */ 20 | public interface IVelocityTemplateManager { 21 | 22 | /** 23 | * . 24 | * 25 | * @throws Exception 26 | */ 27 | void init() throws Exception; 28 | 29 | /** 30 | * . 31 | * 32 | * @return 33 | */ 34 | VelocityEngine getVelocityEngine(); 35 | 36 | /** 37 | * . 38 | * 39 | * @param velocityContext 40 | * @param template 41 | * @return 42 | * @throws MotuException 43 | */ 44 | String getResponseWithVelocity(Map velocityContext, Template template) throws MotuException; 45 | 46 | /** 47 | * . 48 | * 49 | * @param velocityContext_ 50 | * @param lang 51 | * @param velocityTemplateName_ 52 | * @return 53 | * @throws MotuException 54 | */ 55 | String getResponseWithVelocity(Map velocityContext_, String lang, String velocityTemplateName_) throws MotuException; 56 | 57 | } 58 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/parameter/validator/TokenHTTPParameterValidator.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.request.parameter.validator; 2 | 3 | import fr.cls.atoll.motu.web.common.utils.StringUtils; 4 | import fr.cls.atoll.motu.web.usl.request.parameter.exception.InvalidHTTPParameterException; 5 | 6 | /** 7 | * .
8 | *
9 | * Copyright : Copyright (c) 2017
10 | *
11 | * Company : CLS (Collecte Localisation Satellites) 12 | * 13 | * @author Pierre LACOSTE 14 | * @version $Revision: 1456 $ - $Date: 2011-04-08 18:37:34 +0200 $ 15 | */ 16 | public class TokenHTTPParameterValidator extends AbstractHTTPParameterValidator { 17 | 18 | /** 19 | * Constructor. 20 | * 21 | * @param parameterName_ 22 | * @param parameterValue_ 23 | */ 24 | public TokenHTTPParameterValidator(String parameterName_, String parameterValue_) { 25 | super(parameterName_, parameterValue_); 26 | } 27 | 28 | /** {@inheritDoc} */ 29 | @Override 30 | protected String onValidateAction() throws InvalidHTTPParameterException { 31 | String passPhrase = getParameterValue(); 32 | if (StringUtils.isNullOrEmpty(passPhrase)) { 33 | throw new InvalidHTTPParameterException(getParameterName(), getParameterValue(), getParameterBoundaries()); 34 | } 35 | return passPhrase; 36 | } 37 | 38 | @Override 39 | protected String getParameterBoundaries() { 40 | return "[The token is not an empty string]"; 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/request/cleaner/ExtractedFileToDeleteFilter.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.request.cleaner; 2 | 3 | import java.io.File; 4 | import java.io.FileFilter; 5 | 6 | /** 7 | *
8 | *
9 | * Copyright : Copyright (c) 2016
10 | *
11 | * Société : CLS (Collecte Localisation Satellites) 12 | * 13 | * @author Sylvain MARTY 14 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 15 | */ 16 | public class ExtractedFileToDeleteFilter implements FileFilter { 17 | 18 | /** The file patterns. */ 19 | private String filePattern = null; 20 | 21 | /** The time ref. */ 22 | private long timeInMsfAfterWhichFileIsAccepted; 23 | 24 | /** 25 | * The Constructor. 26 | * 27 | * @param timeRef the time ref 28 | * @param filePattern the file patterns 29 | */ 30 | public ExtractedFileToDeleteFilter(String filePattern, long timeInMsfAfterWhichFileIsAccepted_) { 31 | this.filePattern = filePattern; 32 | this.timeInMsfAfterWhichFileIsAccepted = timeInMsfAfterWhichFileIsAccepted_; 33 | } 34 | 35 | /** {@inheritDoc} */ 36 | @Override 37 | public boolean accept(File file) { 38 | boolean acceptFile = false; 39 | if (file.isFile() && filePattern != null && timeInMsfAfterWhichFileIsAccepted > 0 && file.getName().matches(filePattern)) { 40 | acceptFile = ((file.lastModified() + timeInMsfAfterWhichFileIsAccepted) < System.currentTimeMillis()); 41 | } 42 | 43 | return acceptFile; 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /motu-cots/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | 8 | cls.motu 9 | motu-parent 10 | 3.12.01 11 | ../motu-parent 12 | 13 | 14 | motu-cots 15 | Motu COTS 16 | pom 17 | Artifact containing the compiled COTS for CentOS 18 | 19 | 20 | 21 | 22 | src/main/scripts 23 | true 24 | 25 | 26 | 27 | 28 | maven-assembly-plugin 29 | 2.4 30 | 31 | ${project.artifactId}-${project.version}-src 32 | false 33 | 34 | ${project.basedir}/src/main/assembly/delivery.xml 35 | 36 | 37 | 38 | 39 | make-assembly 40 | package 41 | 42 | single 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/IDALManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal; 2 | 3 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 4 | import fr.cls.atoll.motu.web.dal.catalog.IDALCatalogManager; 5 | import fr.cls.atoll.motu.web.dal.config.IDALConfigManager; 6 | import fr.cls.atoll.motu.web.dal.messageserror.IDALMessagesErrorManager; 7 | import fr.cls.atoll.motu.web.dal.request.IDALRequestManager; 8 | import fr.cls.atoll.motu.web.dal.users.IDALUserManager; 9 | 10 | /** 11 | *
12 | *
13 | * Copyright : Copyright (c) 2016
14 | *
15 | * Société : CLS (Collecte Localisation Satellites) 16 | * 17 | * @author Sylvain MARTY 18 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 19 | */ 20 | public interface IDALManager { 21 | 22 | /** 23 | * . 24 | * 25 | * @throws MotuException 26 | */ 27 | void init() throws MotuException; 28 | 29 | void stop(); 30 | 31 | /** 32 | * . 33 | * 34 | * @return 35 | */ 36 | IDALConfigManager getConfigManager(); 37 | 38 | /** 39 | * . 40 | * 41 | * @return 42 | */ 43 | IDALRequestManager getRequestManager(); 44 | 45 | /** 46 | * . 47 | * 48 | * @return 49 | */ 50 | IDALUserManager getUserManager(); 51 | 52 | /** 53 | * . 54 | * 55 | * @return 56 | */ 57 | IDALCatalogManager getCatalogManager(); 58 | 59 | /** 60 | * . 61 | * 62 | * @return 63 | */ 64 | IDALMessagesErrorManager getMessagesErrorManager(); 65 | 66 | } 67 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/config/watcher/ConfigWatcherThread.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.config.watcher; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | import java.nio.file.StandardWatchEventKinds; 6 | 7 | import org.apache.logging.log4j.LogManager; 8 | import org.apache.logging.log4j.Logger; 9 | 10 | public abstract class ConfigWatcherThread extends Thread { 11 | 12 | private static final Logger LOGGER = LogManager.getLogger(); 13 | private File fMotuConfig; 14 | 15 | public ConfigWatcherThread(File fMotuConfig_) { 16 | super("ConfigService watcher:" + fMotuConfig_.getName()); 17 | setDaemon(true); 18 | fMotuConfig = fMotuConfig_; 19 | } 20 | 21 | @Override 22 | public void run() { 23 | try { 24 | initAndStartConfigWatcher(fMotuConfig); 25 | } catch (IOException e) { 26 | LOGGER.error("Error while initAndStartConfigWatcher: " + fMotuConfig.getAbsolutePath(), e); 27 | } 28 | } 29 | 30 | private void initAndStartConfigWatcher(File fMotuConfig_) throws IOException { 31 | ConfigWatcher configW = new ConfigWatcher(fMotuConfig_, StandardWatchEventKinds.ENTRY_MODIFY) { 32 | 33 | @Override 34 | protected void onNewFileEvent(File filename) { 35 | LOGGER.info("[ConfigWatcher] Event on file: " + filename); 36 | onMotuConfigurationUpdated(filename); 37 | } 38 | 39 | }; 40 | configW.startWatching(); 41 | } 42 | 43 | public abstract void onMotuConfigurationUpdated(File configFile); 44 | } 45 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/rtl-support/navigation/nav_slidingdoor-rtl.css: -------------------------------------------------------------------------------- 1 | /** 2 | * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework 3 | * 4 | * (en) RTL Horizontal list navigation based on "Sliding Door II" from von "A List Apart" 5 | * (de) RTL Horizontale Navigationsliste basierend auf "Sliding Door II" von "A List Apart" 6 | * 7 | * @note: Many thanks to Alexander Hass (http://www.yaml-fuer-drupal.de/) for contribution 8 | * 9 | * @copyright Copyright 2005-2010, Dirk Jesse 10 | * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/), 11 | * YAML-C (http://www.yaml.de/en/license/license-conditions.html) 12 | * @link http://www.yaml.de 13 | * @package yaml 14 | * @version 3.3 15 | * @revision $Revision: 466 $ 16 | * @lastmodified $Date: 2010-09-14 21:19:30 +0200 (Di, 14 Sep 2010) $ 17 | */ 18 | 19 | @media all 20 | { 21 | /** 22 | * (en) Workaround disappearing list elements on hover 23 | * (de) Workaround verhindert das Verschwinden der Listenelemente beim Hovern 24 | * 25 | * @workaround 26 | * @affected IE 5.x/Win, IE6, IE7 27 | * @css-for IE 5.x/Win, IE6, IE7 28 | * @valid yes 29 | */ 30 | 31 | .hlist * { direction:ltr !important; } 32 | .hlist a, .hlist strong { direction:rtl !important; } 33 | 34 | /*------------------------------------------------------------------------------------------------------*/ 35 | 36 | .hlist ul { 37 | padding: 0 50px 0 0; 38 | } 39 | 40 | .hlist li { 41 | float: right; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/IBLLManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll; 2 | 3 | import fr.cls.atoll.motu.web.bll.catalog.IBLLCatalogManager; 4 | import fr.cls.atoll.motu.web.bll.config.IBLLConfigManager; 5 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 6 | import fr.cls.atoll.motu.web.bll.messageserror.IBLLMessagesErrorManager; 7 | import fr.cls.atoll.motu.web.bll.request.IBLLRequestManager; 8 | import fr.cls.atoll.motu.web.bll.users.IBLLUserManager; 9 | 10 | /** 11 | *
12 | *
13 | * Copyright : Copyright (c) 2016
14 | *
15 | * Société : CLS (Collecte Localisation Satellites) 16 | * 17 | * @author Sylvain MARTY 18 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 19 | */ 20 | public interface IBLLManager { 21 | 22 | /** 23 | * . 24 | * 25 | * @throws MotuException 26 | */ 27 | void init() throws MotuException; 28 | 29 | /** 30 | * . 31 | */ 32 | void stop(); 33 | 34 | /** 35 | * . 36 | * 37 | * @return 38 | */ 39 | IBLLConfigManager getConfigManager(); 40 | 41 | /** 42 | * . 43 | * 44 | * @return 45 | */ 46 | IBLLRequestManager getRequestManager(); 47 | 48 | /** 49 | * . 50 | * 51 | * @return 52 | */ 53 | IBLLUserManager getUserManager(); 54 | 55 | /** 56 | * . 57 | * 58 | * @return 59 | */ 60 | IBLLCatalogManager getCatalogManager(); 61 | 62 | /** 63 | * 64 | * . 65 | * 66 | * @return 67 | */ 68 | IBLLMessagesErrorManager getMessagesErrorManager(); 69 | 70 | } 71 | -------------------------------------------------------------------------------- /motu-api-message/src/main/java/fr/cls/atoll/motu/api/message/MotuMsgConstant.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Motu, a high efficient, robust and Standard compliant Web Server for Geographic 3 | * Data Dissemination. 4 | * 5 | * http://cls-motu.sourceforge.net/ 6 | * 7 | * (C) Copyright 2009-2010, by CLS (Collecte Localisation Satellites) - 8 | * http://www.cls.fr - and Contributors 9 | * 10 | * 11 | * This library is free software; you can redistribute it and/or modify it 12 | * under the terms of the GNU Lesser General Public License as published by 13 | * the Free Software Foundation; either version 2.1 of the License, or 14 | * (at your option) any later version. 15 | * 16 | * This library is distributed in the hope that it will be useful, but 17 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 18 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 19 | * License for more details. 20 | * 21 | * You should have received a copy of the GNU Lesser General Public License 22 | * along with this library; if not, write to the Free Software Foundation, 23 | * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 24 | */ 25 | package fr.cls.atoll.motu.api.message; 26 | 27 | /** 28 | * 29 | * (C) Copyright 2009-2010, by CLS (Collecte Localisation Satellites) 30 | * 31 | * @version $Revision: 1.1 $ - $Date: 2009-03-18 12:18:22 $ 32 | * @author Didier Earith 33 | */ 34 | public interface MotuMsgConstant { 35 | /** The Constant MOTU_MSG_SCHEMA_PACK_NAME. */ 36 | 37 | final String MOTU_MSG_SCHEMA_PACK_NAME = "fr.cls.atoll.motu.api.message.xml"; 38 | } 39 | -------------------------------------------------------------------------------- /motu-api-rest/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | cls.motu 7 | motu-parent 8 | 3.12.01 9 | ../motu-parent 10 | 11 | motu-api-rest 12 | Motu Api REST 13 | This package holds the api describing the REST published services. 14 | 15 | 16 | 17 | commons-codec 18 | commons-codec 19 | 20 | 21 | 22 | commons-io 23 | commons-io 24 | 25 | 26 | 27 | cls.motu 28 | motu-library-cas 29 | 30 | 31 | cls.motu 32 | motu-api-message 33 | 34 | 35 | 36 | 37 | 38 | 39 | src/test/resources 40 | true 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/catalog/product/cache/CacheRefreshSchedulerWaitingListAppenderThread.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.catalog.product.cache; 2 | 3 | import org.apache.logging.log4j.LogManager; 4 | import org.apache.logging.log4j.Logger; 5 | 6 | import fr.cls.atoll.motu.web.bll.BLLManager; 7 | import fr.cls.atoll.motu.web.common.thread.StoppableDaemonThread; 8 | 9 | /** 10 | * Manage the automatic cache refresh.
11 | *
12 | * Copyright : Copyright (c) 2016
13 | *
14 | * Société : CLS (Collecte Localisation Satellites) 15 | * 16 | * @author Pierre LACOSTE 17 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 18 | */ 19 | public abstract class CacheRefreshSchedulerWaitingListAppenderThread extends StoppableDaemonThread { 20 | 21 | private static final Logger LOGGER = LogManager.getLogger(); 22 | 23 | /** 24 | * 25 | * Constructor. 26 | * 27 | */ 28 | public CacheRefreshSchedulerWaitingListAppenderThread() { 29 | super( 30 | CacheRefreshSchedulerWaitingListAppenderThread.class.getSimpleName(), 31 | BLLManager.getInstance().getConfigManager().getMotuConfig().getDescribeProductCacheRefreshInMilliSec(), 32 | true); 33 | init(); 34 | } 35 | 36 | public void init() { 37 | BLLManager.getInstance().getCatalogManager().getCatalogAndProductCacheManager().updateAllTheCache(); 38 | } 39 | 40 | /** {@inheritDoc} */ 41 | @Override 42 | public void runProcess() { 43 | BLLManager.getInstance().getCatalogManager().getCatalogAndProductCacheManager().updateCache(); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /motu-api-message/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-api-message 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.ui.externaltools.ExternalToolBuilder 10 | full,incremental, 11 | 12 | 13 | LaunchConfigHandle 14 | <project>/.externalToolBuilders/org.eclipse.wst.common.project.facet.core.builder (3).launch 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.ui.externaltools.ExternalToolBuilder 25 | full,incremental, 26 | 27 | 28 | LaunchConfigHandle 29 | <project>/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder (3).launch 30 | 31 | 32 | 33 | 34 | org.eclipse.m2e.core.maven2Builder 35 | 36 | 37 | 38 | 39 | 40 | org.eclipse.jem.workbench.JavaEMFNature 41 | org.eclipse.wst.common.modulecore.ModuleCoreNature 42 | org.eclipse.jdt.core.javanature 43 | org.eclipse.m2e.core.maven2Nature 44 | org.eclipse.wst.common.project.facet.core.nature 45 | 46 | 47 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/bll/config/comparator/ConfigServiceComparator.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.bll.config.comparator; 2 | 3 | import java.util.Comparator; 4 | 5 | import fr.cls.atoll.motu.web.dal.config.xml.model.ConfigService; 6 | 7 | public class ConfigServiceComparator implements Comparator { 8 | private CatalogueServiceComparator catalogueServiceComparator; 9 | 10 | public ConfigServiceComparator() { 11 | catalogueServiceComparator = new CatalogueServiceComparator(); 12 | } 13 | 14 | @Override 15 | public int compare(ConfigService o1, ConfigService o2) { 16 | int compareRes = 0; 17 | if (o1 != null && o2 != null) { 18 | if (!o1.getName().equals(o2.getName())) { 19 | compareRes = 1; 20 | } 21 | if (o1.getProfiles() != null && !o1.getProfiles().equals(o2.getProfiles())) { 22 | compareRes += 10; 23 | } 24 | if (o1.getGroup() != null && !o1.getGroup().equals(o2.getGroup())) { 25 | compareRes += 100; 26 | } 27 | if (o1.getDescription() != null && !o1.getDescription().equals(o2.getDescription())) { 28 | compareRes += 1000; 29 | } 30 | if (!o1.getRefreshCacheAutomaticallyEnabled() == o2.getRefreshCacheAutomaticallyEnabled()) { 31 | compareRes += 10000; 32 | } 33 | compareRes += catalogueServiceComparator.compare(o1.getCatalog(), o2.getCatalog()); 34 | } else { 35 | compareRes = Integer.MIN_VALUE; 36 | } 37 | return compareRes; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/wcs/responses/ExceptionBuilder.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.wcs.responses; 2 | 3 | import java.io.StringWriter; 4 | 5 | import javax.xml.bind.JAXBContext; 6 | import javax.xml.bind.JAXBElement; 7 | import javax.xml.bind.JAXBException; 8 | import javax.xml.bind.Marshaller; 9 | 10 | import fr.cls.atoll.motu.web.usl.wcs.data.ExceptionData; 11 | import net.opengis.ows.v_2_0.ExceptionType; 12 | 13 | public class ExceptionBuilder { 14 | 15 | private static ExceptionBuilder instance = null; 16 | 17 | private net.opengis.ows.v_2_0.ObjectFactory owsFactory = new net.opengis.ows.v_2_0.ObjectFactory(); 18 | 19 | private Marshaller marshaller = JAXBContext.newInstance(ExceptionType.class).createMarshaller(); 20 | 21 | private ExceptionBuilder() throws JAXBException { 22 | 23 | } 24 | 25 | public static ExceptionBuilder getInstance() throws JAXBException { 26 | if (instance == null) { 27 | instance = new ExceptionBuilder(); 28 | } 29 | 30 | return instance; 31 | } 32 | 33 | public String buildResponse(ExceptionData exceptionData) throws JAXBException { 34 | ExceptionType exception = new ExceptionType(); 35 | exception.setExceptionCode(exceptionData.getErrorCode()); 36 | exception.setExceptionText(exceptionData.getErrorMessage()); 37 | exception.setLocator(exceptionData.getLocator()); 38 | 39 | JAXBElement root = owsFactory.createException(exception); 40 | StringWriter sw = new StringWriter(); 41 | marshaller.marshal(root, sw); 42 | 43 | return sw.toString(); 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /motu-library-converter/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-library-converter 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.ui.externaltools.ExternalToolBuilder 10 | full,incremental, 11 | 12 | 13 | LaunchConfigHandle 14 | <project>/.externalToolBuilders/org.eclipse.wst.common.project.facet.core.builder (5).launch 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.ui.externaltools.ExternalToolBuilder 25 | full,incremental, 26 | 27 | 28 | LaunchConfigHandle 29 | <project>/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder (5).launch 30 | 31 | 32 | 33 | 34 | org.eclipse.m2e.core.maven2Builder 35 | 36 | 37 | 38 | 39 | 40 | org.eclipse.jem.workbench.JavaEMFNature 41 | org.eclipse.wst.common.modulecore.ModuleCoreNature 42 | org.eclipse.jdt.core.javanature 43 | org.eclipse.m2e.core.maven2Nature 44 | org.eclipse.wst.common.project.facet.core.nature 45 | 46 | 47 | -------------------------------------------------------------------------------- /motu-library-inventory/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | motu-library-inventory 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.ui.externaltools.ExternalToolBuilder 10 | full,incremental, 11 | 12 | 13 | LaunchConfigHandle 14 | <project>/.externalToolBuilders/org.eclipse.wst.common.project.facet.core.builder (6).launch 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | org.eclipse.ui.externaltools.ExternalToolBuilder 25 | full,incremental, 26 | 27 | 28 | LaunchConfigHandle 29 | <project>/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder (6).launch 30 | 31 | 32 | 33 | 34 | org.eclipse.m2e.core.maven2Builder 35 | 36 | 37 | 38 | 39 | 40 | org.eclipse.jem.workbench.JavaEMFNature 41 | org.eclipse.wst.common.modulecore.ModuleCoreNature 42 | org.eclipse.jdt.core.javanature 43 | org.eclipse.m2e.core.maven2Nature 44 | org.eclipse.wst.common.project.facet.core.nature 45 | 46 | 47 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/tds/opendap/model/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Motu, a high efficient, robust and Standard compliant Web Server for Geographic 3 | * Data Dissemination. 4 | * 5 | * http://cls-motu.sourceforge.net/ 6 | * 7 | * (C) Copyright 2009-2010, by CLS (Collecte Localisation Satellites) - 8 | * http://www.cls.fr - and Contributors 9 | * 10 | * 11 | * This library is free software; you can redistribute it and/or modify it 12 | * under the terms of the GNU Lesser General Public License as published by 13 | * the Free Software Foundation; either version 2.1 of the License, or 14 | * (at your option) any later version. 15 | * 16 | * This library is distributed in the hope that it will be useful, but 17 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 18 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 19 | * License for more details. 20 | * 21 | * You should have received a copy of the GNU Lesser General Public License 22 | * along with this library; if not, write to the Free Software Foundation, 23 | * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 24 | */ 25 | // 26 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-3268 27 | // See http://java.sun.com/xml/jaxb 28 | // Any modifications to this file will be lost upon recompilation of the source schema. 29 | // Generated on: 2009.03.25 at 11:43:43 AM CET 30 | // 31 | 32 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.unidata.ucar.edu/thredds") 33 | package fr.cls.atoll.motu.web.dal.tds.opendap.model; 34 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/tds/ncss/model/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Motu, a high efficient, robust and Standard compliant Web Server for Geographic 3 | * Data Dissemination. 4 | * 5 | * http://cls-motu.sourceforge.net/ 6 | * 7 | * (C) Copyright 2009-2010, by CLS (Collecte Localisation Satellites) - 8 | * http://www.cls.fr - and Contributors 9 | * 10 | * 11 | * This library is free software; you can redistribute it and/or modify it 12 | * under the terms of the GNU Lesser General Public License as published by 13 | * the Free Software Foundation; either version 2.1 of the License, or 14 | * (at your option) any later version. 15 | * 16 | * This library is distributed in the hope that it will be useful, but 17 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 18 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 19 | * License for more details. 20 | * 21 | * You should have received a copy of the GNU Lesser General Public License 22 | * along with this library; if not, write to the Free Software Foundation, 23 | * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 24 | */ 25 | // 26 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-3268 27 | // See http://java.sun.com/xml/jaxb 28 | // Any modifications to this file will be lost upon recompilation of the source schema. 29 | // Generated on: 2009.03.25 at 11:44:51 AM CET 30 | // 31 | 32 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0") 33 | package fr.cls.atoll.motu.web.dal.tds.ncss.model; 34 | -------------------------------------------------------------------------------- /motu-library-converter/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | 6 | cls.motu 7 | motu-parent 8 | 3.12.01 9 | ../motu-parent 10 | 11 | motu-library-converter 12 | Motu Library Converter 13 | This package holds the miscellaneous converters (jaxb for instance) of the Motu server. 14 | 15 | 16 | 17 | 18 | org.apache.logging.log4j 19 | log4j-api 20 | 21 | 22 | com.sun.xml.bind 23 | jaxb-impl 24 | 25 | 26 | org.jvnet.jaxb2_commons 27 | jaxb2-basics-jaxb-xjc 28 | 29 | 30 | jscience 31 | jscience 32 | 33 | 34 | joda-time 35 | joda-time 36 | 37 | 38 | org.apache.commons 39 | commons-lang3 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/catalog/file/CatalogueOLAJAXB.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.catalog.file; 2 | 3 | import javax.xml.bind.JAXBContext; 4 | import javax.xml.bind.JAXBException; 5 | import javax.xml.bind.Unmarshaller; 6 | 7 | import org.apache.logging.log4j.LogManager; 8 | import org.apache.logging.log4j.Logger; 9 | 10 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 11 | 12 | public class CatalogueOLAJAXB { 13 | 14 | public static CatalogueOLAJAXB s_instance = null; 15 | private static final Logger LOGGER = LogManager.getLogger(); 16 | 17 | private Unmarshaller unmarshaller; 18 | 19 | public static CatalogueOLAJAXB getInstance() { 20 | if (s_instance == null) { 21 | s_instance = new CatalogueOLAJAXB(); 22 | } 23 | return s_instance; 24 | } 25 | 26 | /** 27 | * Inits the JAXB motu msg. 28 | * 29 | * @throws JAXBException 30 | * 31 | * @throws MotuException the motu exception 32 | */ 33 | public void init() throws JAXBException { 34 | if (getUnmarshaller() == null) { 35 | try { 36 | JAXBContext jc = JAXBContext.newInstance("fr.cls.atoll.motu.library.inventory"); 37 | setUnmarshaller(jc.createUnmarshaller()); 38 | } catch (JAXBException e) { 39 | LOGGER.error("Error while initializing StandardNamesJAXB", e); 40 | } 41 | } 42 | } 43 | 44 | private CatalogueOLAJAXB() { 45 | } 46 | 47 | public Unmarshaller getUnmarshaller() { 48 | return unmarshaller; 49 | } 50 | 51 | private void setUnmarshaller(Unmarshaller u) { 52 | unmarshaller = u; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /motu-api-rest/src/test/resources/log4j.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | /opt/cmems-cis/motu/log 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /motu-distribution/src/main/configuration/Build-distribution-procedure.txt: -------------------------------------------------------------------------------- 1 | Procedure for building a distribution from source code: 2 | ================================================================================== 3 | 4 | Purpose: 5 | -------------------- 6 | 7 | The purpose of this procedure is to build a distribution from the source code. 8 | 9 | 10 | Pre-requisites: 11 | -------------------- 12 | 13 | - maven shall be available 14 | - jdk 1.7.0_80 installed 15 | 16 | We are considering that $PROJECT_TAG is the version of the release. 17 | - $PROJECT_NAME-$PROJECT_TAG.tar.gz is the archive which contains source code 18 | 19 | 20 | Source package uncompress: 21 | ---------------------------------------- 22 | 23 | Uncompress the source package: 24 | $PROJECT_NAME=motu 25 | $PROJECT_TAG=${project.version} 26 | 27 | tar xvzf $PROJECT_NAME-$PROJECT_TAG-src.tar.gz 28 | 29 | In the rest of the procedure $srcdir reference the directory in which the source code is uncompress. 30 | export srcdir=$PWD/$PROJECT_NAME-$PROJECT_TAG 31 | 32 | 33 | Motu server build: 34 | ---------------------------------------- 35 | cd $srcdir/$PROJECT_NAME-parent 36 | mvn install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true 37 | 38 | 39 | ==> the generated distribution is under your local maven repository : 40 | $srcdir/$PROJECT_NAME-distribution/target/$PROJECT_NAME-distribution.tar.gz 41 | 42 | 43 | 44 | Motu client build: 45 | ---------------------------------------- 46 | $PROJECT_NAME=motu-client-python 47 | cd $srcdir/$PROJECT_NAME 48 | mvn install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true 49 | 50 | 51 | ==> the generated distribution is under your local maven repository : 52 | $srcdir/$PROJECT_NAME/target/$PROJECT_NAME.tar.gz 53 | 54 | -------------------------------------------------------------------------------- /motu-library-cas/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | 4 | 5 | cls.motu 6 | 7 | motu-parent 8 | 3.12.01 9 | ../motu-parent 10 | 11 | motu-library-cas 12 | Motu Library CAS 13 | This package holds the components of CAS utilities and tools. 14 | 15 | 16 | 17 | commons-httpclient 18 | commons-httpclient 19 | 20 | 21 | com.sun.jersey 22 | jersey-core 23 | 24 | 25 | com.sun.jersey 26 | jersey-client 27 | 28 | 29 | commons-io 30 | commons-io 31 | 32 | 33 | org.jasig.cas.client 34 | cas-client-core 35 | 36 | 37 | 38 | cls.motu 39 | motu-api-message 40 | 41 | 42 | 43 | 44 | junit 45 | junit 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /motu-scripts/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | 7 | cls.motu 8 | motu-parent 9 | 3.12.01 10 | ../motu-parent 11 | 12 | 13 | motu-scripts 14 | Motu scripts 15 | pom 16 | Artefact containing the scripts to start/stop Motu 17 | 18 | 19 | 20 | 21 | 22 | maven-assembly-plugin 23 | 2.4 24 | 25 | ${project.artifactId}-${project.version} 26 | false 27 | 28 | ${project.basedir}/src/main/assembly/delivery.xml 29 | 30 | 31 | 32 | 33 | make-assembly 34 | package 35 | 36 | single 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/config/IDALConfigManager.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.config; 2 | 3 | import java.util.List; 4 | 5 | import fr.cls.atoll.motu.web.bll.config.updater.IConfigUpdatedListener; 6 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 7 | import fr.cls.atoll.motu.web.dal.config.stdname.xml.model.StandardName; 8 | import fr.cls.atoll.motu.web.dal.config.version.IDALVersionManager; 9 | import fr.cls.atoll.motu.web.dal.config.xml.model.MotuConfig; 10 | 11 | /** 12 | *
13 | *
14 | * Copyright : Copyright (c) 2016
15 | *
16 | * Société : CLS (Collecte Localisation Satellites) 17 | * 18 | * @author Sylvain MARTY 19 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 20 | */ 21 | public interface IDALConfigManager { 22 | 23 | /** 24 | * . 25 | * 26 | * @return 27 | */ 28 | String getCasServerUrl(); 29 | 30 | /** 31 | * . 32 | * 33 | * @return 34 | */ 35 | boolean isCasActivated(); 36 | 37 | /** 38 | * . 39 | * 40 | * @throws MotuException 41 | */ 42 | void init() throws MotuException; 43 | 44 | void setConfigUpdatedListener(IConfigUpdatedListener configUpdatedListener_); 45 | 46 | /** 47 | * . 48 | * 49 | * @return 50 | */ 51 | MotuConfig getMotuConfig(); 52 | 53 | /** 54 | * . 55 | * 56 | * @return 57 | */ 58 | List getStandardNameList(); 59 | 60 | /** 61 | * . 62 | * 63 | * @return 64 | */ 65 | String getMotuConfigurationFolderPath(); 66 | 67 | /** 68 | * . 69 | * 70 | * @return 71 | */ 72 | IDALVersionManager getVersionManager(); 73 | } 74 | -------------------------------------------------------------------------------- /motu-library-cas/src/main/java/fr/cls/atoll/motu/library/cas/util/HttpUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Motu, a high efficient, robust and Standard compliant Web Server for Geographic 3 | * Data Dissemination. 4 | * 5 | * http://cls-motu.sourceforge.net/ 6 | * 7 | * (C) Copyright 2009-2010, by CLS (Collecte Localisation Satellites) - 8 | * http://www.cls.fr - and Contributors 9 | * 10 | * 11 | * This library is free software; you can redistribute it and/or modify it 12 | * under the terms of the GNU Lesser General Public License as published by 13 | * the Free Software Foundation; either version 2.1 of the License, or 14 | * (at your option) any later version. 15 | * 16 | * This library is distributed in the hope that it will be useful, but 17 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 18 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 19 | * License for more details. 20 | * 21 | * You should have received a copy of the GNU Lesser General Public License 22 | * along with this library; if not, write to the Free Software Foundation, 23 | * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 24 | */ 25 | package fr.cls.atoll.motu.library.cas.util; 26 | 27 | import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager; 28 | 29 | public class HttpUtil { 30 | 31 | public static MultiThreadedHttpConnectionManager createConnectionManager() { 32 | 33 | MultiThreadedHttpConnectionManager connectionManager = new MultiThreadedHttpConnectionManager(); 34 | connectionManager.getParams().setDefaultMaxConnectionsPerHost(25); 35 | connectionManager.getParams().setMaxTotalConnections(250); 36 | 37 | return connectionManager; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /motu-library-inventory/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/catalog/AbstractCatalogLoader.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.catalog; 2 | 3 | import fr.cls.atoll.motu.web.dal.config.xml.model.CatalogService; 4 | import fr.cls.atoll.motu.web.dal.request.netcdf.data.CatalogData; 5 | import fr.cls.atoll.motu.web.dal.request.netcdf.data.Product; 6 | 7 | /** 8 | *
9 | *
10 | * Copyright : Copyright (c) 2016
11 | *
12 | * Société : CLS (Collecte Localisation Satellites) 13 | * 14 | * @author Sylvain MARTY 15 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 16 | */ 17 | public class AbstractCatalogLoader { 18 | 19 | protected String getCatalogURL(CatalogService catalogService) { 20 | String url = catalogService.getUrlSite(); 21 | if (!catalogService.getUrlSite().endsWith("/")) { 22 | url += "/"; 23 | } 24 | return url + catalogService.getName(); 25 | } 26 | 27 | /** 28 | * Associates the specified value with the specified key in this map (optional operation). 29 | * 30 | * @param product_ value to be associated with the specified key. 31 | * @param key key with which the specified value is to be associated. 32 | * 33 | * @return previous value associated with specified key, or null 34 | * 35 | * @see java.util.Map#put(Object,Object) 36 | * @uml.property name="products" 37 | */ 38 | protected Product putProducts(String key, Product product, CatalogData cd) { 39 | if (key == null || product == null) { 40 | return null; 41 | } 42 | 43 | cd.getProductsByTdsUrl().put(product.getTdsUrlPath(), product); 44 | 45 | return cd.getProducts().put(key.trim(), product); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /motu-scripts/src/main/scripts/bin/tomcatMetrics/countNbRqtForAllActionsFromTomcatLogs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Count how many requests have been done 3 | # $1=empty(i.e. Today)|DD|MM-DD|YYYY-MM-DD 4 | #SEARCH_DATE=2018-09-18 5 | 6 | cd "$(dirname "$0")" 7 | 8 | TODAY=`date --iso-8601` 9 | YYYY=${TODAY:0:4} 10 | MM=${TODAY:5:2} 11 | DD=${TODAY:8:2} 12 | 13 | if [ "$#" -ge 1 ]; then 14 | param1Length=${#1} 15 | if [[ "$1" =~ .*h.* ]]; then 16 | echo "Usage: $0 [empty(i.e. Today)|DD|MM-DD|YYYY-MM-DD]" 17 | exit 0 18 | elif [ $param1Length = 2 ]; then 19 | DD=$1 20 | elif [ $param1Length = 5 ]; then 21 | MM=${1:0:2} 22 | DD=${1:3:2} 23 | elif [ $param1Length = 10 ]; then 24 | SEARCH_DATE=$1 25 | else 26 | echo "Usage: $0 [empty(i.e. Today)|DD|MM-DD|YYYY-MM-DD]" 27 | exit 1 28 | fi 29 | fi 30 | 31 | if [ -z "$SEARCH_DATE" ]; then 32 | SEARCH_DATE=$YYYY-$MM-$DD 33 | fi 34 | 35 | DT=`date --iso-8601=s` 36 | echo "--- $SEARCH_DATE, generated the $DT" 37 | for actionName in debug describecoverage describeproduct getreqstatus getsize gettimecov httperror listcatalog listservices root productdownload productdownloadhome welcome; do 38 | countAction=`./countNbRqtFor1ActionFromTomcatLogs.sh $actionName $SEARCH_DATE` 39 | if [ $? != 0 ]; then 40 | ./countNbRqtFor1ActionFromTomcatLogs.sh $actionName $SEARCH_DATE 41 | exit $? 42 | fi 43 | 44 | if [ "$actionName" == "root" ]; then 45 | printf "%25s%s%4d\n" " ( /Motu ) listservices" "=" "$countAction" 46 | else 47 | #Just to put in evidence the download action 48 | sufix="" 49 | if [ "$actionName" == "productdownload" ]; then 50 | sufix=" // is the download action" 51 | fi 52 | printf "%25s%s%4d %s\n" "$prefix$actionName" "=" "$countAction" "$sufix" 53 | fi 54 | done 55 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/dal/config/MotuConfigJAXB.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.dal.config; 2 | 3 | import javax.xml.bind.JAXBContext; 4 | import javax.xml.bind.JAXBException; 5 | import javax.xml.bind.Unmarshaller; 6 | 7 | import org.apache.logging.log4j.LogManager; 8 | import org.apache.logging.log4j.Logger; 9 | 10 | import fr.cls.atoll.motu.web.bll.exception.MotuException; 11 | import fr.cls.atoll.motu.web.dal.config.xml.model.MotuConfig; 12 | 13 | public class MotuConfigJAXB { 14 | 15 | public static MotuConfigJAXB s_instance = null; 16 | private static final Logger LOGGER = LogManager.getLogger(); 17 | 18 | private Unmarshaller unmarshaller; 19 | 20 | public static MotuConfigJAXB getInstance() { 21 | if (s_instance == null) { 22 | s_instance = new MotuConfigJAXB(); 23 | } 24 | return s_instance; 25 | } 26 | 27 | /** 28 | * Inits the JAXB motu msg. 29 | * 30 | * @throws JAXBException 31 | * 32 | * @throws MotuException the motu exception 33 | */ 34 | public void init() throws JAXBException { 35 | if (getUnmarshaller() == null) { 36 | try { 37 | JAXBContext jc = JAXBContext.newInstance(MotuConfig.class.getPackage().getName()); 38 | setUnmarshaller(jc.createUnmarshaller()); 39 | } catch (JAXBException e) { 40 | LOGGER.error("Error while initializing MotuConfigJAXB", e); 41 | } 42 | } 43 | } 44 | 45 | private MotuConfigJAXB() { 46 | } 47 | 48 | public Unmarshaller getUnmarshaller() { 49 | return unmarshaller; 50 | } 51 | 52 | private void setUnmarshaller(Unmarshaller u) { 53 | unmarshaller = u; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /motu-web/src/main/webapp/css/yaml/add-ons/rtl-support/navigation/nav_shinybuttons-rtl.css: -------------------------------------------------------------------------------- 1 | /** 2 | * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework 3 | * 4 | * (en) RTL Horizontal list navigation "Shiny Buttons" 5 | * (de) RTL Horizontale Navigationsliste "Shiny Buttons" 6 | * 7 | * @note: Many thanks to Alexander Hass (http://www.yaml-fuer-drupal.de/) for contribution 8 | * 9 | * @copyright Copyright 2005-2010, Dirk Jesse 10 | * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/), 11 | * YAML-C (http://www.yaml.de/en/license/license-conditions.html) 12 | * @link http://www.yaml.de 13 | * @package yaml 14 | * @version 3.3 15 | * @revision $Revision: 466 $ 16 | * @lastmodified $Date: 2010-09-14 21:19:30 +0200 (Di, 14 Sep 2010) $ 17 | */ 18 | 19 | @media all 20 | { 21 | /** 22 | * (en) Workaround disappearing list elements on hover 23 | * (de) Workaround verhindert das Verschwinden der Listenelemente beim Hovern 24 | * 25 | * @workaround 26 | * @affected IE 5.x/Win, IE6, IE7 27 | * @css-for IE 5.x/Win, IE6, IE7 28 | * @valid yes 29 | */ 30 | 31 | .hlist * { direction:ltr !important; } 32 | .hlist a, .hlist strong { direction:rtl !important; } 33 | 34 | /*------------------------------------------------------------------------------------------------------*/ 35 | 36 | .hlist ul { 37 | position:relative; 38 | float:right; 39 | /* (en) Left margin of the first button */ 40 | /* (de) Abstand des ersten Buttons vom linken Rand */ 41 | margin-left: 0; /* Reset LTR */ 42 | margin-right: 50px; 43 | } 44 | 45 | .hlist ul li { 46 | float: right; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /motu-web/src/main/java/fr/cls/atoll/motu/web/usl/request/parameter/validator/LongitudeHTTPParameterValidator.java: -------------------------------------------------------------------------------- 1 | package fr.cls.atoll.motu.web.usl.request.parameter.validator; 2 | 3 | import fr.cls.atoll.motu.web.common.utils.StringUtils; 4 | import fr.cls.atoll.motu.web.usl.request.parameter.exception.InvalidHTTPParameterException; 5 | 6 | /** 7 | *
8 | *
9 | * Copyright : Copyright (c) 2016
10 | *
11 | * Société : CLS (Collecte Localisation Satellites) 12 | * 13 | * @author Sylvain MARTY 14 | * @version $Revision: 1.1 $ - $Date: 2007-05-22 16:56:28 $ 15 | */ 16 | public class LongitudeHTTPParameterValidator extends AbstractHTTPParameterValidator { 17 | 18 | public LongitudeHTTPParameterValidator(String parameterName_, String parameterValue_) { 19 | super(parameterName_, parameterValue_); 20 | } 21 | 22 | public LongitudeHTTPParameterValidator(String parameterName_, String parameterValue_, String defaultValue_) { 23 | this(parameterName_, parameterValue_); 24 | if (StringUtils.isNullOrEmpty(parameterValue_)) { 25 | setParameterValue(defaultValue_); 26 | } 27 | } 28 | 29 | /** 30 | * . 31 | * 32 | */ 33 | @Override 34 | public Double onValidateAction() throws InvalidHTTPParameterException { 35 | String longitudeStr = getParameterValue(); 36 | try { 37 | Double longitude = Double.parseDouble(longitudeStr); 38 | return longitude; 39 | } catch (Exception e) { 40 | throw new InvalidHTTPParameterException(getParameterName(), getParameterValue(), getParameterBoundaries()); 41 | } 42 | } 43 | 44 | @Override 45 | protected String getParameterBoundaries() { 46 | return "[-∞;∞]"; 47 | } 48 | } 49 | --------------------------------------------------------------------------------