├── skel ├── var │ ├── log │ │ └── .empty-dir │ ├── nfs │ │ └── .empty-dir │ ├── qos │ │ └── .empty-dir │ ├── run │ │ └── .empty-dir │ ├── alarms │ │ └── .empty-dir │ ├── billing │ │ └── .empty-dir │ ├── config │ │ └── .empty-dir │ ├── star │ │ └── .empty-dir │ ├── credentials │ │ └── .empty-dir │ ├── pool-history │ │ └── .empty-dir │ ├── resilience │ │ └── .empty-dir │ ├── spool │ │ └── star │ │ │ └── .empty-dir │ ├── statistics │ │ └── .empty-dir │ └── httpd │ │ ├── .empty-dir │ │ └── wlcg-tape-rest-api.json ├── etc │ ├── layouts │ │ └── .empty-dir │ ├── admin │ │ └── users │ │ │ ├── acls │ │ │ └── .empty-dir │ │ │ ├── meta │ │ │ └── .empty-dir │ │ │ └── relations │ │ │ └── .empty-dir │ ├── gplazma.conf │ └── dcache.conf ├── share │ ├── dcache-view-admin │ │ └── .empty-dir │ ├── pnfs │ │ ├── psql_drop_companion.sql │ │ └── psql_install_companion.sql │ ├── webdav │ │ └── static │ │ │ ├── css │ │ │ ├── custom.css │ │ │ ├── solid.min.css │ │ │ └── bootstrap.custom.css │ │ │ ├── images │ │ │ └── favicon.ico │ │ │ ├── webfonts │ │ │ ├── fa-brands-400.ttf │ │ │ ├── fa-regular-400.ttf │ │ │ ├── fa-solid-900.ttf │ │ │ ├── fa-solid-900.woff2 │ │ │ ├── fa-brands-400.woff2 │ │ │ ├── fa-regular-400.woff2 │ │ │ ├── fa-v4compatibility.ttf │ │ │ └── fa-v4compatibility.woff2 │ │ │ └── tablesorter │ │ │ ├── css │ │ │ ├── images │ │ │ │ ├── ice-asc.gif │ │ │ │ ├── black-asc.gif │ │ │ │ ├── black-desc.gif │ │ │ │ ├── green-asc.gif │ │ │ │ ├── green-desc.gif │ │ │ │ ├── ice-desc.gif │ │ │ │ ├── white-asc.gif │ │ │ │ ├── white-desc.gif │ │ │ │ ├── dropbox-asc.png │ │ │ │ ├── dropbox-desc.png │ │ │ │ ├── green-header.gif │ │ │ │ ├── ice-unsorted.gif │ │ │ │ ├── black-unsorted.gif │ │ │ │ ├── green-unsorted.gif │ │ │ │ ├── metro-black-asc.png │ │ │ │ ├── metro-loading.gif │ │ │ │ ├── metro-unsorted.png │ │ │ │ ├── metro-white-asc.png │ │ │ │ ├── white-unsorted.gif │ │ │ │ ├── metro-black-desc.png │ │ │ │ ├── metro-white-desc.png │ │ │ │ ├── dropbox-asc-hovered.png │ │ │ │ ├── dropbox-desc-hovered.png │ │ │ │ ├── bootstrap-black-unsorted.png │ │ │ │ └── bootstrap-white-unsorted.png │ │ │ └── psd │ │ │ │ ├── green-asc.psd │ │ │ │ ├── green-desc.psd │ │ │ │ ├── metro-style.psd │ │ │ │ └── green-unsorted.psd │ │ │ └── addons │ │ │ └── pager │ │ │ └── icons │ │ │ ├── last.png │ │ │ ├── next.png │ │ │ ├── prev.png │ │ │ ├── first.png │ │ │ └── loading.gif │ ├── httpd │ │ └── static │ │ │ ├── images │ │ │ ├── bg.jpg │ │ │ ├── area.gif │ │ │ ├── cian.gif │ │ │ ├── line.gif │ │ │ ├── pMay.gif │ │ │ ├── sgi.gif │ │ │ ├── tux.gif │ │ │ ├── bg-home.jpg │ │ │ ├── bluebox.gif │ │ │ ├── eaglebw.gif │ │ │ ├── navybox.gif │ │ │ ├── new01.gif │ │ │ ├── p2001.gif │ │ │ ├── pMarch.gif │ │ │ ├── redbox.gif │ │ │ ├── sorry.gif │ │ │ ├── sunlogo.gif │ │ │ ├── tabaco.gif │ │ │ ├── trudex.gif │ │ │ ├── trudey.gif │ │ │ ├── violet.gif │ │ │ ├── birdline.gif │ │ │ ├── dark-grey.gif │ │ │ ├── desy_logo.gif │ │ │ ├── dev_trans.gif │ │ │ ├── developer.gif │ │ │ ├── download.gif │ │ │ ├── eaglered.gif │ │ │ ├── eurogate.gif │ │ │ ├── greenbox.gif │ │ │ ├── large001.gif │ │ │ ├── new-green.gif │ │ │ ├── orangebox.gif │ │ │ ├── pnfslogo1.gif │ │ │ ├── rateDist.gif │ │ │ ├── s_top_tux.gif │ │ │ ├── yellowbox.gif │ │ │ ├── dark-tabaco.gif │ │ │ ├── eagle-grey.gif │ │ │ ├── eagle-main.gif │ │ │ ├── eagle_logo.gif │ │ │ ├── fermi_logo.gif │ │ │ ├── newsletter.gif │ │ │ ├── documentation.gif │ │ │ ├── eurogatetrans.gif │ │ │ ├── pnfslogotrans.gif │ │ │ ├── desy_logo_trans.gif │ │ │ ├── eagle_logo_draft.gif │ │ │ ├── fermi_logo_trans.gif │ │ │ └── eurogatetranssmall.gif │ │ │ └── styles │ │ │ ├── cellInfo.css │ │ │ ├── usageInfo.css │ │ │ ├── transfers.css │ │ │ ├── queueInfo.css │ │ │ └── restoreHandler.css │ ├── cells │ │ ├── acm.fragment │ │ ├── import-arguments.fragment │ │ ├── tunnel-none.fragment │ │ ├── stage.fragment │ │ └── preload.fragment │ ├── examples │ │ ├── xrootd │ │ │ └── keystore │ │ ├── layouts │ │ │ └── pool.conf │ │ └── kerberos │ │ │ ├── jgss.conf │ │ │ ├── jgss_host.conf │ │ │ └── jgss_HTTP.conf │ ├── lib │ │ └── upgrade_space_manager_schema.sh │ ├── services │ │ ├── hoppingmanager.batch │ │ ├── ping.batch │ │ ├── telemetry.batch │ │ ├── info.batch │ │ ├── missing-files.batch │ │ └── topo.batch │ └── defaults │ │ ├── xrootd-scitoken.properties │ │ └── xrootd-alice-token.properties ├── doc │ └── examples │ │ └── needrestart │ │ ├── exclude-dcache.conf │ │ ├── exclude-zookeeper.conf │ │ └── exclude-postgresql.conf ├── lib │ └── systemd │ │ └── system │ │ └── dcache.target └── sbin │ └── dcache-billing-indexer ├── packages ├── fhs │ └── src │ │ └── main │ │ ├── deb │ │ ├── compat │ │ ├── dcache.cron.daily │ │ ├── dcache.logrotate │ │ ├── changelog │ │ └── prerm │ │ ├── scripts │ │ ├── dcache.logrotate │ │ ├── dcache.rsyslog │ │ └── dcache-limits.conf │ │ └── docker │ │ └── Dockerfile ├── system-test │ └── src │ │ └── main │ │ ├── skel │ │ ├── etc │ │ │ ├── multi-mapfile │ │ │ ├── omnisession.conf │ │ │ ├── grid-security │ │ │ │ └── vomsdir │ │ │ │ │ └── .empty-dir │ │ │ ├── dcache.conf │ │ │ ├── exports │ │ │ ├── gplazma.conf │ │ │ └── admin │ │ │ │ └── ssh_host_rsa_key.pub │ │ ├── plugins │ │ │ └── .empty-dir │ │ └── var │ │ │ ├── tmp │ │ │ └── .empty-dir │ │ │ ├── admin │ │ │ └── .empty-dir │ │ │ ├── pools │ │ │ └── tape │ │ │ │ └── .empty-dir │ │ │ └── httpd │ │ │ └── wlcg-tape-rest-api.json │ │ └── bin │ │ └── hsqldb └── tar │ └── src │ └── main │ └── container │ ├── je.properties │ ├── dcache.conf │ ├── exports │ └── s3-tape.yml ├── modules ├── gplazma2-voms │ ├── README.MD │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── dcache │ ├── src │ │ ├── test │ │ │ ├── resources │ │ │ │ └── org │ │ │ │ │ └── dcache │ │ │ │ │ ├── boot │ │ │ │ │ └── empty.batch │ │ │ │ │ └── tests │ │ │ │ │ └── storageinfo │ │ │ │ │ └── storageInfo-1.7 │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── dcache │ │ │ │ └── tests │ │ │ │ ├── util │ │ │ │ └── CecheExceptionTest.java │ │ │ │ └── cells │ │ │ │ └── Message.java │ │ └── main │ │ │ ├── resources │ │ │ ├── org │ │ │ │ └── dcache │ │ │ │ │ ├── services │ │ │ │ │ ├── billing │ │ │ │ │ │ └── plot │ │ │ │ │ │ │ └── plot.properties │ │ │ │ │ └── pinmanager1 │ │ │ │ │ │ └── changelog │ │ │ │ │ │ └── db.changelog-master.xml │ │ │ │ │ ├── pinmanager │ │ │ │ │ └── model │ │ │ │ │ │ └── db.changelog-master.xml │ │ │ │ │ └── alarms │ │ │ │ │ └── db │ │ │ │ │ └── sql │ │ │ │ │ └── alarms.changelog-master.xml │ │ │ └── META-INF │ │ │ │ └── services │ │ │ │ ├── org.dcache.alarms.spi.LogEntryListenerFactory │ │ │ │ ├── dmg.cells.services.login.LoginCellProvider │ │ │ │ ├── org.dcache.poolmanager.PartitionFactory │ │ │ │ └── org.dcache.pool.nearline.spi.NearlineStorageProvider │ │ │ ├── java │ │ │ ├── org │ │ │ │ └── dcache │ │ │ │ │ ├── util │ │ │ │ │ ├── expression │ │ │ │ │ │ ├── Type.java │ │ │ │ │ │ ├── TypeMismatchException.java │ │ │ │ │ │ ├── UnknownIdentifierException.java │ │ │ │ │ │ └── Symbol.java │ │ │ │ │ ├── IoPriority.java │ │ │ │ │ └── list │ │ │ │ │ │ └── DirectoryStream.java │ │ │ │ │ ├── pool │ │ │ │ │ ├── FaultListener.java │ │ │ │ │ ├── repository │ │ │ │ │ │ ├── FileStoreState.java │ │ │ │ │ │ ├── OutOfDiskException.java │ │ │ │ │ │ ├── StickyChangeEvent.java │ │ │ │ │ │ ├── ReplicaState.java │ │ │ │ │ │ ├── v3 │ │ │ │ │ │ │ └── entry │ │ │ │ │ │ │ │ └── state │ │ │ │ │ │ │ │ ├── Cached.java │ │ │ │ │ │ │ │ ├── ErrorState.java │ │ │ │ │ │ │ │ ├── ToStore.java │ │ │ │ │ │ │ │ ├── FromClient.java │ │ │ │ │ │ │ │ ├── FromStore.java │ │ │ │ │ │ │ │ ├── Precious.java │ │ │ │ │ │ │ │ ├── Removed.java │ │ │ │ │ │ │ │ └── ToClient.java │ │ │ │ │ │ └── AbstractStateChangeListener.java │ │ │ │ │ ├── FaultAction.java │ │ │ │ │ ├── classic │ │ │ │ │ │ ├── IoRequestState.java │ │ │ │ │ │ ├── Cancellable.java │ │ │ │ │ │ ├── NopCompletionHandler.java │ │ │ │ │ │ ├── LFSReplicaStatePolicyFactory.java │ │ │ │ │ │ └── ReplicaStatePolicy.java │ │ │ │ │ ├── migration │ │ │ │ │ │ ├── LruOrder.java │ │ │ │ │ │ ├── SizeOrder.java │ │ │ │ │ │ ├── PoolSelectionStrategy.java │ │ │ │ │ │ ├── StickyFilter.java │ │ │ │ │ │ ├── PoolMigrationJobMessage.java │ │ │ │ │ │ ├── PoolMigrationPingMessage.java │ │ │ │ │ │ ├── PoolMigrationCopyFinishedMessage.java │ │ │ │ │ │ └── StorageClassFilter.java │ │ │ │ │ └── movers │ │ │ │ │ │ └── DataBlocksRecipient.java │ │ │ │ │ ├── services │ │ │ │ │ ├── topology │ │ │ │ │ │ ├── CellsTopology.java │ │ │ │ │ │ └── HostnameService.java │ │ │ │ │ └── ssh2 │ │ │ │ │ │ └── SshOutputStream.java │ │ │ │ │ ├── net │ │ │ │ │ └── ChallengeReader.java │ │ │ │ │ ├── pinmanager │ │ │ │ │ └── AuthorizationPolicy.java │ │ │ │ │ ├── boot │ │ │ │ │ └── LayoutPrinter.java │ │ │ │ │ ├── namespace │ │ │ │ │ └── ListHandler.java │ │ │ │ │ ├── missingfiles │ │ │ │ │ ├── Action.java │ │ │ │ │ └── plugins │ │ │ │ │ │ ├── PluginVisitor.java │ │ │ │ │ │ └── Plugin.java │ │ │ │ │ ├── cells │ │ │ │ │ └── MessageCallback.java │ │ │ │ │ └── poolmanager │ │ │ │ │ ├── LruPartitionFactory.java │ │ │ │ │ ├── RandomPartitionFactory.java │ │ │ │ │ └── WassPartitionFactory.java │ │ │ └── diskCacheV111 │ │ │ │ ├── util │ │ │ │ ├── CacheFileAvailable.java │ │ │ │ ├── HsmLocation.java │ │ │ │ ├── CtaLocationExtractor.java │ │ │ │ └── HpssLocationExtractor.java │ │ │ │ ├── admin │ │ │ │ └── UserMetaDataProvider.java │ │ │ │ ├── services │ │ │ │ └── RemoteTransferManager.java │ │ │ │ └── poolManager │ │ │ │ └── PoolCore.java │ │ │ ├── smc │ │ │ └── org │ │ │ │ └── dcache │ │ │ │ └── pool │ │ │ │ └── migration │ │ │ │ └── Task_sm.dot.png │ │ │ └── spotbugs │ │ │ └── exclude-filter.xml │ └── docs │ │ ├── SpaceManagerDesign.doc │ │ └── dCacheSpaceManagerDesign.doc ├── gplazma2-roles │ ├── README.md │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── chimera │ ├── README.md │ └── src │ │ ├── main │ │ └── resources │ │ │ └── META-INF │ │ │ └── services │ │ │ ├── org.dcache.chimera.qos.spi.DbDriverProvider │ │ │ ├── org.dcache.chimera.quota.spi.DbDriverProvider │ │ │ └── org.dcache.chimera.spi.DBDriverProvider │ │ └── test │ │ └── resources │ │ └── org │ │ └── dcache │ │ └── chimera │ │ └── chimera-test.properties ├── dcache-vehicles │ ├── README.md │ └── src │ │ └── main │ │ └── java │ │ ├── org │ │ └── dcache │ │ │ ├── namespace │ │ │ └── FileType.java │ │ │ ├── vehicles │ │ │ ├── BeanQueryAllPropertiesMessage.java │ │ │ ├── BeanQueryMessage.java │ │ │ └── BeanQuerySinglePropertyMessage.java │ │ │ └── pool │ │ │ └── repository │ │ │ ├── FileSizeMismatchException.java │ │ │ └── DuplicateEntryException.java │ │ └── diskCacheV111 │ │ ├── vehicles │ │ ├── IpProtocolInfo.java │ │ ├── PoolFlushControlMessage.java │ │ ├── PoolManagerGetPoolsByLinkMessage.java │ │ ├── PnfsDeleteEntryNotificationMessage.java │ │ ├── PoolManagerGetPoolsByNameMessage.java │ │ ├── PnfsAddCacheLocationMessage.java │ │ └── transferManager │ │ │ └── TransferCompleteMessage.java │ │ └── util │ │ ├── InProgressCacheException.java │ │ ├── InconsistentCacheException.java │ │ ├── SourceCostException.java │ │ ├── DestinationCostException.java │ │ ├── FileInCacheException.java │ │ ├── OutOfDateCacheException.java │ │ ├── NotDirCacheException.java │ │ ├── FileNotFoundCacheException.java │ │ ├── NotFileCacheException.java │ │ ├── TimeoutCacheException.java │ │ ├── IteratorCookie.java │ │ ├── FileExistsCacheException.java │ │ ├── ConfigurationException.java │ │ ├── PermissionDeniedCacheException.java │ │ ├── FileNotInCacheException.java │ │ ├── FileIsNewCacheException.java │ │ └── InvalidMessageCacheException.java ├── ftp-client │ └── readme.md ├── gplazma2-nsswitch │ ├── readme │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── acl │ ├── readme.txt │ └── src │ │ └── test │ │ └── resources │ │ └── org │ │ └── dcache │ │ └── acl │ │ └── create-hsqldb.sql ├── dcache-history │ └── README ├── gplazma2-nis │ ├── README.md │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-banfile │ └── src │ │ ├── test │ │ └── resources │ │ │ └── ban.conf │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── logback-test-config │ └── src │ │ └── main │ │ └── resources │ │ └── logback.xml ├── srm-common │ ├── README.md │ └── src │ │ └── main │ │ ├── spotbugs │ │ └── exclude-filter.xml │ │ └── patches │ │ └── 02-add-isProcessing.diff ├── srm-client │ └── src │ │ └── main │ │ ├── sbin │ │ └── sdn │ │ ├── bin │ │ ├── srmls │ │ ├── srmmv │ │ ├── srmping │ │ ├── srmrm │ │ ├── srmmkdir │ │ ├── srmrmdir │ │ ├── srm-abort-files │ │ ├── srm-abort-request │ │ ├── srm-bring-online │ │ ├── srm-get-space-tokens │ │ ├── srm-release-files │ │ ├── srm-release-space │ │ ├── srm-reserve-space │ │ ├── srm-get-permissions │ │ ├── srm-set-permissions │ │ ├── srm-check-permissions │ │ ├── srm-get-request-summary │ │ ├── srm-get-request-tokens │ │ ├── srm-get-space-metadata │ │ └── srm-extend-file-lifetime │ │ ├── resources │ │ └── META-INF │ │ │ └── services │ │ │ └── org.dcache.srm.shell.FileTransferAgent │ │ ├── conf │ │ ├── Makefile │ │ ├── config.inc │ │ └── logback.xml │ │ └── java │ │ └── org │ │ └── dcache │ │ └── srm │ │ └── shell │ │ ├── CredentialAware.java │ │ └── FileTransfer.java ├── srm-server │ ├── bin │ │ ├── generatedocs.sh │ │ ├── chown.sh │ │ ├── stat.sh │ │ ├── export.sh │ │ └── open_ls_ticket │ ├── doc │ │ ├── dCacheSRMDesign.odt │ │ ├── dCacheSRMDesign.sxw │ │ ├── unixfs │ │ │ ├── README.pdf │ │ │ └── README.sxw │ │ ├── Srm.Code.Structure.sxw │ │ ├── SRM.Request.Scheduler.Design.odt │ │ ├── SRM.Request.Scheduler.Design.sxw │ │ └── index.html │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── org │ │ │ │ └── dcache │ │ │ │ └── srm │ │ │ │ ├── qos │ │ │ │ └── QOSTicket.java │ │ │ │ ├── SRMUserManager.java │ │ │ │ ├── RemoveFileCallback.java │ │ │ │ ├── scheduler │ │ │ │ ├── StateChangeListener.java │ │ │ │ └── JobIdGenerator.java │ │ │ │ ├── CopyCallbacks.java │ │ │ │ ├── handler │ │ │ │ └── CredentialAwareHandler.java │ │ │ │ ├── request │ │ │ │ └── DelegatedCredentialAware.java │ │ │ │ └── util │ │ │ │ └── events │ │ │ │ └── OneToManyMapChangeListener.java │ │ │ └── resources │ │ │ ├── META-INF │ │ │ └── services │ │ │ │ ├── org.apache.axis.deployment.wsdd.Provider │ │ │ │ ├── org.dcache.srm.scheduler.spi.TransferStrategyProvider │ │ │ │ ├── org.dcache.srm.taperecallscheduling.spi.TapeInfoProviderProvider │ │ │ │ └── org.dcache.srm.scheduler.spi.SchedulingStrategyProvider │ │ │ └── org │ │ │ └── dcache │ │ │ └── srm │ │ │ └── request │ │ │ └── sql │ │ │ └── srmjobstate-214.csv │ ├── wsdl │ │ └── wsdl2java.srm.sh │ └── sbin │ │ └── srmConfigFile.xml ├── cells │ ├── src │ │ └── main │ │ │ ├── resources │ │ │ └── META-INF │ │ │ │ └── services │ │ │ │ └── dmg.cells.services.login.LoginCellProvider │ │ │ └── java │ │ │ └── dmg │ │ │ ├── util │ │ │ ├── Authorizable.java │ │ │ ├── Replaceable.java │ │ │ ├── KeepAliveListener.java │ │ │ ├── LineWriter.java │ │ │ ├── PermissionCheckable.java │ │ │ ├── HttpResponseEngine.java │ │ │ ├── Slf4jInfoWriter.java │ │ │ ├── Slf4jErrorWriter.java │ │ │ ├── HttpBasicAuthenticationException.java │ │ │ └── HttpException.java │ │ │ ├── cells │ │ │ ├── nucleus │ │ │ │ ├── CellTunnel.java │ │ │ │ ├── EnvironmentAware.java │ │ │ │ ├── DomainContextAware.java │ │ │ │ ├── CellMessageSender.java │ │ │ │ ├── CellCommandListener.java │ │ │ │ ├── RoutedMessageEvent.java │ │ │ │ ├── CellMessageReceiver.java │ │ │ │ ├── HasDiagnosticContext.java │ │ │ │ ├── CellEventListener.java │ │ │ │ ├── StartEvent.java │ │ │ │ ├── CellDynamicCommandProvider.java │ │ │ │ ├── MessageEvent.java │ │ │ │ └── SerializationException.java │ │ │ └── services │ │ │ │ └── login │ │ │ │ └── user │ │ │ │ ├── UserMetaDictionary.java │ │ │ │ ├── AcDictionary.java │ │ │ │ ├── AclPermissionException.java │ │ │ │ └── UserRelationable.java │ │ │ └── protocols │ │ │ └── telnet │ │ │ ├── TelnetAuthenticationException.java │ │ │ ├── TelnetOutputStreamWriter.java │ │ │ └── TelnetServerAuthentication.java │ ├── docs │ │ ├── guide │ │ │ ├── tutorial-env.html │ │ │ ├── tutorials.html │ │ │ └── tutorial-CellShell.html │ │ └── index.html │ └── README.md ├── gplazma2 │ └── src │ │ ├── main │ │ └── java │ │ │ └── org │ │ │ └── dcache │ │ │ └── gplazma │ │ │ ├── SessionID.java │ │ │ ├── plugins │ │ │ ├── GPlazmaPlugin.java │ │ │ └── GPlazmaSessionPlugin.java │ │ │ ├── strategies │ │ │ ├── GPlazmaStrategy.java │ │ │ └── PluginCaller.java │ │ │ ├── validation │ │ │ └── DoorValidationStrategyFactory.java │ │ │ ├── loader │ │ │ ├── cli │ │ │ │ └── Command.java │ │ │ └── PluginRepositoryFactory.java │ │ │ └── configuration │ │ │ └── parser │ │ │ ├── ParseException.java │ │ │ └── FactoryConfigurationException.java │ │ └── test │ │ └── java │ │ └── org │ │ └── dcache │ │ └── gplazma │ │ └── IdentityMappingPlugin.java ├── dcache-xrootd │ └── src │ │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ └── services │ │ │ ├── org.dcache.xrootd.plugins.ChannelHandlerProvider │ │ │ ├── org.dcache.xrootd.plugins.AuthenticationProvider │ │ │ ├── org.dcache.xrootd.plugins.AuthorizationProvider │ │ │ └── org.dcache.xrootd.plugins.ProxyDelegationClientFactory │ │ └── java │ │ └── org │ │ └── dcache │ │ └── xrootd │ │ └── door │ │ └── LoginEvent.java ├── missingfiles-semsg │ └── src │ │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ └── services │ │ │ └── org.dcache.missingfiles.plugins.PluginFactory │ │ └── java │ │ └── org │ │ └── dcache │ │ └── missingfiles │ │ └── plugins │ │ └── SEMsgPluginFactory.java ├── dcache-webdav │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.dcache.services.httpd.wellknown.WellKnownProducerFactory ├── gplazma2-kpwd │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-krb5 │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-ldap │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-alise │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-htpasswd │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-oidc-te │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-oidc │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-pyscript │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── dcache-ftp │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── dcache │ │ └── ftp │ │ ├── data │ │ ├── Role.java │ │ ├── Direction.java │ │ ├── ConnectionMonitor.java │ │ └── FTPException.java │ │ └── door │ │ ├── GsiFtpDoorV1.java │ │ └── KerberosFtpDoorV1.java ├── gplazma2-fermi │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── common │ └── src │ │ ├── test │ │ └── resources │ │ │ └── sample21.kpwd │ │ └── main │ │ └── java │ │ └── org │ │ └── dcache │ │ ├── commons │ │ └── stats │ │ │ ├── RequestCounterMXBean.java │ │ │ └── RequestExecutionTimeGaugeMXBean.java │ │ ├── auth │ │ ├── attributes │ │ │ └── LoginAttribute.java │ │ ├── GroupPrincipal.java │ │ └── OpenIdClientSecret.java │ │ └── util │ │ └── SequentialExecutor.java ├── gplazma2-scitoken │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── benchmarks │ └── src │ │ └── main │ │ └── resources │ │ ├── org │ │ └── dcache │ │ │ └── chimera │ │ │ └── chimera-benchmark.properties │ │ └── logback-test.xml ├── dcache-nfs │ └── src │ │ └── test │ │ └── resources │ │ └── org │ │ └── dcache │ │ └── chimera │ │ └── chimera-test.properties ├── gplazma2-multimap │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── dcache-chimera │ └── src │ │ └── test │ │ └── resources │ │ └── org │ │ └── dcache │ │ └── chimera │ │ └── chimera-test.properties ├── dcache-frontend │ └── src │ │ └── main │ │ └── resources │ │ ├── org │ │ └── dcache │ │ │ └── frontend │ │ │ └── metronome │ │ │ └── events-schema.json │ │ └── META-INF │ │ └── services │ │ └── org.dcache.services.httpd.wellknown.WellKnownProducerFactory ├── gplazma2-omnisession │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── gplazma2-grid │ └── src │ │ ├── test │ │ └── resources │ │ │ └── org │ │ │ └── dcache │ │ │ └── gplazma │ │ │ └── plugins │ │ │ ├── vorolemap-ndgf.fixture │ │ │ ├── authzdb.fixture │ │ │ ├── vorolemap-no-wildcard.fixture │ │ │ └── vorolemap-wildcard.fixture │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── common-security │ └── src │ │ └── main │ │ └── scripts │ │ ├── run2.sh │ │ └── sec2.conf ├── gplazma2-jaas │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── gplazma-plugins.xml ├── dcache-srm │ └── src │ │ └── main │ │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.dcache.srm.scheduler.spi.JobDiscriminator ├── dcache-info │ └── src │ │ └── main │ │ ├── java │ │ └── org │ │ │ └── dcache │ │ │ └── services │ │ │ └── info │ │ │ ├── base │ │ │ ├── StateGuide.java │ │ │ ├── guides │ │ │ │ └── VisitEverythingStateGuide.java │ │ │ └── NoMetricStatePathException.java │ │ │ └── Configuration.java │ │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.dcache.services.info.gathers.DgaFactoryService ├── logback-console-config │ └── src │ │ └── main │ │ └── resources │ │ └── logback.xml ├── dcache-qos │ └── src │ │ └── main │ │ └── resources │ │ └── org │ │ └── dcache │ │ └── qos │ │ └── model │ │ └── db.changelog-master.xml ├── dcache-gplazma │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── dcache │ │ └── gplazma │ │ └── plugins │ │ └── NamespaceAware.java ├── dcache-bulk │ └── src │ │ └── main │ │ └── resources │ │ ├── META-INF │ │ └── services │ │ │ └── org.dcache.services.bulk.activity.BulkActivityProvider │ │ └── org │ │ └── dcache │ │ └── services │ │ └── bulk │ │ └── model │ │ └── db.changelog-master.xml ├── dcache-spacemanager │ └── src │ │ └── main │ │ └── java │ │ └── diskCacheV111 │ │ └── services │ │ └── space │ │ └── NoPoolConfiguredSpaceException.java └── common-cli │ └── src │ └── main │ └── java │ └── dmg │ └── util │ └── CommandEvaluationException.java ├── dCache.png ├── docs ├── TheBook │ └── src │ │ └── main │ │ ├── markdown │ │ ├── shared-entities.md │ │ ├── images │ │ │ ├── poolstate.jpg │ │ │ ├── poolstate.png │ │ │ ├── qos-static.png │ │ │ ├── layer_model.jpg │ │ │ ├── bulk-design-v2.png │ │ │ ├── qos-components.png │ │ │ ├── qos-policy-rest.png │ │ │ ├── bulk-request-policy.png │ │ │ ├── qos-file-policy-rest.png │ │ │ ├── dCache-install-anonftp-1.png │ │ │ ├── dCache-install-anonftp-2.png │ │ │ ├── dCache-install-webdav-1.png │ │ │ ├── dCache-install-webdav-2.png │ │ │ ├── dCache-install-webdav-3.png │ │ │ ├── qos-available-transitions.png │ │ │ ├── resilience-pool-sharing.png │ │ │ └── components-of-dCache-system.png │ │ └── css │ │ │ └── dCacheBook-dcacheorg.css │ │ └── html-fragments │ │ ├── footer.html │ │ ├── navigation-index.html │ │ ├── navigation.html │ │ ├── dcacheorg-footer.html │ │ └── header.html └── UserGuide │ └── src │ └── main │ ├── html-fragments │ ├── footer.html │ ├── navigation-index.html │ ├── navigation.html │ ├── dcacheorg-footer.html │ └── header.html │ └── markdown │ ├── tpc_handson.md │ ├── images │ ├── tape-silo.jpg │ ├── bulk-wlcg-1.png │ ├── bulk-wlcg-2.png │ ├── bulk-wlcg-3.png │ ├── bulk-wlcg-4.png │ ├── swagger-ui-1.png │ ├── swagger-ui-2.png │ ├── swagger-ui-3.png │ ├── swagger-ui-4.png │ └── bulk-resource-endpoints.png │ ├── nfs.md │ ├── css │ └── dCacheBook-dcacheorg.css │ ├── protocol.md │ ├── common.md │ ├── readme.md │ └── index.md ├── archetypes └── dcache-nearline-plugin-archetype │ └── src │ ├── test │ └── resources │ │ └── projects │ │ └── basic │ │ ├── goal.txt │ │ └── archetype.properties │ └── main │ └── resources │ └── archetype-resources │ └── src │ └── main │ ├── resources │ └── META-INF │ │ └── services │ │ └── org.dcache.pool.nearline.spi.NearlineStorageProvider │ └── defaults │ └── __name__.properties ├── .ci ├── custom-helm-config.yaml ├── webdav-wn-cvmfs.yaml ├── s2-runner.yaml ├── wn-with-cvmfs-xroot.yaml ├── wn-with-cvmfs.yaml ├── frontend.yaml └── run-xroot-tests.sh ├── .github └── workflows │ └── release.yml └── plugins ├── pom.xml └── hsqldb └── src └── main └── resources └── org └── dcache └── hsqldb └── changelog └── billing-master.xml /skel/var/log/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/nfs/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/qos/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/run/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/etc/layouts/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/alarms/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/billing/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/config/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/star/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/credentials/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/pool-history/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/resilience/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/spool/star/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/statistics/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/fhs/src/main/deb/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /skel/etc/admin/users/acls/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/etc/admin/users/meta/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/etc/admin/users/relations/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/share/dcache-view-admin/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /skel/var/httpd/.empty-dir: -------------------------------------------------------------------------------- 1 | # placeholder 2 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/etc/multi-mapfile: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/plugins/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/var/tmp/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/gplazma2-voms/README.MD: -------------------------------------------------------------------------------- 1 | ## Module: gPlazma2-voms -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/etc/omnisession.conf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/var/admin/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/dcache/src/test/resources/org/dcache/boot/empty.batch: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/gplazma2-roles/README.md: -------------------------------------------------------------------------------- 1 | Name of Module: gplazma2-roles -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/var/pools/tape/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/tar/src/main/container/je.properties: -------------------------------------------------------------------------------- 1 | je.freeDisk=0 2 | -------------------------------------------------------------------------------- /modules/chimera/README.md: -------------------------------------------------------------------------------- 1 | Name : Waldau 2 | Modul : Chimera 3 | 4 | -------------------------------------------------------------------------------- /skel/share/pnfs/psql_drop_companion.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE cacheinfo; 2 | -------------------------------------------------------------------------------- /dCache.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/dCache.png -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/etc/grid-security/vomsdir/.empty-dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/shared-entities.md: -------------------------------------------------------------------------------- 1 | %dcache-version-defn; 2 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/README.md: -------------------------------------------------------------------------------- 1 | ToDo 2 | 3 | Please write the Dok. 4 | 5 | -------------------------------------------------------------------------------- /modules/ftp-client/readme.md: -------------------------------------------------------------------------------- 1 | Modul ftp-client 2 | 3 | author: Lotta Rüger 4 | -------------------------------------------------------------------------------- /modules/gplazma2-nsswitch/readme: -------------------------------------------------------------------------------- 1 | gplazma2-nsswitch 2 | 3 | sarah schulte 4 | -------------------------------------------------------------------------------- /modules/dcache/src/main/resources/org/dcache/services/billing/plot/plot.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/etc/dcache.conf: -------------------------------------------------------------------------------- 1 | dcache.layout=system-test 2 | -------------------------------------------------------------------------------- /packages/tar/src/main/container/dcache.conf: -------------------------------------------------------------------------------- 1 | dcache.layout=docker-layout 2 | 3 | -------------------------------------------------------------------------------- /docs/TheBook/src/main/html-fragments/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/etc/exports: -------------------------------------------------------------------------------- 1 | / *(rw) localhost(rw,no_root_squash) 2 | -------------------------------------------------------------------------------- /archetypes/dcache-nearline-plugin-archetype/src/test/resources/projects/basic/goal.txt: -------------------------------------------------------------------------------- 1 | package -------------------------------------------------------------------------------- /docs/UserGuide/src/main/html-fragments/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /modules/acl/readme.txt: -------------------------------------------------------------------------------- 1 | martins readme.txt 2 | textstmartins readme.txt 3 | texst 4 | 5 | -------------------------------------------------------------------------------- /skel/share/webdav/static/css/custom.css: -------------------------------------------------------------------------------- 1 | .other-locality { 2 | padding: 0 0 0 2px; 3 | } -------------------------------------------------------------------------------- /packages/tar/src/main/container/exports: -------------------------------------------------------------------------------- 1 | / *(rw,no_root_squash,lt=flex_files:nfsv4_1_files) 2 | -------------------------------------------------------------------------------- /docs/TheBook/src/main/html-fragments/navigation-index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/html-fragments/navigation-index.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /skel/doc/examples/needrestart/exclude-dcache.conf: -------------------------------------------------------------------------------- 1 | $nrconf{override_rc}{qr(^dcache\@.+\.service$)} = 0; 2 | -------------------------------------------------------------------------------- /skel/doc/examples/needrestart/exclude-zookeeper.conf: -------------------------------------------------------------------------------- 1 | $nrconf{override_rc}{qr(^zookeeper\.service$)} = 0; 2 | -------------------------------------------------------------------------------- /.ci/custom-helm-config.yaml: -------------------------------------------------------------------------------- 1 | dcache: 2 | configExtra: | 3 | frontend.limits.error.max-allowed = 100 4 | 5 | -------------------------------------------------------------------------------- /modules/dcache-history/README: -------------------------------------------------------------------------------- 1 | This is the readme-file of dcache-history. Alex want to learn how to use github 2 | -------------------------------------------------------------------------------- /modules/gplazma2-nis/README.md: -------------------------------------------------------------------------------- 1 | This is the gplazma2-nis (AAI component) module 2 | 23.07.2019 Vladimir V. 3 | -------------------------------------------------------------------------------- /modules/gplazma2-banfile/src/test/resources/ban.conf: -------------------------------------------------------------------------------- 1 | # this is just an empty file for testing plugin initialisation -------------------------------------------------------------------------------- /modules/logback-test-config/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /modules/srm-common/README.md: -------------------------------------------------------------------------------- 1 | This is the srm-common (storage resource manager) module 2 | 3 | author: Max Patzelt 4 | -------------------------------------------------------------------------------- /skel/doc/examples/needrestart/exclude-postgresql.conf: -------------------------------------------------------------------------------- 1 | $nrconf{override_rc}{qr(^postgresql\@.+\.service$)} = 0; 2 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/sbin/sdn: -------------------------------------------------------------------------------- 1 | ./srm -ls srm://leoheska:8444/pnfs/dhcp.fnal.gov/data/scratch/junk.c1.txt -r=3 2 | -------------------------------------------------------------------------------- /packages/fhs/src/main/deb/dcache.cron.daily: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | /usr/sbin/dcache-billing-indexer -yesterday -compress 4 | -------------------------------------------------------------------------------- /skel/share/httpd/static/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/bg.jpg -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srmls: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -ls "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srmmv: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -mv "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srmping: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -ping "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srmrm: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -rm "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-server/bin/generatedocs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | javadoc -d doc/javadoc -sourcepath src -subpackages org.dcache.srm 3 | -------------------------------------------------------------------------------- /skel/share/httpd/static/images/area.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/area.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/cian.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/cian.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/line.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/pMay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/pMay.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/sgi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/sgi.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/tux.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/tux.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/styles/cellInfo.css: -------------------------------------------------------------------------------- 1 | /* CSS for the Cell-info page: http://dcache.example.org:2288/cellInfo */ 2 | -------------------------------------------------------------------------------- /modules/dcache/docs/SpaceManagerDesign.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/dcache/docs/SpaceManagerDesign.doc -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srmmkdir: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -mkdir "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srmrmdir: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -rmdir "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-server/doc/dCacheSRMDesign.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/srm-server/doc/dCacheSRMDesign.odt -------------------------------------------------------------------------------- /modules/srm-server/doc/dCacheSRMDesign.sxw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/srm-server/doc/dCacheSRMDesign.sxw -------------------------------------------------------------------------------- /modules/srm-server/doc/unixfs/README.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/srm-server/doc/unixfs/README.pdf -------------------------------------------------------------------------------- /modules/srm-server/doc/unixfs/README.sxw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/srm-server/doc/unixfs/README.sxw -------------------------------------------------------------------------------- /skel/share/httpd/static/images/bg-home.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/bg-home.jpg -------------------------------------------------------------------------------- /skel/share/httpd/static/images/bluebox.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/bluebox.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eaglebw.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eaglebw.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/navybox.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/navybox.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/new01.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/new01.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/p2001.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/p2001.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/pMarch.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/pMarch.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/redbox.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/redbox.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/sorry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/sorry.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/sunlogo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/sunlogo.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/tabaco.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/tabaco.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/trudex.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/trudex.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/trudey.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/trudey.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/violet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/violet.gif -------------------------------------------------------------------------------- /modules/srm-server/bin/chown.sh: -------------------------------------------------------------------------------- 1 | 2 | #if script returns to quickly java does not see error code or output!!! 3 | sleep 2 4 | chown $* 5 | -------------------------------------------------------------------------------- /modules/srm-server/bin/stat.sh: -------------------------------------------------------------------------------- 1 | 2 | #if script returns to quickly java does not see error code or output!!! 3 | sleep 2 4 | stat $* 5 | -------------------------------------------------------------------------------- /skel/share/httpd/static/images/birdline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/birdline.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/dark-grey.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/dark-grey.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/desy_logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/desy_logo.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/dev_trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/dev_trans.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/developer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/developer.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/download.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/download.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eaglered.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eaglered.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eurogate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eurogate.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/greenbox.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/greenbox.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/large001.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/large001.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/new-green.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/new-green.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/orangebox.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/orangebox.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/pnfslogo1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/pnfslogo1.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/rateDist.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/rateDist.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/s_top_tux.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/s_top_tux.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/yellowbox.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/yellowbox.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/images/favicon.ico -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-abort-files: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -abortFiles "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/resources/META-INF/services/org.dcache.srm.shell.FileTransferAgent: -------------------------------------------------------------------------------- 1 | org.dcache.srm.shell.GridFTPTransferAgent 2 | -------------------------------------------------------------------------------- /modules/srm-server/doc/Srm.Code.Structure.sxw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/srm-server/doc/Srm.Code.Structure.sxw -------------------------------------------------------------------------------- /skel/share/httpd/static/images/dark-tabaco.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/dark-tabaco.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eagle-grey.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eagle-grey.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eagle-main.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eagle-main.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eagle_logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eagle_logo.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/fermi_logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/fermi_logo.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/newsletter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/newsletter.gif -------------------------------------------------------------------------------- /modules/cells/src/main/resources/META-INF/services/dmg.cells.services.login.LoginCellProvider: -------------------------------------------------------------------------------- 1 | dmg.cells.services.login.LegacyLoginCellProvider 2 | -------------------------------------------------------------------------------- /modules/dcache/docs/dCacheSpaceManagerDesign.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/dcache/docs/dCacheSpaceManagerDesign.doc -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/SessionID.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma; 2 | 3 | public interface SessionID { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-abort-request: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -abortRequest "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-bring-online: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -bringOnline "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-get-space-tokens: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | "${SRM_PATH}/lib/srm" -getSpaceTokens "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-release-files: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -releaseFiles "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-release-space: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -releaseSpace "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-reserve-space: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -reserveSpace "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/qos/QOSTicket.java: -------------------------------------------------------------------------------- 1 | package org.dcache.srm.qos; 2 | 3 | public interface QOSTicket { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/resources/META-INF/services/org.apache.axis.deployment.wsdd.Provider: -------------------------------------------------------------------------------- 1 | org.dcache.srm.util.WSDDJavaLoggingRPCProvider 2 | -------------------------------------------------------------------------------- /skel/share/httpd/static/images/documentation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/documentation.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eurogatetrans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eurogatetrans.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/pnfslogotrans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/pnfslogotrans.gif -------------------------------------------------------------------------------- /docs/TheBook/src/main/html-fragments/navigation.html: -------------------------------------------------------------------------------- 1 |
2 | Back to the contents page. 3 |
4 | -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/poolstate.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/poolstate.jpg -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/poolstate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/poolstate.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/qos-static.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/qos-static.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/html-fragments/navigation.html: -------------------------------------------------------------------------------- 1 |
2 | Back to the contents page. 3 |
4 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/tpc_handson.md: -------------------------------------------------------------------------------- 1 | Third-Party Transfer Examples 2 | ================================== 3 | 4 | 5 | ## gfal2 6 | 7 | ... -------------------------------------------------------------------------------- /modules/chimera/src/main/resources/META-INF/services/org.dcache.chimera.qos.spi.DbDriverProvider: -------------------------------------------------------------------------------- 1 | org.dcache.chimera.qos.spi.PgsqlDbDriverProvider 2 | -------------------------------------------------------------------------------- /modules/chimera/src/main/resources/META-INF/services/org.dcache.chimera.quota.spi.DbDriverProvider: -------------------------------------------------------------------------------- 1 | org.dcache.chimera.quota.spi.PgsqlDbDriverProvider 2 | -------------------------------------------------------------------------------- /modules/dcache/src/main/resources/META-INF/services/org.dcache.alarms.spi.LogEntryListenerFactory: -------------------------------------------------------------------------------- 1 | org.dcache.alarms.spi.StandardLogEntryListenerFactory -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-get-permissions: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -getPermissions "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-set-permissions: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -setPermissions "$@" 6 | -------------------------------------------------------------------------------- /skel/share/httpd/static/images/desy_logo_trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/desy_logo_trans.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eagle_logo_draft.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eagle_logo_draft.gif -------------------------------------------------------------------------------- /skel/share/httpd/static/images/fermi_logo_trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/fermi_logo_trans.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /skel/share/webdav/static/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /skel/share/webdav/static/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /skel/share/webdav/static/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/layer_model.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/layer_model.jpg -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/tape-silo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/tape-silo.jpg -------------------------------------------------------------------------------- /modules/dcache-xrootd/src/main/resources/META-INF/services/org.dcache.xrootd.plugins.ChannelHandlerProvider: -------------------------------------------------------------------------------- 1 | org.dcache.xrootd.plugins.AccessLogHandlerProvider -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-check-permissions: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -checkPermissions "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-get-request-summary: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -getRequestSummary "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-get-request-tokens: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -getRequestTokens "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-get-space-metadata: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -getSpaceMetaData "$@" 6 | -------------------------------------------------------------------------------- /skel/share/httpd/static/images/eurogatetranssmall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/httpd/static/images/eurogatetranssmall.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /skel/share/webdav/static/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /docs/TheBook/src/main/html-fragments/dcacheorg-footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/bulk-design-v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/bulk-design-v2.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/qos-components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/qos-components.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/qos-policy-rest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/qos-policy-rest.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/html-fragments/dcacheorg-footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/bulk-wlcg-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/bulk-wlcg-1.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/bulk-wlcg-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/bulk-wlcg-2.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/bulk-wlcg-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/bulk-wlcg-3.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/bulk-wlcg-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/bulk-wlcg-4.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/swagger-ui-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/swagger-ui-1.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/swagger-ui-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/swagger-ui-2.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/swagger-ui-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/swagger-ui-3.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/swagger-ui-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/swagger-ui-4.png -------------------------------------------------------------------------------- /modules/srm-client/src/main/bin/srm-extend-file-lifetime: -------------------------------------------------------------------------------- 1 | #!@SHELL_PATH@ 2 | 3 | @INIT_SCRIPT@ 4 | 5 | exec "${SRM_PATH}/lib/srm" -extendFileLifetime "$@" 6 | -------------------------------------------------------------------------------- /modules/srm-server/doc/SRM.Request.Scheduler.Design.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/srm-server/doc/SRM.Request.Scheduler.Design.odt -------------------------------------------------------------------------------- /modules/srm-server/doc/SRM.Request.Scheduler.Design.sxw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/srm-server/doc/SRM.Request.Scheduler.Design.sxw -------------------------------------------------------------------------------- /skel/share/webdav/static/webfonts/fa-v4compatibility.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/webfonts/fa-v4compatibility.ttf -------------------------------------------------------------------------------- /modules/dcache-xrootd/src/main/resources/META-INF/services/org.dcache.xrootd.plugins.AuthenticationProvider: -------------------------------------------------------------------------------- 1 | org.dcache.xrootd.plugins.authn.BearerTokenZTNAuthnProvider -------------------------------------------------------------------------------- /modules/dcache-xrootd/src/main/resources/META-INF/services/org.dcache.xrootd.plugins.AuthorizationProvider: -------------------------------------------------------------------------------- 1 | org.dcache.xrootd.plugins.authz.GplazmaLoginSciTokenProvider -------------------------------------------------------------------------------- /modules/missingfiles-semsg/src/main/resources/META-INF/services/org.dcache.missingfiles.plugins.PluginFactory: -------------------------------------------------------------------------------- 1 | org.dcache.missingfiles.plugins.SEMsgPluginFactory 2 | -------------------------------------------------------------------------------- /packages/fhs/src/main/deb/dcache.logrotate: -------------------------------------------------------------------------------- 1 | /var/log/dcache/*.log { 2 | compress 3 | weekly 4 | rotate 52 5 | missingok 6 | copytruncate 7 | } 8 | -------------------------------------------------------------------------------- /skel/lib/systemd/system/dcache.target: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=dCache target to start/stop all dcache@*.service instances 3 | 4 | [Install] 5 | WantedBy=default.target -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/ice-asc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/ice-asc.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/psd/green-asc.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/psd/green-asc.psd -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/psd/green-desc.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/psd/green-desc.psd -------------------------------------------------------------------------------- /skel/share/webdav/static/webfonts/fa-v4compatibility.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/webfonts/fa-v4compatibility.woff2 -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/bulk-request-policy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/bulk-request-policy.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/qos-file-policy-rest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/qos-file-policy-rest.png -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/Authorizable.java: -------------------------------------------------------------------------------- 1 | package dmg.util; 2 | 3 | public interface Authorizable { 4 | 5 | String getAuthorizedPrincipal(); 6 | } 7 | -------------------------------------------------------------------------------- /modules/dcache-xrootd/src/main/resources/META-INF/services/org.dcache.xrootd.plugins.ProxyDelegationClientFactory: -------------------------------------------------------------------------------- 1 | org.dcache.xrootd.security.GSIProxyDelegationClientFactory -------------------------------------------------------------------------------- /packages/fhs/src/main/scripts/dcache.logrotate: -------------------------------------------------------------------------------- 1 | /var/log/dcache/*.log { 2 | compress 3 | weekly 4 | rotate 52 5 | missingok 6 | copytruncate 7 | } 8 | -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/black-asc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/black-asc.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/black-desc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/black-desc.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/green-asc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/green-asc.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/green-desc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/green-desc.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/ice-desc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/ice-desc.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/white-asc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/white-asc.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/white-desc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/white-desc.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/psd/metro-style.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/psd/metro-style.psd -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/Replaceable.java: -------------------------------------------------------------------------------- 1 | package dmg.util; 2 | 3 | public interface Replaceable { 4 | 5 | String getReplacement(String name); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/addons/pager/icons/last.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/addons/pager/icons/last.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/addons/pager/icons/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/addons/pager/icons/next.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/addons/pager/icons/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/addons/pager/icons/prev.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/dropbox-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/dropbox-asc.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/dropbox-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/dropbox-desc.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/green-header.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/green-header.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/ice-unsorted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/ice-unsorted.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/psd/green-unsorted.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/psd/green-unsorted.psd -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/dCache-install-anonftp-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/dCache-install-anonftp-1.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/dCache-install-anonftp-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/dCache-install-anonftp-2.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/dCache-install-webdav-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/dCache-install-webdav-1.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/dCache-install-webdav-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/dCache-install-webdav-2.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/dCache-install-webdav-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/dCache-install-webdav-3.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/qos-available-transitions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/qos-available-transitions.png -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/resilience-pool-sharing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/resilience-pool-sharing.png -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/images/bulk-resource-endpoints.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/UserGuide/src/main/markdown/images/bulk-resource-endpoints.png -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/util/expression/Type.java: -------------------------------------------------------------------------------- 1 | package org.dcache.util.expression; 2 | 3 | public enum Type { 4 | UNKNOWN, DOUBLE, BOOLEAN, STRING 5 | } 6 | -------------------------------------------------------------------------------- /packages/fhs/src/main/deb/changelog: -------------------------------------------------------------------------------- 1 | dcache (@Version@) unstable; urgency=low 2 | 3 | * New dcache package release 4 | 5 | -- @MaintainerName@ <@MaintainerMail@> @Timestamp@ 6 | -------------------------------------------------------------------------------- /skel/share/cells/acm.fragment: -------------------------------------------------------------------------------- 1 | create dmg.cells.services.login.user.AclCell acm \ 2 | "${dcache.paths.admin}/users -consume=acm -egpassword=${dcache.paths.config}/passwd" 3 | -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/addons/pager/icons/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/addons/pager/icons/first.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/addons/pager/icons/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/addons/pager/icons/loading.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/black-unsorted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/black-unsorted.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/green-unsorted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/green-unsorted.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/metro-black-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/metro-black-asc.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/metro-loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/metro-loading.gif -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/metro-unsorted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/metro-unsorted.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/metro-white-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/metro-white-asc.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/white-unsorted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/white-unsorted.gif -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/images/components-of-dCache-system.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/docs/TheBook/src/main/markdown/images/components-of-dCache-system.png -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/CellTunnel.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | public interface CellTunnel { 4 | 5 | CellTunnelInfo getCellTunnelInfo(); 6 | } 7 | -------------------------------------------------------------------------------- /modules/dcache/src/main/smc/org/dcache/pool/migration/Task_sm.dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/dcache/src/main/smc/org/dcache/pool/migration/Task_sm.dot.png -------------------------------------------------------------------------------- /skel/share/httpd/static/styles/usageInfo.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | td.layout > div 4 | { 5 | margin-left: auto; 6 | margin-right: auto; 7 | width: 300px; 8 | height: 10px; 9 | } 10 | -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/metro-black-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/metro-black-desc.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/metro-white-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/metro-white-desc.png -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/FaultListener.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool; 2 | 3 | public interface FaultListener { 4 | 5 | void faultOccurred(FaultEvent event); 6 | } 7 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/FileStoreState.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository; 2 | 3 | public enum FileStoreState { 4 | OK, READ_ONLY, FAILED 5 | } 6 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/util/IoPriority.java: -------------------------------------------------------------------------------- 1 | package org.dcache.util; 2 | 3 | /** 4 | * @since 1.9.11 5 | */ 6 | public enum IoPriority { 7 | LOW, REGULAR, HIGH 8 | } 9 | -------------------------------------------------------------------------------- /modules/dcache/src/main/resources/META-INF/services/dmg.cells.services.login.LoginCellProvider: -------------------------------------------------------------------------------- 1 | diskCacheV111.doors.LineBasedDoorProvider 2 | diskCacheV111.doors.NettyLineBasedDoorProvider 3 | -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/dropbox-asc-hovered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/dropbox-asc-hovered.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/dropbox-desc-hovered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/dropbox-desc-hovered.png -------------------------------------------------------------------------------- /skel/etc/gplazma.conf: -------------------------------------------------------------------------------- 1 | auth optional x509 2 | auth optional voms 3 | map optional vorolemap 4 | map optional gridmap 5 | map requisite authzdb 6 | session requisite authzdb 7 | -------------------------------------------------------------------------------- /modules/dcache-webdav/src/main/resources/META-INF/services/org.dcache.services.httpd.wellknown.WellKnownProducerFactory: -------------------------------------------------------------------------------- 1 | org.dcache.services.httpd.wellknown.security.WellKnownSecurityTxtProducerFactory -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/SRMUserManager.java: -------------------------------------------------------------------------------- 1 | package org.dcache.srm; 2 | 3 | public interface SRMUserManager extends SRMAuthorization, SRMUserPersistenceManager { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/bootstrap-black-unsorted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/bootstrap-black-unsorted.png -------------------------------------------------------------------------------- /skel/share/webdav/static/tablesorter/css/images/bootstrap-white-unsorted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/skel/share/webdav/static/tablesorter/css/images/bootstrap-white-unsorted.png -------------------------------------------------------------------------------- /modules/dcache/src/test/resources/org/dcache/tests/storageinfo/storageInfo-1.7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dCache/dcache/HEAD/modules/dcache/src/test/resources/org/dcache/tests/storageinfo/storageInfo-1.7 -------------------------------------------------------------------------------- /skel/share/examples/xrootd/keystore: -------------------------------------------------------------------------------- 1 | KEY VO:* PRIVKEY:/opt/d-cache/etc/privkey PUBKEY:/opt/d-cache/etc/pubkey 2 | #KEY VO:ALICE PRIVKEY:/opt/d-cache/etc/privkey PUBKEY:/opt/d-cache/etc/pubkey -------------------------------------------------------------------------------- /archetypes/dcache-nearline-plugin-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/services/org.dcache.pool.nearline.spi.NearlineStorageProvider: -------------------------------------------------------------------------------- 1 | ${package}.PluginNearlineStorageProvider -------------------------------------------------------------------------------- /modules/chimera/src/test/resources/org/dcache/chimera/chimera-test.properties: -------------------------------------------------------------------------------- 1 | # 2 | # JDBC properties for Chimera 3 | # 4 | chimera.db.url=jdbc:h2:mem:chimera 5 | chimera.db.user=sa 6 | chimera.db.password= 7 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/conf/Makefile: -------------------------------------------------------------------------------- 1 | 2 | 3 | .PHONY: all ports help 4 | 5 | all : 6 | @echo "do not make in this directory, make in $(SRM_PATH)" 7 | @echo "this is a configuration directory" 8 | 9 | -------------------------------------------------------------------------------- /modules/gplazma2-kpwd/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | kpwd 4 | org.dcache.auth.gplazma.KpwdPlugin 5 | 6 | -------------------------------------------------------------------------------- /modules/gplazma2-krb5/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | krb5 4 | org.dcache.gplazma.plugins.Krb5 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-ldap/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ldap 4 | org.dcache.gplazma.plugins.Ldap 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-nis/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | nis 4 | org.dcache.gplazma.plugins.Nis 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-voms/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | voms 4 | org.dcache.gplazma.plugins.VomsPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /skel/sbin/dcache-billing-indexer: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | @DCACHE_LOAD_CONFIG@ 4 | 5 | lib="$(getProperty dcache.paths.share.lib)" 6 | 7 | . ${lib}/utils.sh 8 | . ${lib}/billing.sh 9 | 10 | 11 | billing_indexer "$@" 12 | -------------------------------------------------------------------------------- /modules/chimera/src/main/resources/META-INF/services/org.dcache.chimera.spi.DBDriverProvider: -------------------------------------------------------------------------------- 1 | org.dcache.chimera.spi.PgSQLDrivertProvider 2 | org.dcache.chimera.spi.HsqlDBDriverProvider 3 | org.dcache.chimera.spi.H2DBDriverProvider -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/org/dcache/namespace/FileType.java: -------------------------------------------------------------------------------- 1 | package org.dcache.namespace; 2 | 3 | 4 | public enum FileType { 5 | 6 | REGULAR, 7 | DIR, 8 | LINK, 9 | SPECIAL 10 | 11 | } 12 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/diskCacheV111/util/CacheFileAvailable.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public interface CacheFileAvailable { 4 | 5 | void cacheFileAvailable(PnfsId pnfsId, Throwable ce); 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /modules/gplazma2-alise/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | alise 4 | org.dcache.gplazma.alise.AlisePlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-htpasswd/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | htpasswd 4 | org.dcache.gplazma.htpasswd.HtpasswdPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-oidc-te/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | oidc-te 4 | org.dcache.gplazma.tokenx.TokenExchange 5 | 6 | -------------------------------------------------------------------------------- /modules/gplazma2-oidc/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | oidc 4 | org.dcache.gplazma.oidc.OidcAuthPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-pyscript/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | pyscript 4 | org.dcache.gplazma.pyscript.PyscriptPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-roles/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | roles 4 | org.dcache.gplazma.roles.RolesPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/dcache-ftp/src/main/java/org/dcache/ftp/data/Role.java: -------------------------------------------------------------------------------- 1 | package org.dcache.ftp.data; 2 | 3 | /** 4 | * Indicates the role as a sender or receiver of a transfer. 5 | */ 6 | public enum Role { 7 | Sender, Receiver 8 | } 9 | -------------------------------------------------------------------------------- /modules/gplazma2-banfile/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | banfile 4 | org.dcache.gplazma.plugins.BanFilePlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-fermi/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | vogroup 4 | org.dcache.gplazma.plugins.VOGroupPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gplazma2-nsswitch/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | nsswitch 4 | org.dcache.gplazma.plugins.Nsswitch 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/KeepAliveListener.java: -------------------------------------------------------------------------------- 1 | // $Id: KeepAliveListener.java,v 1.1 2003-03-09 09:19:00 cvs Exp $ 2 | 3 | package dmg.util; 4 | 5 | public interface KeepAliveListener { 6 | 7 | void keepAlive(); 8 | } 9 | -------------------------------------------------------------------------------- /modules/common/src/test/resources/sample21.kpwd: -------------------------------------------------------------------------------- 1 | ## 2 | ## This file provides the fixture for the KAuthFile class unit tests 3 | ## 4 | 5 | version 2.1 6 | 7 | passwd pwduser f259f081 read-write 1000 2000 /data/pwduser /root /fs-root 8 | -------------------------------------------------------------------------------- /modules/dcache-ftp/src/main/java/org/dcache/ftp/data/Direction.java: -------------------------------------------------------------------------------- 1 | package org.dcache.ftp.data; 2 | 3 | /** 4 | * Indicates the direction of connection establishment. 5 | */ 6 | public enum Direction { 7 | Outgoing, Incomming 8 | } 9 | -------------------------------------------------------------------------------- /modules/gplazma2-scitoken/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | scitoken 4 | org.dcache.gplazma.scitoken.SciTokenPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/benchmarks/src/main/resources/org/dcache/chimera/chimera-benchmark.properties: -------------------------------------------------------------------------------- 1 | # 2 | # JDBC properties for Chimera 3 | # 4 | chimera.db.url=jdbc:postgresql://localhost/dcache 5 | chimera.db.user=dcache 6 | chimera.db.password=let-me-in 7 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/EnvironmentAware.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | import java.util.Map; 4 | 5 | public interface EnvironmentAware { 6 | 7 | void setEnvironment(Map environment); 8 | } 9 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/LineWriter.java: -------------------------------------------------------------------------------- 1 | package dmg.util; 2 | 3 | /** 4 | * Interface to writers that write one line at a time. 5 | */ 6 | public interface LineWriter { 7 | 8 | void writeLine(String line); 9 | } 10 | -------------------------------------------------------------------------------- /modules/common/src/main/java/org/dcache/commons/stats/RequestCounterMXBean.java: -------------------------------------------------------------------------------- 1 | package org.dcache.commons.stats; 2 | 3 | /** 4 | * JMX bean 5 | */ 6 | public interface RequestCounterMXBean extends RequestCounter { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /modules/dcache-nfs/src/test/resources/org/dcache/chimera/chimera-test.properties: -------------------------------------------------------------------------------- 1 | # 2 | # JDBC properties for Chimera 3 | # 4 | chimera.db.url=jdbc:hsqldb:mem:chimera 5 | chimera.db.user=sa 6 | chimera.db.password= 7 | chimera.db.password.file= 8 | -------------------------------------------------------------------------------- /modules/gplazma2-multimap/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | multimap 4 | org.dcache.gplazma.plugins.GplazmaMultiMapPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /skel/share/examples/layouts/pool.conf: -------------------------------------------------------------------------------- 1 | # [${host.name}Domain] 2 | # [${host.name}Domain/pool] 3 | # pool.name=pool1 4 | # pool.path=/srv/dcache/pool1 5 | 6 | # [${host.name}Domain/pool] 7 | # pool.name=pool2 8 | # pool.path=/srv/dcache/pool2 9 | -------------------------------------------------------------------------------- /archetypes/dcache-nearline-plugin-archetype/src/test/resources/projects/basic/archetype.properties: -------------------------------------------------------------------------------- 1 | package=org.dcache.it 2 | version=0.1-SNAPSHOT 3 | groupId=archetype.it 4 | artifactId=basic 5 | dcache=2.16.3 6 | name=myplugin 7 | description=My plugin -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/DomainContextAware.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | import java.util.Map; 4 | 5 | public interface DomainContextAware { 6 | 7 | void setDomainContext(Map context); 8 | } 9 | -------------------------------------------------------------------------------- /modules/dcache-chimera/src/test/resources/org/dcache/chimera/chimera-test.properties: -------------------------------------------------------------------------------- 1 | # 2 | # JDBC properties for Chimera 3 | # 4 | chimera.db.url=jdbc:hsqldb:mem:chimera 5 | chimera.db.user=sa 6 | chimera.db.password= 7 | chimera.db.password.file= 8 | -------------------------------------------------------------------------------- /modules/dcache-frontend/src/main/resources/org/dcache/frontend/metronome/events-schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "http://dcache.org/frontend/events/metronomeEvents#", 3 | "$schema": "http://json-schema.org/draft-06/schema#", 4 | "type": "string" 5 | } 6 | -------------------------------------------------------------------------------- /modules/gplazma2-omnisession/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | omnisession 4 | org.dcache.gplazma.omnisession.OmniSessionPlugin 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/cells/docs/guide/tutorial-env.html: -------------------------------------------------------------------------------- 1 | 2 | Tutorial : The Domain Environment 3 | 4 |

The Domain Environment

5 |
6 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/fhs/src/main/scripts/dcache.rsyslog: -------------------------------------------------------------------------------- 1 | template(name="dCache" type="string" string="/var/log/dcache/%programname:F,64:2%.log") 2 | 3 | if $programname startswith 'dcache@' then 4 | { 5 | action(type="omfile" dynaFile="dCache") 6 | stop 7 | } 8 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/services/topology/CellsTopology.java: -------------------------------------------------------------------------------- 1 | package org.dcache.services.topology; 2 | 3 | import dmg.cells.network.CellDomainNode; 4 | 5 | public interface CellsTopology { 6 | 7 | CellDomainNode[] getInfoMap(); 8 | } 9 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/resources/org/dcache/srm/request/sql/srmjobstate-214.csv: -------------------------------------------------------------------------------- 1 | id,state 2 | 0,Unscheduled 3 | 2,Queued 4 | 3,InProgress 5 | 6,RQueued 6 | 7,Ready 7 | 8,Transferring 8 | 9,Done 9 | 10,Cancelled 10 | 11,Failed 11 | 12,Restored 12 | -------------------------------------------------------------------------------- /.ci/webdav-wn-cvmfs.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: webdav-tester 5 | spec: 6 | containers: 7 | - name: tester 8 | image: almalinux:9 9 | imagePullPolicy: IfNotPresent 10 | command: [ "/bin/sleep", "inf"] -------------------------------------------------------------------------------- /modules/common/src/main/java/org/dcache/commons/stats/RequestExecutionTimeGaugeMXBean.java: -------------------------------------------------------------------------------- 1 | package org.dcache.commons.stats; 2 | 3 | /** 4 | * JMX bean 5 | */ 6 | public interface RequestExecutionTimeGaugeMXBean extends RequestExecutionTimeGauge { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /modules/gplazma2-grid/src/test/resources/org/dcache/gplazma/plugins/vorolemap-ndgf.fixture: -------------------------------------------------------------------------------- 1 | "*" "/atlas/Role=production" atlas-prod 2 | "*" "/atlas/no" atlas-no 3 | "*" "/atlas/dk" atlas-dk 4 | "*" "/atlas" atlas-user 5 | "*" "/ops.ndgf.org" ops 6 | "*" "/ops" ops 7 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/resources/META-INF/services/org.dcache.srm.scheduler.spi.TransferStrategyProvider: -------------------------------------------------------------------------------- 1 | org.dcache.srm.scheduler.strategy.FairShareTransferStrategyProvider 2 | org.dcache.srm.scheduler.strategy.FirstComeFirstServedTransferStrategyProvider 3 | -------------------------------------------------------------------------------- /.ci/s2-runner.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: s2-tester 5 | spec: 6 | containers: 7 | - name: tester 8 | image: almalinux:9 9 | imagePullPolicy: IfNotPresent 10 | command: [ "/bin/sleep", "inf"] 11 | 12 | 13 | -------------------------------------------------------------------------------- /.ci/wn-with-cvmfs-xroot.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: xroot-tester 5 | spec: 6 | containers: 7 | - name: tester 8 | image: almalinux:9 9 | imagePullPolicy: IfNotPresent 10 | command: [ "/bin/sleep", "inf"] 11 | -------------------------------------------------------------------------------- /.ci/wn-with-cvmfs.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: grid-tester 5 | spec: 6 | containers: 7 | - name: tester 8 | image: almalinux:9 9 | imagePullPolicy: IfNotPresent 10 | command: [ "/bin/sleep", "inf"] 11 | 12 | -------------------------------------------------------------------------------- /modules/dcache-frontend/src/main/resources/META-INF/services/org.dcache.services.httpd.wellknown.WellKnownProducerFactory: -------------------------------------------------------------------------------- 1 | org.dcache.restful.providers.wellknown.WellKnownWlcgProducerFactory 2 | org.dcache.services.httpd.wellknown.security.WellKnownSecurityTxtProducerFactory -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/net/ChallengeReader.java: -------------------------------------------------------------------------------- 1 | package org.dcache.net; 2 | 3 | import java.nio.channels.SocketChannel; 4 | 5 | public interface ChallengeReader { 6 | 7 | Object getChallenge(SocketChannel socketChannel); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /skel/share/lib/upgrade_space_manager_schema.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # script that updates SRM space manager schema 4 | # 5 | 6 | @DCACHE_LOAD_CONFIG@ 7 | 8 | CLASSPATH="$(getProperty dcache.paths.classpath)" \ 9 | quickJava diskCacheV111.services.space.Manager "$@" -------------------------------------------------------------------------------- /.ci/frontend.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Pod 3 | metadata: 4 | name: http-tester 5 | spec: 6 | containers: 7 | - name: tester 8 | image: jetbrains/intellij-http-client 9 | imagePullPolicy: IfNotPresent 10 | command: [ "/bin/sleep", "inf"] -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/FaultAction.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool; 2 | 3 | /** 4 | * Characterizes the severity of a pool error by describing the suggested action. 5 | */ 6 | public enum FaultAction { 7 | LOG, READONLY, DISABLED, DEAD, RESTART 8 | } 9 | -------------------------------------------------------------------------------- /modules/dcache/src/main/spotbugs/exclude-filter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/org/dcache/vehicles/BeanQueryAllPropertiesMessage.java: -------------------------------------------------------------------------------- 1 | package org.dcache.vehicles; 2 | 3 | public class BeanQueryAllPropertiesMessage extends BeanQueryMessage { 4 | 5 | private static final long serialVersionUID = 4943843329891555709L; 6 | } 7 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/nfs.md: -------------------------------------------------------------------------------- 1 | Chapter 6. NFS 2 | ============== 3 | 4 | Network File System (NFS) is a distributed file system protocol 5 | originally developed by Sun Microsystems in 1984, allowing you to 6 | access files over a computer network much like local storage is 7 | accessed. -------------------------------------------------------------------------------- /modules/srm-server/src/main/resources/META-INF/services/org.dcache.srm.taperecallscheduling.spi.TapeInfoProviderProvider: -------------------------------------------------------------------------------- 1 | org.dcache.srm.taperecallscheduling.tapeinfoprovider.CsvFileTapeInfoProviderProvider 2 | org.dcache.srm.taperecallscheduling.tapeinfoprovider.JsonFileTapeInfoProviderProvider -------------------------------------------------------------------------------- /packages/tar/src/main/container/s3-tape.yml: -------------------------------------------------------------------------------- 1 | s3: 2 | endpoint: tape-minio:9000 3 | region: us-east-1 4 | access_key: dcache 5 | secret_key: let-me-in 6 | ssl: false 7 | enc: false 8 | trace: false 9 | s3version: 4 10 | 11 | hsm: 12 | instance: s3 13 | type: osm 14 | -------------------------------------------------------------------------------- /skel/share/cells/import-arguments.fragment: -------------------------------------------------------------------------------- 1 | # Load arguments 0 to 9 into environment 2 | 3 | define env argument-overrides endDefine 4 | ${0} 5 | ${1} 6 | ${2} 7 | ${3} 8 | ${4} 9 | ${5} 10 | ${6} 11 | ${7} 12 | ${8} 13 | ${9} 14 | endDefine 15 | 16 | import env argument-overrides 17 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/classic/IoRequestState.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.classic; 2 | 3 | /** 4 | * @author tigran 5 | * @since 1.9.11 6 | */ 7 | public enum IoRequestState { 8 | NEW, 9 | QUEUED, 10 | RUNNING, 11 | DONE, 12 | CANCELED 13 | } 14 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/plugins/GPlazmaPlugin.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.plugins; 2 | 3 | public interface GPlazmaPlugin { 4 | 5 | default void start() throws Exception { 6 | } 7 | 8 | default void stop() throws Exception { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /skel/share/pnfs/psql_install_companion.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE cacheinfo ( 2 | pnfsid CHAR(24) NOT NULL, 3 | pool VARCHAR(255) NOT NULL, 4 | ctime TIMESTAMP NOT NULL, 5 | UNIQUE(pnfsid, pool) 6 | ); 7 | 8 | CREATE INDEX pool_inx ON cacheinfo (pool); 9 | CREATE INDEX pnfs_inx ON cacheinfo (pnfsid); 10 | -------------------------------------------------------------------------------- /modules/cells/docs/guide/tutorials.html: -------------------------------------------------------------------------------- 1 | 2 | Tutorials 3 | 4 |

Tutorials

5 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/dcache-ftp/src/main/java/org/dcache/ftp/data/ConnectionMonitor.java: -------------------------------------------------------------------------------- 1 | package org.dcache.ftp.data; 2 | 3 | public interface ConnectionMonitor { 4 | 5 | void receivedBlock(long position, long size) throws FTPException; 6 | 7 | void sentBlock(long position, long size) throws FTPException; 8 | } 9 | -------------------------------------------------------------------------------- /.ci/run-xroot-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . /init-el9-ui.sh 4 | 5 | dnf -y -q install xrootd-client 6 | 7 | xrdcp -f /etc/profile xroot://store-door-svc:1095//data/testfile 8 | 9 | for i in `seq 1 1000` 10 | do 11 | echo "File Nr. $i" 12 | xrdcp -f xroot://store-door-svc:1095//data/testfile /dev/null 13 | done -------------------------------------------------------------------------------- /skel/share/httpd/static/styles/transfers.css: -------------------------------------------------------------------------------- 1 | th 2 | { 3 | font-weight: normal; 4 | } 5 | 6 | table td 7 | { 8 | text-align: center; 9 | font-size: small; 10 | } 11 | 12 | td.missing 13 | { 14 | background: red; 15 | } 16 | 17 | td.staging 18 | { 19 | background: yellow; 20 | color: black; 21 | } 22 | -------------------------------------------------------------------------------- /modules/common-security/src/main/scripts/run2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | java=/usr/j2se/bin/java 4 | 5 | $java \ 6 | -Djava.security.krb5.realm=DESY.DE \ 7 | -Djava.security.krb5.kdc=blue.desy.de \ 8 | -Djavax.security.auth.useSubjectCredsOnly=false \ 9 | -Djava.security.auth.login.config=sec2.conf \ 10 | -cp .. $* 11 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/conf/config.inc: -------------------------------------------------------------------------------- 1 | DEBUG=true 2 | include $(SRM_PATH)/conf/ostype.inc 3 | SRM_PATH := $(subst \,/,$(SRM_PATH)) 4 | REL_PATH := $(subst .,/,$(PACKAGE)) 5 | CLEAN_TARGETS := $(MAKE_TARGETS:_make=_clean) 6 | include $(SRM_PATH)/conf/$(OS_TYPE).cfg 7 | include $(SRM_PATH)/conf/make.inc 8 | 9 | -------------------------------------------------------------------------------- /archetypes/dcache-nearline-plugin-archetype/src/main/resources/archetype-resources/src/main/defaults/__name__.properties: -------------------------------------------------------------------------------- 1 | #set( $symbol_pound = '#' ) 2 | #set( $symbol_dollar = '$' ) 3 | #set( $symbol_escape = '\' ) 4 | ${symbol_pound} This Java properties file contains the default values used by 5 | ${symbol_pound} the plugin. 6 | -------------------------------------------------------------------------------- /modules/dcache/src/main/resources/META-INF/services/org.dcache.poolmanager.PartitionFactory: -------------------------------------------------------------------------------- 1 | org.dcache.poolmanager.RandomPartitionFactory 2 | org.dcache.poolmanager.LruPartitionFactory 3 | org.dcache.poolmanager.WassPartitionFactory 4 | org.dcache.poolmanager.WRandomPartitionFactory 5 | org.dcache.poolmanager.BufferPartitionFactory 6 | -------------------------------------------------------------------------------- /modules/srm-common/src/main/spotbugs/exclude-filter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/cells/docs/guide/tutorial-CellShell.html: -------------------------------------------------------------------------------- 1 | 2 | Tutorial : The dmg.cells.nucleus.CellShell 3 | 4 |

The dmg.cells.nucleus.CellShell

5 |

How to start a dmg.cells.nucleus.CellShell

6 |
7 |
8 | 9 | 10 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/util/list/DirectoryStream.java: -------------------------------------------------------------------------------- 1 | package org.dcache.util.list; 2 | 3 | /** 4 | * Interface inspired by JDK 7 for a closeable stream of DirectoryEntries. 5 | */ 6 | public interface DirectoryStream 7 | extends Iterable, AutoCloseable { 8 | 9 | void close(); 10 | } 11 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/RemoveFileCallback.java: -------------------------------------------------------------------------------- 1 | package org.dcache.srm; 2 | 3 | public interface RemoveFileCallback { 4 | 5 | void success(); 6 | 7 | void failure(String reason); 8 | 9 | void notFound(String error); 10 | 11 | void timeout(); 12 | 13 | void permissionDenied(); 14 | } 15 | -------------------------------------------------------------------------------- /skel/share/services/hoppingmanager.batch: -------------------------------------------------------------------------------- 1 | onerror shutdown 2 | check -strong hoppingmanager.cell.name 3 | check -strong hoppingmanager.config 4 | check hoppingmanager.cell.consume 5 | 6 | create diskCacheV111.services.FileHoppingManager "${hoppingmanager.cell.name}" \ 7 | "\"${hoppingmanager.config}\" -consume=${hoppingmanager.cell.consume}" 8 | -------------------------------------------------------------------------------- /modules/gplazma2-grid/src/test/resources/org/dcache/gplazma/plugins/authzdb.fixture: -------------------------------------------------------------------------------- 1 | version 2.2 2 | 3 | authorize behrmann read-write 1000 1000 / /pnfs/dcache-vm/data/ /pnfs/dcache-vm/data/ 4 | authorize atlas-user read-write 1001 1001 / / / 5 | authorize atlas-prod read-write 1002 1002 / / / 6 | authorize martinelli read-write 1003 1004,1005 / / / -------------------------------------------------------------------------------- /modules/srm-server/wsdl/wsdl2java.srm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | command=`which $0` 3 | commanddir=`dirname $command` 4 | SRM_PATH=`dirname $commanddir` 5 | CP=$CLASSPATH 6 | for i in `ls ${SRM_PATH}/lib/axis/*.jar` 7 | do 8 | CP="${i}:${CP}" 9 | done 10 | echo CLASSPATH is ${CP} 11 | java -cp ${CP} org.apache.axis.wsdl.WSDL2Java $* 12 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/conf/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %d [%t] %-5p %c - %m%n 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /skel/share/examples/kerberos/jgss.conf: -------------------------------------------------------------------------------- 1 | com.sun.security.jgss.accept { 2 | com.sun.security.auth.module.Krb5LoginModule required 3 | debug=false 4 | principal="ftp${/}door.example.org@EXAMPLE.ORG" 5 | doNotPrompt=true 6 | useKeyTab=true 7 | keyTab="${/}etc${/}krb5.keytab" 8 | isInitiator=false 9 | storeKey=true; 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /skel/var/httpd/wlcg-tape-rest-api.json: -------------------------------------------------------------------------------- 1 | { 2 | "sitename": "dcache-example-org", 3 | "description": "This is the dCache WLCG TAPE REST API endpoint for example.org", 4 | "endpoints":[ 5 | { 6 | "uri":"https://example.org:3880/api/v1/tape", 7 | "version":"v1", 8 | "metadata": { 9 | } 10 | } ] 11 | } -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/PermissionCheckable.java: -------------------------------------------------------------------------------- 1 | package dmg.util; 2 | 3 | 4 | /** 5 | * @author Patrick Fuhrmann 6 | * @version 0.1, 15 Feb 1998 7 | */ 8 | public interface PermissionCheckable { 9 | 10 | void checkPermission(Authorizable auth, 11 | String aclName) 12 | throws AclException; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/classic/Cancellable.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.classic; 2 | 3 | import javax.annotation.Nullable; 4 | 5 | /** 6 | * An interface for object which allow to interrupt an operation in progress. 7 | */ 8 | public interface Cancellable { 9 | 10 | void cancel(@Nullable String explanation); 11 | } 12 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/strategies/GPlazmaStrategy.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.strategies; 2 | 3 | import java.util.List; 4 | import org.dcache.gplazma.plugins.GPlazmaPlugin; 5 | 6 | public interface GPlazmaStrategy { 7 | 8 | void setPlugins(List> plugins); 9 | } 10 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/scheduler/StateChangeListener.java: -------------------------------------------------------------------------------- 1 | package org.dcache.srm.scheduler; 2 | 3 | import org.dcache.srm.request.Job; 4 | 5 | /** 6 | * Listener for SRM job state changes. 7 | */ 8 | public interface StateChangeListener { 9 | 10 | void stateChanged(Job job, State oldState, State newState); 11 | } 12 | -------------------------------------------------------------------------------- /skel/share/cells/tunnel-none.fragment: -------------------------------------------------------------------------------- 1 | # 2 | # Dummy NOP tunnel 3 | # 4 | create -- dmg.cells.services.CoreRoutingManager RoutingMgr "-role=core" 5 | 6 | # 7 | # Instantiate cell access control manager in broker domain 8 | ############################################################## 9 | 10 | exec file:${dcache.paths.share}/cells/acm.fragment 11 | -------------------------------------------------------------------------------- /skel/share/examples/kerberos/jgss_host.conf: -------------------------------------------------------------------------------- 1 | com.sun.security.jgss.accept { 2 | com.sun.security.auth.module.Krb5LoginModule required 3 | debug=false 4 | principal="host${/}door.example.org@EXAMPLE.ORG" 5 | doNotPrompt=true 6 | useKeyTab=true 7 | keyTab="${/}etc${/}krb5.keytab" 8 | isInitiator=false 9 | storeKey=true; 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/services/topology/HostnameService.java: -------------------------------------------------------------------------------- 1 | package org.dcache.services.topology; 2 | 3 | /** 4 | * A service that provides all hostnames of a dCacheInstance 5 | * 6 | * @author jans 7 | */ 8 | public interface HostnameService { 9 | 10 | void updateHostnames(); 11 | 12 | String getHostnames(); 13 | } 14 | -------------------------------------------------------------------------------- /modules/dcache/src/main/resources/META-INF/services/org.dcache.pool.nearline.spi.NearlineStorageProvider: -------------------------------------------------------------------------------- 1 | org.dcache.pool.nearline.script.ScriptNearlineStorageProvider 2 | org.dcache.pool.nearline.filesystem.CopyNearlineStorageProvider 3 | org.dcache.pool.nearline.filesystem.LinkNearlineStorageProvider 4 | org.dcache.pool.nearline.tar.TarNearlineStorageProvider 5 | -------------------------------------------------------------------------------- /skel/share/examples/kerberos/jgss_HTTP.conf: -------------------------------------------------------------------------------- 1 | com.sun.security.jgss.accept { 2 | com.sun.security.auth.module.Krb5LoginModule required 3 | debug=false 4 | principal="HTTP${/}door.example.org@EXAMPLE.ORG" 5 | doNotPrompt=true 6 | useKeyTab=true 7 | keyTab="${/}etc${/}dcache${/}krb5.HTTP.keytab" 8 | isInitiator=false 9 | storeKey=true; 10 | }; -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/vehicles/IpProtocolInfo.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.vehicles; 2 | 3 | import java.net.InetSocketAddress; 4 | 5 | public interface IpProtocolInfo extends ProtocolInfo { 6 | 7 | /** 8 | * Returns clients {@link InetSocketAddress} 9 | */ 10 | InetSocketAddress getSocketAddress(); 11 | } 12 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/util/expression/TypeMismatchException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.util.expression; 2 | 3 | public class TypeMismatchException extends Exception { 4 | 5 | private static final long serialVersionUID = 5931190034594681923L; 6 | 7 | public TypeMismatchException(String s) { 8 | super(s); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/CopyCallbacks.java: -------------------------------------------------------------------------------- 1 | /* 2 | * CopyCallbacks.java 3 | * 4 | * Created on November 29, 2004, 4:59 PM 5 | */ 6 | package org.dcache.srm; 7 | 8 | /** 9 | * @author timur 10 | */ 11 | public interface CopyCallbacks { 12 | 13 | void copyComplete(); 14 | 15 | void copyFailed(SRMException e); 16 | } 17 | -------------------------------------------------------------------------------- /modules/gplazma2-jaas/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | jaas 4 | org.dcache.gplazma.plugins.JaasPlugin 5 | 6 | 7 | mutator 8 | org.dcache.gplazma.plugins.MutatorPlugin 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/java/org/dcache/srm/shell/CredentialAware.java: -------------------------------------------------------------------------------- 1 | package org.dcache.srm.shell; 2 | 3 | import eu.emi.security.authn.x509.X509Credential; 4 | 5 | /** 6 | * Indicates that the class needs an X509 credential to work. 7 | */ 8 | public interface CredentialAware { 9 | 10 | public void setCredential(X509Credential credential); 11 | } 12 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/etc/gplazma.conf: -------------------------------------------------------------------------------- 1 | auth sufficient x509 2 | auth sufficient kpwd 3 | auth sufficient htpasswd 4 | map sufficient multimap 5 | map sufficient kpwd 6 | map sufficient authzdb 7 | session requisite roles 8 | session sufficient omnisession 9 | session sufficient kpwd 10 | session sufficient authzdb 11 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/services/login/user/UserMetaDictionary.java: -------------------------------------------------------------------------------- 1 | // $Id: UserMetaDictionary.java,v 1.1 2001-05-02 06:14:15 cvs Exp $ 2 | package dmg.cells.services.login.user; 3 | 4 | import java.util.Enumeration; 5 | 6 | public interface UserMetaDictionary { 7 | 8 | Enumeration keys(); 9 | 10 | String valueOf(String key); 11 | } 12 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pinmanager/AuthorizationPolicy.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pinmanager; 2 | 3 | import javax.security.auth.Subject; 4 | import org.dcache.pinmanager.model.Pin; 5 | 6 | public interface AuthorizationPolicy { 7 | 8 | boolean canUnpin(Subject subject, Pin pin); 9 | 10 | boolean canExtend(Subject subject, Pin pin); 11 | } 12 | -------------------------------------------------------------------------------- /docs/TheBook/src/main/html-fragments/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | titleToken 5 | 6 | 7 | 8 | 9 | 10 |
11 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/CellMessageSender.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | /** 4 | * Classes implementing this interface can send Cell messages through a cell endpoint. The 5 | * CellEndpoint is registered via a setter method. 6 | */ 7 | public interface CellMessageSender { 8 | 9 | void setCellEndpoint(CellEndpoint endpoint); 10 | } 11 | -------------------------------------------------------------------------------- /modules/dcache-srm/src/main/resources/META-INF/services/org.dcache.srm.scheduler.spi.JobDiscriminator: -------------------------------------------------------------------------------- 1 | diskCacheV111.srm.DistinguishedNameJobDiscriminator 2 | diskCacheV111.srm.PrimaryFqanJobDiscriminator 3 | diskCacheV111.srm.UserNameJobDiscriminator 4 | diskCacheV111.srm.UidJobDiscriminator 5 | diskCacheV111.srm.PrimaryGidJobDiscriminator 6 | diskCacheV111.srm.VoJobDiscriminator 7 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/html-fragments/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | titleToken 5 | 6 | 7 | 8 | 9 | 10 |
11 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/protocols/telnet/TelnetAuthenticationException.java: -------------------------------------------------------------------------------- 1 | package dmg.protocols.telnet; 2 | 3 | public class TelnetAuthenticationException extends Exception { 4 | 5 | private static final long serialVersionUID = 6626921024905327060L; 6 | 7 | public TelnetAuthenticationException(String str) { 8 | super(str); 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/var/httpd/wlcg-tape-rest-api.json: -------------------------------------------------------------------------------- 1 | { 2 | "sitename": "dcache-systest", 3 | "description": "This is the dCache WLCG TAPE REST API endpoint for localhost system tests", 4 | "endpoints":[ 5 | { 6 | "uri":"https://example.org:3880/api/v1/tape", 7 | "version":"v1", 8 | "metadata": { 9 | } 10 | } ] 11 | } -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/CellCommandListener.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | /** 4 | * Classes implementing this object are registered as Cell command listener. Command listeners are 5 | * scanned for methods with the prefix ac_. Such methods are exposed to the user via a command 6 | * shell. 7 | */ 8 | public interface CellCommandListener { 9 | 10 | } 11 | -------------------------------------------------------------------------------- /modules/dcache-info/src/main/java/org/dcache/services/info/base/StateGuide.java: -------------------------------------------------------------------------------- 1 | package org.dcache.services.info.base; 2 | 3 | /** 4 | * A class that implements StateGuide controls to which parts of the state a a "visitor" (a class 5 | * that implements StateVisitor) will be exposed. 6 | */ 7 | public interface StateGuide { 8 | 9 | boolean isVisitable(StatePath path); 10 | } 11 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Atu-publish release on tag to trigger zenodo DOI generation 3 | # 4 | name: Releases 5 | 6 | on: 7 | push: 8 | tags: 9 | - '*' 10 | 11 | jobs: 12 | 13 | build: 14 | runs-on: ubuntu-latest 15 | permissions: 16 | contents: write 17 | steps: 18 | - uses: actions/checkout@v3 19 | - uses: ncipollo/release-action@v1 20 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/protocols/telnet/TelnetOutputStreamWriter.java: -------------------------------------------------------------------------------- 1 | package dmg.protocols.telnet; 2 | 3 | import java.io.OutputStream; 4 | import java.io.OutputStreamWriter; 5 | 6 | public class TelnetOutputStreamWriter extends OutputStreamWriter { 7 | 8 | public TelnetOutputStreamWriter(OutputStream output) { 9 | super(output); 10 | } 11 | 12 | 13 | } 14 | 15 | -------------------------------------------------------------------------------- /modules/dcache-ftp/src/main/java/org/dcache/ftp/data/FTPException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.ftp.data; 2 | 3 | public class FTPException extends Exception { 4 | 5 | private static final long serialVersionUID = -5833261869723000768L; 6 | 7 | public FTPException() { 8 | super(); 9 | } 10 | 11 | public FTPException(String s) { 12 | super(s); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/handler/CredentialAwareHandler.java: -------------------------------------------------------------------------------- 1 | package org.dcache.srm.handler; 2 | 3 | import org.dcache.srm.request.RequestCredential; 4 | 5 | /** 6 | * A handler that needs to know about any delegated credential the user has. 7 | */ 8 | public interface CredentialAwareHandler { 9 | 10 | void setCredential(RequestCredential credential); 11 | } 12 | -------------------------------------------------------------------------------- /docs/TheBook/src/main/markdown/css/dCacheBook-dcacheorg.css: -------------------------------------------------------------------------------- 1 | /* This CSS is intended to influence the 'dcache.org' profile output. 2 | * 3 | * Styling that should influence both non-profiled and profiled output 4 | * should go in the dCacheBook-common.css file. 5 | */ 6 | .github-fork-ribbon { 7 | position: fixed; 8 | } 9 | 10 | pre[class*="language-"] { 11 | margin: 0.5em 0 25px 0; 12 | } -------------------------------------------------------------------------------- /modules/common/src/main/java/org/dcache/auth/attributes/LoginAttribute.java: -------------------------------------------------------------------------------- 1 | package org.dcache.auth.attributes; 2 | 3 | /** 4 | * Login attributes describe various properties of a login session, e.g. a home directory. 5 | */ 6 | public interface LoginAttribute { 7 | 8 | /** 9 | * Returns a string representation of this login principal. 10 | */ 11 | String toString(); 12 | } 13 | -------------------------------------------------------------------------------- /modules/srm-client/src/main/java/org/dcache/srm/shell/FileTransfer.java: -------------------------------------------------------------------------------- 1 | package org.dcache.srm.shell; 2 | 3 | import com.google.common.util.concurrent.ListenableFuture; 4 | 5 | 6 | /** 7 | * A class that implements FileTransfer acts as a facade for a specific file transfer. 8 | */ 9 | public interface FileTransfer extends ListenableFuture { 10 | 11 | String getStatus(); 12 | } 13 | -------------------------------------------------------------------------------- /skel/share/cells/stage.fragment: -------------------------------------------------------------------------------- 1 | # Implements the stage PEP logic. 2 | 3 | # Disables stage PEP in this domain 4 | define env stage-disable-pep.exe end 5 | set env ${0}.authz.staging "" 6 | end 7 | 8 | onerror shutdown 9 | check ${0}.authz.staging.pep 10 | onerror continue 11 | eval ${${0}.authz.staging.pep} "${1}" == 12 | exec env stage-disable-pep.exe -ifnotok 13 | onerror shutdown 14 | 15 | -------------------------------------------------------------------------------- /skel/share/httpd/static/styles/queueInfo.css: -------------------------------------------------------------------------------- 1 | th 2 | { 3 | font-weight: normal; 4 | } 5 | 6 | th.active, th.max, th.queued 7 | { 8 | background: #FFA27F; 9 | color: #3C3633; 10 | } 11 | 12 | td.idle 13 | { 14 | color: #3C3633; 15 | } 16 | 17 | td.queued 18 | { 19 | color: red; 20 | } 21 | 22 | tr.total th, tr.total td 23 | { 24 | background: #FFE8C5; 25 | color: #3C3633; 26 | } 27 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/css/dCacheBook-dcacheorg.css: -------------------------------------------------------------------------------- 1 | /* This CSS is intended to influence the 'dcache.org' profile output. 2 | * 3 | * Styling that should influence both non-profiled and profiled output 4 | * should go in the dCacheBook-common.css file. 5 | */ 6 | .github-fork-ribbon { 7 | position: fixed; 8 | } 9 | 10 | pre[class*="language-"] { 11 | margin: 0.5em 0 25px 0; 12 | } -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/InProgressCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class InProgressCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = -6422127441668705469L; 6 | 7 | public InProgressCacheException(int errorCode, String errorMsg) { 8 | super(errorCode, errorMsg); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/boot/LayoutPrinter.java: -------------------------------------------------------------------------------- 1 | package org.dcache.boot; 2 | 3 | import java.io.PrintStream; 4 | 5 | /** 6 | * A class that implements LayoutPrinter provides the mechanism to serialising a dCache layout. 7 | */ 8 | public interface LayoutPrinter { 9 | 10 | /** 11 | * Provide output from a layout. 12 | */ 13 | void print(PrintStream out); 14 | } 15 | -------------------------------------------------------------------------------- /modules/logback-console-config/src/main/resources/logback.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | %-5level - %msg%n 5 | 6 | System.err 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/request/DelegatedCredentialAware.java: -------------------------------------------------------------------------------- 1 | package org.dcache.srm.request; 2 | 3 | /** 4 | * A class that knows about a delegated credential. 5 | */ 6 | public interface DelegatedCredentialAware { 7 | 8 | /** 9 | * The ID of the delegated credential or null if no such credential is available. 10 | */ 11 | Long getCredentialId(); 12 | } 13 | -------------------------------------------------------------------------------- /packages/fhs/src/main/deb/prerm: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | 3 | if type "systemctl" > /dev/null 2>&1; then 4 | #Note: Users may have overriden the units and changed the dependencies between them, thus stop both, the “global” and the instance units. 5 | systemctl stop dcache.target 6 | systemctl stop dcache@*.service 7 | else 8 | invoke-rc.d dcache stop || : 9 | fi 10 | 11 | #DEBHELPER# 12 | -------------------------------------------------------------------------------- /skel/share/services/ping.batch: -------------------------------------------------------------------------------- 1 | # Starts ping service 2 | 3 | onerror shutdown 4 | 5 | check -strong ping.cell.name 6 | check -strong ping.cell.consume 7 | check -strong ping.limit.max-wait 8 | check -strong ping.limit.max-wait.unit 9 | 10 | create org.dcache.cells.UniversalSpringCell ${ping.cell.name} \ 11 | "classpath:org/dcache/services/bulk/ping.xml \ 12 | -consume=${ping.cell.consume}" 13 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/InconsistentCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class InconsistentCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = 2432864584191555957L; 6 | 7 | public InconsistentCacheException(int errorCode, String errorMsg) { 8 | super(errorCode, errorMsg); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/diskCacheV111/admin/UserMetaDataProvider.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.admin; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | /** 7 | * Author : Patrick Fuhrmann 8 | */ 9 | public interface UserMetaDataProvider { 10 | 11 | Map getUserMetaData(String userName, String userRole, List attributes) 12 | throws Exception; 13 | } 14 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/scheduler/JobIdGenerator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JobIdGenerator.java 3 | * 4 | * Created on June 21, 2004, 5:02 PM 5 | */ 6 | 7 | package org.dcache.srm.scheduler; 8 | 9 | /** 10 | * @author timur 11 | */ 12 | public interface JobIdGenerator { 13 | 14 | long getNextId(); 15 | 16 | // true long numbers sequence 17 | long nextLong(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/protocols/telnet/TelnetServerAuthentication.java: -------------------------------------------------------------------------------- 1 | package dmg.protocols.telnet; 2 | 3 | import java.net.InetAddress; 4 | 5 | public interface TelnetServerAuthentication { 6 | 7 | boolean isHostOk(InetAddress host); 8 | 9 | boolean isUserOk(InetAddress host, String user); 10 | 11 | boolean isPasswordOk(InetAddress host, String user, String passwd); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/validation/DoorValidationStrategyFactory.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.validation; 2 | 3 | /** 4 | * @author timur 5 | */ 6 | public class DoorValidationStrategyFactory extends ValidationStrategyFactory { 7 | 8 | @Override 9 | public ValidationStrategy newValidationStrategy() { 10 | return new DoorValidationStrategy(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/namespace/ListHandler.java: -------------------------------------------------------------------------------- 1 | package org.dcache.namespace; 2 | 3 | import diskCacheV111.util.CacheException; 4 | import org.dcache.vehicles.FileAttributes; 5 | 6 | /** 7 | * Callback interface used by NameSpaceProvider.list. 8 | */ 9 | public interface ListHandler { 10 | 11 | void addEntry(String name, FileAttributes attrs) 12 | throws CacheException; 13 | } 14 | -------------------------------------------------------------------------------- /packages/fhs/src/main/scripts/dcache-limits.conf: -------------------------------------------------------------------------------- 1 | # 2 | # limits configuration for dcache 3 | # 4 | # Note that this file is ignored by systemd. Any modification to 5 | # limits must be done within the (generated) units. 6 | # 7 | 8 | # number of processes/threads 9 | dcache soft nproc unlimited 10 | 11 | # number of open files and connections 12 | dcache soft nofile 65535 13 | dcache hard nofile 65535 14 | 15 | -------------------------------------------------------------------------------- /modules/cells/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | The DESY Java Cell Documention 3 | 4 |
5 |

6 |

The DESY Java Cells

7 |

8 |

The Cell Package API

9 |

The Guide

10 | 11 | 12 | -------------------------------------------------------------------------------- /modules/gplazma2-grid/src/test/resources/org/dcache/gplazma/plugins/vorolemap-no-wildcard.fixture: -------------------------------------------------------------------------------- 1 | # some comment with a following empty line 2 | 3 | "/O=GermanGrid/OU=DESY/CN=Tigran Mkrtchyan" "/dteam/Role=NULL/Capability=NULL" tigran 4 | "/O=GermanGrid/OU=DESY/CN=Tigran Mkrtchyan" "/cms/Role=NULL/Capability=NULL" tigrancms # comment 5 | "/O=GermanGrid/OU=DESY/CN=Klaus Maus" "/dteam/Role=NULL/Capability=NULL" klaus # comment" 6 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/protocol.md: -------------------------------------------------------------------------------- 1 | Protocol-by-protocol 2 | ==================== 3 | 4 | This part of the book goes into detail about how to use dCache with 5 | specific protocols. There is a chapter for each protocol. 6 | 7 | Table of Contents 8 | ----------------- 9 | 10 | * [Chapter 4. Frontend](frontend.md) 11 | * [Chapter 5. FTP](ftp.md) 12 | * [Chapter 6. NFS](nfs.md) 13 | * [Chapter 7. WebDAV](webdav.md) 14 | -------------------------------------------------------------------------------- /modules/common/src/main/java/org/dcache/auth/GroupPrincipal.java: -------------------------------------------------------------------------------- 1 | package org.dcache.auth; 2 | 3 | import java.security.Principal; 4 | 5 | /** 6 | * An interface for group principals. Group principals distinguish themselves from other principals 7 | * by having a primaryGroup property. 8 | * 9 | * @since 2.1 10 | */ 11 | public interface GroupPrincipal extends Principal { 12 | 13 | boolean isPrimaryGroup(); 14 | } 15 | -------------------------------------------------------------------------------- /skel/share/httpd/static/styles/restoreHandler.css: -------------------------------------------------------------------------------- 1 | #bird_large 2 | { 3 | display: none; 4 | } 5 | 6 | #main 7 | { 8 | width: 90%; 9 | } 10 | 11 | h1, h2 12 | { 13 | text-align: center; 14 | } 15 | 16 | h1 17 | { 18 | margin-bottom: 50px; 19 | } 20 | 21 | tr.error 22 | { 23 | background: orangered; 24 | color: white; 25 | } 26 | 27 | tr.odd.error 28 | { 29 | background: orange; 30 | color: white; 31 | } 32 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/migration/LruOrder.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.migration; 2 | 3 | import java.util.Comparator; 4 | import org.dcache.pool.repository.CacheEntry; 5 | 6 | class LruOrder implements Comparator { 7 | 8 | @Override 9 | public int compare(CacheEntry e1, CacheEntry e2) { 10 | return Long.compare(e1.getLastAccessTime(), e2.getLastAccessTime()); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/java/org/dcache/srm/util/events/OneToManyMapChangeListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * OneToManyMapChangeListener.java 3 | * 4 | * Created on February 10, 2004, 11:20 AM 5 | */ 6 | 7 | package org.dcache.srm.util.events; 8 | 9 | import java.beans.PropertyChangeListener; 10 | 11 | /** 12 | * @author timur 13 | */ 14 | public interface OneToManyMapChangeListener extends PropertyChangeListener { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /modules/dcache-xrootd/src/main/java/org/dcache/xrootd/door/LoginEvent.java: -------------------------------------------------------------------------------- 1 | package org.dcache.xrootd.door; 2 | 3 | import org.dcache.auth.LoginReply; 4 | 5 | public class LoginEvent { 6 | 7 | private LoginReply _loginReply; 8 | 9 | public LoginEvent(LoginReply loginReply) { 10 | _loginReply = loginReply; 11 | } 12 | 13 | public LoginReply getLoginReply() { 14 | return _loginReply; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/classic/NopCompletionHandler.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.classic; 2 | 3 | import java.nio.channels.CompletionHandler; 4 | 5 | public class NopCompletionHandler implements CompletionHandler { 6 | 7 | @Override 8 | public void completed(V result, A attachment) { 9 | } 10 | 11 | @Override 12 | public void failed(Throwable exc, A attachment) { 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache/src/test/java/org/dcache/tests/util/CecheExceptionTest.java: -------------------------------------------------------------------------------- 1 | package org.dcache.tests.util; 2 | 3 | import diskCacheV111.util.CacheException; 4 | import org.junit.Test; 5 | 6 | public class CecheExceptionTest { 7 | 8 | 9 | @Test 10 | public void testCacheExceptionNoMEssage() { 11 | 12 | CacheException cacheException = new CacheException(CacheException.FILE_NOT_FOUND, null); 13 | 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /modules/srm-server/doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | SRM DOCUMENTATION 7 | 8 | 9 | JAVADOCS
10 |
11 | UNIX FILESYSTEM NSTALLATION INSTUCTIONS
12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /modules/dcache-info/src/main/java/org/dcache/services/info/base/guides/VisitEverythingStateGuide.java: -------------------------------------------------------------------------------- 1 | package org.dcache.services.info.base.guides; 2 | 3 | import org.dcache.services.info.base.StateGuide; 4 | import org.dcache.services.info.base.StatePath; 5 | 6 | public class VisitEverythingStateGuide implements StateGuide { 7 | 8 | @Override 9 | public boolean isVisitable(StatePath path) { 10 | return true; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/srm-common/src/main/patches/02-add-isProcessing.diff: -------------------------------------------------------------------------------- 1 | --- org/dcache/srm/v2_2/TStatusCode.java-old 2014-07-24 19:12:39.000000000 +0200 2 | +++ org/dcache/srm/v2_2/TStatusCode.java 2014-07-24 19:13:10.000000000 +0200 3 | @@ -131,4 +131,8 @@ 4 | return typeDesc; 5 | } 6 | 7 | + public boolean isProcessing() 8 | + { 9 | + return this == SRM_REQUEST_QUEUED || this == SRM_REQUEST_INPROGRESS; 10 | + } 11 | } 12 | -------------------------------------------------------------------------------- /modules/srm-server/bin/export.sh: -------------------------------------------------------------------------------- 1 | cvs -d timur@cvs-dcache.desy.de:/home/cvs/cvs-root export -D today Sandbox/Java/org.dcache/srm Sandbox/Java/org.dcache/util/KAuthFile.java Sandbox/Java/org.dcache/util/UserAuthRecord.java Sandbox/Java/org.dcache/util/UserPwdRecord.java Sandbox/Java/org.dcache/util/UserAuthBase.java 2 | mv Sandbox/Java/org.dcache org.dcache 3 | rm -rf Sandbox/Java Sandbox org.dcache/srm/dcache org.dcache/srm/disk org.dcache/srm/v2_1 4 | 5 | -------------------------------------------------------------------------------- /skel/share/cells/preload.fragment: -------------------------------------------------------------------------------- 1 | # 2 | # Configure cell communication 3 | ############################################################## 4 | 5 | onerror shutdown 6 | exec file:${dcache.paths.share}/cells/tunnel-${dcache.broker.scheme}.fragment 7 | 8 | # 9 | # Instantiate any static information for info service 10 | ############################################################## 11 | 12 | exec file:${dcache.paths.share}/cells/info-static.fragment 13 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/org/dcache/pool/repository/FileSizeMismatchException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository; 2 | 3 | import org.dcache.pool.repository.v3.RepositoryException; 4 | 5 | public class FileSizeMismatchException extends RepositoryException { 6 | 7 | private static final long serialVersionUID = -5255866857461687962L; 8 | 9 | public FileSizeMismatchException(String s) { 10 | super(s); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/gplazma2-grid/src/test/resources/org/dcache/gplazma/plugins/vorolemap-wildcard.fixture: -------------------------------------------------------------------------------- 1 | # some comment with a following empty line 2 | 3 | "/O=GermanGrid/OU=DESY/CN=Tigran Mkrtchyan" "/dteam/Role=NULL/Capability=NULL" tigran 4 | "*" "/dteam" dteamuser 5 | "/O=GermanGrid/OU=DESY/CN=Tigran Mkrtchyan" "/cms/Role=NULL/Capability=NULL" tigrancms # comment 6 | * horst 7 | "/O=GermanGrid/OU=DESY/CN=Klaus Maus" "/dteam/Role=NULL/Capability=NULL" klaus # comment" 8 | -------------------------------------------------------------------------------- /modules/srm-server/sbin/srmConfigFile.xml: -------------------------------------------------------------------------------- 1 | 2 | srmDomain 3 | -param 4 | - 5 | 6 | setupFile=/home/enstore/dcache-deploy/config/srmSetup 7 | 8 | ourHomeDir=/home/enstore/dcache-deploy/ 9 | ourName=srm 10 | -batch 11 | /home/enstore/dcache-deploy/config/srm.batch 12 | 13 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/common.md: -------------------------------------------------------------------------------- 1 | Common topics 2 | ============= 3 | 4 | This part of the book contains information about more general topics. 5 | Typically, these concepts apply to multiple network protocols. 6 | 7 | Table of Contents 8 | ----------------- 9 | 10 | * [Chapter 1. Understanding macaroons](macaroons.md) 11 | 12 | * [Chapter 2. Extended attributes](xattr.md) 13 | 14 | * [Chapter 3. Working with tertiary storage](tertiary.md) 15 | 16 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/diskCacheV111/util/HsmLocation.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | import java.net.URI; 4 | import java.util.Map; 5 | 6 | public interface HsmLocation { 7 | 8 | /** 9 | * @return URI representation of location information 10 | */ 11 | URI location(); 12 | 13 | /** 14 | * @return pnfs level based representation of location information 15 | */ 16 | Map toLevels(); 17 | } 18 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/loader/cli/Command.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.loader.cli; 2 | 3 | import java.io.PrintStream; 4 | import org.dcache.gplazma.loader.PluginRepositoryFactory; 5 | 6 | /** 7 | * The gPlazma plugin-loader CLI commands. 8 | */ 9 | public interface Command { 10 | 11 | int run(String[] args); 12 | 13 | void setFactory(PluginRepositoryFactory factory); 14 | 15 | void setOutput(PrintStream out); 16 | } 17 | -------------------------------------------------------------------------------- /packages/system-test/src/main/skel/etc/admin/ssh_host_rsa_key.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCymP07Uq8itfNKoKU51bJc7FfhYEVRpxU2rbQJv86MkVONh/3hrIy33tyRBtPzee14vkP2yLuoUtLD6yZ4l3dNoma4+5IyCuUOb1JWvWzW7yoz6jNt644I/uf6lx8PMOEBBF3AGoSXo/8NV/8MTmIDLiV1bgH4on5qq5tPPd4JhfVZmIKfqHdv1VjgFIE93G+dUbNW172N7VmNwjwXpQD0Fpz4C5j3pLoeBuElsQFMfiwvOoJuzugyM1iuEDaYUOkgwfBb3Aotg6nbSAM4TeNnvyeyld9JvAHEK5o2/Ja2diC1PixdsIHSUm5W1om5xllWOU6Yx8bCu21i5ayt07Ax behrmann@Gerds-MacBook-Pro.local 2 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/readme.md: -------------------------------------------------------------------------------- 1 | This [User Guide](index.md) is about **dCache**, a distributed storage 2 | solution for storing huge amounts of data without a hard limit, on the 3 | order of hundreds of Petabytes. 4 | 5 | This guide helps people using dCache get the most from their dCache 6 | service. It describes how to use some of the advance features that 7 | dCache provides, along with some helpful hint and tips for problems 8 | that people often stumble over. 9 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/RoutedMessageEvent.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | /** 4 | * @author Patrick Fuhrmann 5 | * @version 0.1, 15 Feb 1998 6 | */ 7 | public class RoutedMessageEvent extends MessageEvent { 8 | 9 | public RoutedMessageEvent(CellMessage msg) { 10 | super(msg); 11 | } 12 | 13 | public String toString() { 14 | return "RoutedMessageEvent(source=" + getSource() + ')'; 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/SourceCostException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | /** 4 | * Exception thrown when source pools for pool to pool exceed cost constraints. 5 | */ 6 | public class SourceCostException extends MissingResourceCacheException { 7 | 8 | private static final long serialVersionUID = -1684204245725575685L; 9 | 10 | public SourceCostException(String message) { 11 | super(message); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/migration/SizeOrder.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.migration; 2 | 3 | import java.util.Comparator; 4 | import org.dcache.pool.repository.CacheEntry; 5 | 6 | class SizeOrder implements Comparator { 7 | 8 | @Override 9 | public int compare(CacheEntry e1, CacheEntry e2) { 10 | long diff = e1.getReplicaSize() - e2.getReplicaSize(); 11 | return diff < 0 ? -1 : (diff > 0 ? 1 : 0); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/srm-server/src/main/resources/META-INF/services/org.dcache.srm.scheduler.spi.SchedulingStrategyProvider: -------------------------------------------------------------------------------- 1 | org.dcache.srm.scheduler.strategy.ThroughputFairShareSchedulingStrategyProvider 2 | org.dcache.srm.scheduler.strategy.InProgressFairShareSchedulingStrategyProvider 3 | org.dcache.srm.scheduler.strategy.FifoSchedulingStrategyProvider 4 | org.dcache.srm.scheduler.strategy.LifoSchedulingStrategyProvider 5 | org.dcache.srm.scheduler.strategy.TapeRecallSchedulingStrategyProvider 6 | -------------------------------------------------------------------------------- /skel/share/services/telemetry.batch: -------------------------------------------------------------------------------- 1 | check -strong telemetry.cell.name 2 | check -strong telemetry.instance.site-name 3 | check -strong telemetry.cell.enable 4 | check telemetry.instance.location.latitude 5 | check telemetry.instance.location.longitude 6 | check -strong telemetry.service.poolmanager 7 | check -strong telemetry.destination.url 8 | 9 | create org.dcache.cells.UniversalSpringCell "${telemetry.cell.name}" \ 10 | "classpath:org/dcache/telemetry/telemetry.xml" 11 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/CellMessageReceiver.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | 4 | /** 5 | * Classes implementing this interface can receive Cell messages. Objects can receive message by 6 | * implementing one or more of the following methods, where T is an arbitrary message object: 7 | *

8 | * void messageArrived(T message); void messageArrived(CellMessage envelope, T message); 9 | */ 10 | public interface CellMessageReceiver { 11 | 12 | } 13 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/HasDiagnosticContext.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | /** 4 | * Implemented by objects capable of providing diagnostic context information. 5 | *

6 | * Typically implemented by messages, with the expectation that the information is pushed to the 7 | * Log4j Nested Diagnostic Context while processing the message. 8 | */ 9 | public interface HasDiagnosticContext { 10 | 11 | String getDiagnosticContext(); 12 | } 13 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/services/login/user/AcDictionary.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.services.login.user; 2 | 3 | import java.util.Enumeration; 4 | import java.util.NoSuchElementException; 5 | 6 | public interface AcDictionary { 7 | 8 | Enumeration getPrincipals(); 9 | 10 | boolean getPermission(String prinicalName) 11 | throws NoSuchElementException; 12 | 13 | boolean isResolved(); 14 | 15 | String getInheritance(); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/migration/PoolSelectionStrategy.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.migration; 2 | 3 | import diskCacheV111.vehicles.PoolManagerPoolInformation; 4 | import java.util.List; 5 | import javax.annotation.Nullable; 6 | 7 | /** 8 | * A strategy for selecting a pool from a list. 9 | */ 10 | public interface PoolSelectionStrategy { 11 | 12 | @Nullable 13 | PoolManagerPoolInformation select(List pools); 14 | } 15 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/HttpResponseEngine.java: -------------------------------------------------------------------------------- 1 | // $Id: HttpResponseEngine.java,v 1.2 2001-09-17 15:08:32 cvs Exp $ 2 | 3 | package dmg.util; 4 | 5 | /** 6 | * It is assumed, that the engine has one of the following constructors : 7 | *

8 | * - ( CellNucleus nucleus , String [] args ) ; - ( String [] args ) ; - () 9 | */ 10 | public interface HttpResponseEngine { 11 | 12 | void queryUrl(HttpRequest request) throws HttpException; 13 | } 14 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/migration/StickyFilter.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.migration; 2 | 3 | import java.util.function.Predicate; 4 | import org.dcache.pool.repository.CacheEntry; 5 | 6 | /** 7 | * Repository entry filter accepting entries that are sticky. 8 | */ 9 | public class StickyFilter implements Predicate { 10 | 11 | @Override 12 | public boolean test(CacheEntry entry) { 13 | return entry.isSticky(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/missingfiles/Action.java: -------------------------------------------------------------------------------- 1 | package org.dcache.missingfiles; 2 | 3 | /** 4 | * Recommended behaviour for a door provided by the missing file service. 5 | */ 6 | public enum Action { 7 | /** 8 | * The door should retry the request. This is sent when some external script has populated the 9 | * missing file. 10 | */ 11 | RETRY, 12 | 13 | /** 14 | * The door should fail the request. 15 | */ 16 | FAIL 17 | } 18 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/loader/PluginRepositoryFactory.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.loader; 2 | 3 | /** 4 | * Classes that implement this interface provide information about a set of plugins as a {@link 5 | * PluginRepository} object. The returned PluginRepository may represent the plugins discovered as 6 | * part of some auto-discovery process. 7 | */ 8 | public interface PluginRepositoryFactory { 9 | 10 | PluginRepository newRepository(); 11 | } 12 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/DestinationCostException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | /** 4 | * Exception thrown when destination pools for pool to pool exceed cost constraints. 5 | */ 6 | public class DestinationCostException extends MissingResourceCacheException { 7 | 8 | private static final long serialVersionUID = -5730196871505024467L; 9 | 10 | public DestinationCostException(String message) { 11 | super(message); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/movers/DataBlocksRecipient.java: -------------------------------------------------------------------------------- 1 | /* 2 | * ChecksumUpdateRecepient.java 3 | * 4 | * Created on March 29, 2005, 11:33 AM 5 | */ 6 | 7 | package org.dcache.pool.movers; 8 | 9 | import java.io.IOException; 10 | 11 | /** 12 | * @author timur 13 | */ 14 | public interface DataBlocksRecipient { 15 | 16 | void receiveEBlock(byte[] array, int offset, int length, 17 | long offsetOfArrayInFile) 18 | throws IOException; 19 | } 20 | -------------------------------------------------------------------------------- /modules/dcache/src/main/resources/org/dcache/pinmanager/model/db.changelog-master.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/FileInCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class FileInCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = -2554947305070917562L; 6 | 7 | public FileInCacheException(String msg) { 8 | super(FILE_IN_CACHE, msg); 9 | } 10 | 11 | public FileInCacheException(String msg, Throwable cause) { 12 | super(FILE_IN_CACHE, msg, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/OutOfDateCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class OutOfDateCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = 7169163632355090575L; 6 | 7 | public OutOfDateCacheException(String msg) { 8 | super(OUT_OF_DATE, msg); 9 | } 10 | 11 | public OutOfDateCacheException(String msg, Throwable cause) { 12 | super(OUT_OF_DATE, msg, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/missingfiles/plugins/PluginVisitor.java: -------------------------------------------------------------------------------- 1 | package org.dcache.missingfiles.plugins; 2 | 3 | /** 4 | * A class that implements PluginVisitor will process the list of plugins in the order configured. 5 | */ 6 | public interface PluginVisitor { 7 | 8 | /** 9 | * Process a plugin. Returning true will continue to the next plugin; returning false results 10 | * in no further plugins being visited. 11 | */ 12 | boolean visit(Plugin plugin); 13 | } 14 | -------------------------------------------------------------------------------- /modules/acl/src/test/resources/org/dcache/acl/create-hsqldb.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE t_acl ( 2 | rs_id CHAR(36) NOT NULL, 3 | rs_type INT NOT NULL, 4 | type INT DEFAULT 0 NOT NULL, 5 | flags INT NOT NULL, 6 | access_msk INT DEFAULT 0 NOT NULL, 7 | who INT NOT NULL, 8 | who_id INT, 9 | address_msk CHAR(32) DEFAULT 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' NOT NULL, 10 | ace_order INT DEFAULT 0 NOT NULL, 11 | PRIMARY KEY (rs_id, ace_order) 12 | ); 13 | 14 | CREATE INDEX i_t_acl_rs_id ON t_acl(rs_id); 15 | -------------------------------------------------------------------------------- /modules/dcache-info/src/main/resources/META-INF/services/org.dcache.services.info.gathers.DgaFactoryService: -------------------------------------------------------------------------------- 1 | org.dcache.services.info.gathers.cells.CellsDgaFactoryService 2 | org.dcache.services.info.gathers.domain.DomainDgaFactoryService 3 | org.dcache.services.info.gathers.poolmanager.PoolManagerDgaFactoryService 4 | org.dcache.services.info.gathers.routingmanager.RoutingManagerDgaFactoryService 5 | org.dcache.services.info.gathers.srm.SrmDgaFactoryService 6 | org.dcache.services.info.gathers.topo.TopoDgaFactoryService 7 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/NotDirCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class NotDirCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = 7720043483914132679L; 6 | 7 | public NotDirCacheException(String msg) { 8 | super(CacheException.NOT_DIR, msg); 9 | } 10 | 11 | public NotDirCacheException(String msg, Throwable cause) { 12 | super(CacheException.NOT_DIR, msg, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/fhs/src/main/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM dcache/deps:latest 2 | MAINTAINER dCache "https://www.dcache.org" 3 | 4 | RUN groupadd -r dcache && useradd -r -g dcache dcache 5 | 6 | WORKDIR / 7 | 8 | RUN git clone https://github.com/dCache/dcache.git 9 | 10 | WORKDIR /dcache 11 | 12 | RUN git checkout master 13 | 14 | RUN mvn -am -pl packages/fhs package -P deb -DskipTests 15 | 16 | RUN dpkg -i packages/fhs/target/dcache_*all.deb 17 | 18 | WORKDIR / 19 | 20 | RUN rm -rf /dcache 21 | RUN rm -rf /root/.m2 22 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/vehicles/PoolFlushControlMessage.java: -------------------------------------------------------------------------------- 1 | // $Id: PoolFlushControlMessage.java,v 1.2 2006-01-31 10:59:46 patrick Exp $ 2 | 3 | package diskCacheV111.vehicles; 4 | // 5 | // Flush Control 6 | // 7 | 8 | public class PoolFlushControlMessage extends PoolMessage { 9 | 10 | private static final long serialVersionUID = 2092239799703859611L; 11 | 12 | public PoolFlushControlMessage(String poolName) { 13 | super(poolName); 14 | } 15 | } 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/migration/PoolMigrationJobMessage.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.migration; 2 | 3 | import diskCacheV111.vehicles.Message; 4 | 5 | public class PoolMigrationJobMessage extends Message { 6 | 7 | private static final long serialVersionUID = -1581134399801361981L; 8 | private final String _id; 9 | 10 | public PoolMigrationJobMessage(String id) { 11 | _id = id; 12 | } 13 | 14 | public String getJobId() { 15 | return _id; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/common/src/main/java/org/dcache/util/SequentialExecutor.java: -------------------------------------------------------------------------------- 1 | package org.dcache.util; 2 | 3 | import java.util.concurrent.Executor; 4 | 5 | /** 6 | * An executor which executes its tasks sequentially. 7 | *

8 | * Differs from Executors#newSingleThreadExecutor by sourcing a thread from a shared executor when 9 | * needed. 10 | */ 11 | public class SequentialExecutor extends BoundedExecutor { 12 | 13 | public SequentialExecutor(Executor executor) { 14 | super(executor, 1); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/FileNotFoundCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class FileNotFoundCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = 7720043483914132679L; 6 | 7 | public FileNotFoundCacheException(String msg) { 8 | super(FILE_NOT_FOUND, msg); 9 | } 10 | 11 | public FileNotFoundCacheException(String msg, Throwable cause) { 12 | super(FILE_NOT_FOUND, msg, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/NotFileCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class NotFileCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = 8192092941871084755L; 6 | 7 | public NotFileCacheException(String msg) { 8 | super(CacheException.NOT_FILE, msg); 9 | } 10 | 11 | public NotFileCacheException(String msg, Throwable cause) { 12 | super(CacheException.NOT_FILE, msg, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/strategies/PluginCaller.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.strategies; 2 | 3 | import org.dcache.gplazma.AuthenticationException; 4 | import org.dcache.gplazma.plugins.GPlazmaPlugin; 5 | 6 | /** 7 | * @author timur 8 | */ 9 | public interface PluginCaller { 10 | 11 | /** 12 | * @param plugin 13 | * @throws AuthenticationException 14 | */ 15 | void call(GPlazmaPluginService plugin) throws AuthenticationException; 16 | } 17 | -------------------------------------------------------------------------------- /modules/benchmarks/src/main/resources/logback-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d{yyyy-MM-dd HH:mm:ss.SSS} [%X{mdc.client}] [%thread] %highlight(%-5level) %cyan(%logger{15}) - %msg%n 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/TimeoutCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class TimeoutCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = 3273736524042777488L; 6 | 7 | public TimeoutCacheException(String msg) { 8 | super(CacheException.TIMEOUT, msg); 9 | } 10 | 11 | public TimeoutCacheException(String message, Throwable cause) { 12 | super(CacheException.TIMEOUT, message, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache/src/main/resources/org/dcache/alarms/db/sql/alarms.changelog-master.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/IteratorCookie.java: -------------------------------------------------------------------------------- 1 | // $Id: IteratorCookie.java,v 1.3 2004-11-09 08:04:48 tigran Exp $ 2 | 3 | package diskCacheV111.util; 4 | 5 | 6 | import java.io.Serializable; 7 | 8 | public class IteratorCookie implements Serializable { 9 | 10 | private static final long serialVersionUID = -8975020858113782371L; 11 | 12 | public boolean done() { 13 | return false; 14 | } 15 | 16 | public boolean invalidated() { 17 | return false; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/FileExistsCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class FileExistsCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = 7720043483914132679L; 6 | 7 | public FileExistsCacheException(String msg) { 8 | super(CacheException.FILE_EXISTS, msg); 9 | } 10 | 11 | public FileExistsCacheException(String msg, Throwable cause) { 12 | super(CacheException.FILE_EXISTS, msg, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/CellEventListener.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | /** 4 | * Classes implementing this method receive notifications about cell and route creation and removal 5 | * events. 6 | */ 7 | public interface CellEventListener { 8 | 9 | default void cellCreated(CellEvent ce) { 10 | } 11 | 12 | default void cellDied(CellEvent ce) { 13 | } 14 | 15 | default void routeAdded(CellEvent ce) { 16 | } 17 | 18 | default void routeDeleted(CellEvent ce) { 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/services/login/user/AclPermissionException.java: -------------------------------------------------------------------------------- 1 | // $Id: AclPermissionException.java,v 1.2 2005-03-08 15:37:16 patrick Exp $ 2 | 3 | package dmg.cells.services.login.user; 4 | 5 | import java.io.Serializable; 6 | 7 | public class AclPermissionException 8 | extends Exception 9 | implements Serializable { 10 | 11 | private static final long serialVersionUID = -2497174074062405497L; 12 | 13 | public AclPermissionException(String message) { 14 | super(message); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/vehicles/PoolManagerGetPoolsByLinkMessage.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.vehicles; 2 | 3 | public class PoolManagerGetPoolsByLinkMessage 4 | extends PoolManagerGetPoolsMessage { 5 | 6 | private static final long serialVersionUID = 1860087087699860426L; 7 | 8 | private final String _link; 9 | 10 | public PoolManagerGetPoolsByLinkMessage(String link) { 11 | _link = link; 12 | } 13 | 14 | public String getLink() { 15 | return _link; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /skel/share/services/info.batch: -------------------------------------------------------------------------------- 1 | ## 2 | ## ---- Info Cell: broadcasting to "civilisation" 3 | ## 4 | 5 | onerror shutdown 6 | 7 | check -strong info.cell.name 8 | check info.cell.consume 9 | check info.cell.subscribe 10 | check -strong info.net.port 11 | check -strong info.net.listen 12 | check -strong info.net.backlog 13 | 14 | create org.dcache.cells.UniversalSpringCell ${info.cell.name} \ 15 | "classpath:org/dcache/services/info/info.xml \ 16 | -subscribe=${info.cell.subscribe} \ 17 | -consume=${info.cell.consume}" 18 | 19 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/ConfigurationException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | /** 4 | * Thrown when a configuration error is found. 5 | */ 6 | public class ConfigurationException extends Exception { 7 | 8 | private static final long serialVersionUID = -1879022223068061993L; 9 | 10 | public ConfigurationException(String msg) { 11 | super(msg); 12 | } 13 | 14 | public ConfigurationException(String msg, Throwable cause) { 15 | super(msg, cause); 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/OutOfDiskException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository; 2 | 3 | import java.io.IOException; 4 | 5 | /** 6 | * IOException that indicates lack of available space. 7 | */ 8 | public class OutOfDiskException extends IOException { 9 | 10 | private static final long serialVersionUID = 94815748828719063L; 11 | 12 | public OutOfDiskException() { 13 | super(); 14 | } 15 | 16 | public OutOfDiskException(String message) { 17 | super(message); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/Slf4jInfoWriter.java: -------------------------------------------------------------------------------- 1 | package dmg.util; 2 | 3 | import org.slf4j.Logger; 4 | 5 | /** 6 | * Slf4j Logger adapter implementing the LineWriter interface. Logs all lines at info level. 7 | */ 8 | public class Slf4jInfoWriter 9 | implements LineWriter { 10 | 11 | private final Logger _logger; 12 | 13 | public Slf4jInfoWriter(Logger logger) { 14 | _logger = logger; 15 | } 16 | 17 | @Override 18 | public void writeLine(String line) { 19 | _logger.info(line); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/dcache-qos/src/main/resources/org/dcache/qos/model/db.changelog-master.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /modules/dcache/src/main/resources/org/dcache/services/pinmanager1/changelog/db.changelog-master.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /skel/share/services/missing-files.batch: -------------------------------------------------------------------------------- 1 | # 2 | # Missing Files service 3 | # 4 | # An optional, pluggable component that allows dCache to respond to 5 | # missing files. 6 | # 7 | 8 | onerror shutdown 9 | 10 | check -strong missing-files.cell.name 11 | check missing-files.cell.consume 12 | check -strong missing-files.limits.threads 13 | 14 | check missing-files.plugins 15 | 16 | create org.dcache.cells.UniversalSpringCell ${missing-files.cell.name} \ 17 | "classpath:org/dcache/missingfiles/missingfiles.xml -consume=${missing-files.cell.consume}" 18 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/Slf4jErrorWriter.java: -------------------------------------------------------------------------------- 1 | package dmg.util; 2 | 3 | import org.slf4j.Logger; 4 | 5 | /** 6 | * Slf4j Logger adapter implementing the LineWriter interface. Logs all lines at info level. 7 | */ 8 | public class Slf4jErrorWriter 9 | implements LineWriter { 10 | 11 | private final Logger _logger; 12 | 13 | public Slf4jErrorWriter(Logger logger) { 14 | _logger = logger; 15 | } 16 | 17 | @Override 18 | public void writeLine(String line) { 19 | _logger.error(line); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/vehicles/PnfsDeleteEntryNotificationMessage.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.vehicles; 2 | 3 | import static java.util.Objects.requireNonNull; 4 | 5 | import diskCacheV111.util.PnfsId; 6 | 7 | public class PnfsDeleteEntryNotificationMessage extends PnfsMessage { 8 | 9 | private static final long serialVersionUID = -835476659990130630L; 10 | 11 | public PnfsDeleteEntryNotificationMessage(PnfsId pnfsId) { 12 | super(requireNonNull(pnfsId)); 13 | setReplyRequired(true); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/util/expression/UnknownIdentifierException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.util.expression; 2 | 3 | public class UnknownIdentifierException extends Exception { 4 | 5 | private static final long serialVersionUID = -6503622624033170074L; 6 | private final String _identifier; 7 | 8 | public UnknownIdentifierException(String s) { 9 | super("Unknown identifier: " + s); 10 | _identifier = s; 11 | } 12 | 13 | public String getIdentifier() { 14 | return _identifier; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/gplazma2/src/test/java/org/dcache/gplazma/IdentityMappingPlugin.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma; 2 | 3 | import java.security.Principal; 4 | import java.util.Properties; 5 | import java.util.Set; 6 | import org.dcache.gplazma.plugins.GPlazmaMappingPlugin; 7 | 8 | public class IdentityMappingPlugin implements GPlazmaMappingPlugin { 9 | 10 | public IdentityMappingPlugin(Properties properties) { 11 | // 12 | } 13 | 14 | @Override 15 | public void map(Set principals) throws AuthenticationException { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /packages/system-test/src/main/bin/hsqldb: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | @DCACHE_LOAD_CONFIG@ 4 | 5 | lib="$(getProperty dcache.paths.share.lib)" 6 | . ${lib}/utils.sh 7 | 8 | classpath=$(printLimitedClassPath hsqldb) 9 | 10 | if [ -n "$1" ]; then 11 | user=$(getProperty $1.db.user) 12 | password=$(getProperty $1.db.password) 13 | url=$(getProperty $1.db.url) 14 | java -cp ${classpath} org.hsqldb.util.DatabaseManagerSwing -url "$url" -user "$user" -password "$password" 15 | else 16 | java -cp ${classpath} org.hsqldb.util.DatabaseManagerSwing 17 | fi 18 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/StartEvent.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | public class StartEvent extends CellEvent { 4 | 5 | private final long _timeout; 6 | 7 | public StartEvent(CellPath source, long timeout) { 8 | super(source, CellEvent.OTHER_EVENT); 9 | _timeout = timeout; 10 | } 11 | 12 | public long getTimeout() { 13 | return _timeout; 14 | } 15 | 16 | public String toString() { 17 | return "StartEvent(source=" + getSource() + ";timeout=" + _timeout + ')'; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /modules/dcache/src/test/java/org/dcache/tests/cells/Message.java: -------------------------------------------------------------------------------- 1 | package org.dcache.tests.cells; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Annotation used for cell options. 10 | */ 11 | @Retention(RetentionPolicy.RUNTIME) 12 | @Target(ElementType.METHOD) 13 | public @interface Message { 14 | 15 | boolean required() default false; 16 | 17 | int step() default 0; 18 | 19 | String cell(); 20 | } 21 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/services/login/user/UserRelationable.java: -------------------------------------------------------------------------------- 1 | // $Id: UserRelationable.java,v 1.1 2001-05-02 06:14:15 cvs Exp $ 2 | package dmg.cells.services.login.user; 3 | 4 | import java.util.Enumeration; 5 | import java.util.NoSuchElementException; 6 | 7 | public interface UserRelationable extends TopDownUserRelationable { 8 | 9 | Enumeration getParentsOf(String element) 10 | throws NoSuchElementException; 11 | 12 | boolean isParentOf(String element, String container) 13 | throws NoSuchElementException; 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache-gplazma/src/main/java/org/dcache/gplazma/plugins/NamespaceAware.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.plugins; 2 | 3 | import diskCacheV111.namespace.NameSpaceProvider; 4 | 5 | /** 6 | * A gPlazma plugin that implements NamespaceAware is able to talk to dCache's namespace. 7 | */ 8 | public interface NamespaceAware { 9 | 10 | /** 11 | * The plugin accepts the namespace provider. This method is called precisely once before any 12 | * plugin-related methods are called. 13 | */ 14 | void setNamespace(NameSpaceProvider namespace); 15 | } 16 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/PermissionDeniedCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | public class PermissionDeniedCacheException extends CacheException { 4 | 5 | private static final long serialVersionUID = 2922321833396873555L; 6 | 7 | public PermissionDeniedCacheException(String msg) { 8 | super(CacheException.PERMISSION_DENIED, msg); 9 | } 10 | 11 | public PermissionDeniedCacheException(String msg, Throwable cause) { 12 | super(CacheException.PERMISSION_DENIED, msg, cause); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/StickyChangeEvent.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository; 2 | 3 | /** 4 | * Encapsulates information describing changes to a sticky record of a repository entry. 5 | */ 6 | public class StickyChangeEvent extends EntryChangeEvent { 7 | 8 | public StickyChangeEvent(String why, CacheEntry oldEntry, CacheEntry newEntry) { 9 | super(why, oldEntry, newEntry); 10 | } 11 | 12 | public String toString() { 13 | return String.format("StickyRecordChangeEvent [id=%s]", getPnfsId()); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/org/dcache/vehicles/BeanQueryMessage.java: -------------------------------------------------------------------------------- 1 | package org.dcache.vehicles; 2 | 3 | import diskCacheV111.vehicles.Message; 4 | 5 | /** 6 | * Request to probe bean properties of a cell. 7 | */ 8 | public abstract class BeanQueryMessage extends Message { 9 | 10 | private static final long serialVersionUID = -8564720957441570916L; 11 | private Object result; 12 | 13 | public Object getResult() { 14 | return result; 15 | } 16 | 17 | public void setResult(Object aResult) { 18 | result = aResult; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/configuration/parser/ParseException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.configuration.parser; 2 | 3 | import org.dcache.gplazma.GPlazmaInternalException; 4 | 5 | /** 6 | * This Exception indicates there was a problem reading the structure of the 7 | * gPlazma configuration file. 8 | */ 9 | public class ParseException extends GPlazmaInternalException { 10 | 11 | private static final long serialVersionUID = 8146460786081822785L; 12 | 13 | public ParseException(String message) { 14 | super(message); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /skel/share/services/topo.batch: -------------------------------------------------------------------------------- 1 | # 2 | # Topology cell 3 | # 4 | # Needed by info service and dCache GUI 5 | # 6 | 7 | onerror shutdown 8 | 9 | check -strong topo.cell.name 10 | check topo.cell.consume 11 | 12 | check -strong topo.limits.refresh-period 13 | check -strong topo.limits.refresh-period.unit 14 | check -strong topo.service.system.timeout 15 | check -strong topo.service.system.timeout.unit 16 | 17 | create org.dcache.cells.UniversalSpringCell ${topo.cell.name} \ 18 | "classpath:org/dcache/services/topology/classic.xml -consume=${topo.cell.consume} -cellClass=TopoCell" 19 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/diskCacheV111/services/RemoteTransferManager.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.services; 2 | 3 | import diskCacheV111.vehicles.IpProtocolInfo; 4 | import diskCacheV111.vehicles.transferManager.RemoteTransferManagerMessage; 5 | import diskCacheV111.vehicles.transferManager.TransferManagerMessage; 6 | 7 | public class RemoteTransferManager extends TransferManager { 8 | 9 | @Override 10 | protected IpProtocolInfo getProtocolInfo(TransferManagerMessage message) { 11 | return ((RemoteTransferManagerMessage) message).getProtocolInfo(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/migration/PoolMigrationPingMessage.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.migration; 2 | 3 | import diskCacheV111.util.PnfsId; 4 | import java.util.UUID; 5 | 6 | /** 7 | * MigrationModuleServer message to check whether a transfer is still alive. 8 | */ 9 | public class PoolMigrationPingMessage extends PoolMigrationMessage { 10 | 11 | private static final long serialVersionUID = -5751734202065289034L; 12 | 13 | public PoolMigrationPingMessage(UUID uuid, String pool, PnfsId pnfsId) { 14 | super(uuid, pool, pnfsId); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/ReplicaState.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository; 2 | 3 | public enum ReplicaState { 4 | NEW(true), 5 | FROM_CLIENT(true), 6 | FROM_POOL(true), 7 | FROM_STORE(true), 8 | BROKEN(false), 9 | CACHED(false), 10 | PRECIOUS(false), 11 | REMOVED(false), 12 | DESTROYED(false); 13 | 14 | boolean isMutable; 15 | 16 | ReplicaState(boolean isMutable) { 17 | this.isMutable = isMutable; 18 | } 19 | 20 | public boolean isMutable() { 21 | return isMutable; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/diskCacheV111/util/CtaLocationExtractor.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | import java.net.URI; 4 | import java.util.Map; 5 | 6 | 7 | public class CtaLocationExtractor implements HsmLocation { 8 | 9 | private final URI _uri; 10 | 11 | public CtaLocationExtractor(URI location) { 12 | _uri = location; 13 | } 14 | 15 | 16 | @Override 17 | public URI location() { 18 | return _uri; 19 | } 20 | 21 | 22 | @Override 23 | public Map toLevels() { 24 | return null; 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /modules/dcache-bulk/src/main/resources/META-INF/services/org.dcache.services.bulk.activity.BulkActivityProvider: -------------------------------------------------------------------------------- 1 | org.dcache.services.bulk.activity.plugin.delete.DeleteActivityProvider 2 | org.dcache.services.bulk.activity.plugin.pin.PinActivityProvider 3 | org.dcache.services.bulk.activity.plugin.pin.UnpinActivityProvider 4 | org.dcache.services.bulk.activity.plugin.qos.UpdateQoSActivityProvider 5 | org.dcache.services.bulk.activity.plugin.log.LogTargetActivityProvider 6 | org.dcache.services.bulk.activity.plugin.pin.ReleaseActivityProvider 7 | org.dcache.services.bulk.activity.plugin.pin.StageActivityProvider -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/classic/LFSReplicaStatePolicyFactory.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.classic; 2 | 3 | public class LFSReplicaStatePolicyFactory { 4 | 5 | /** 6 | * Factory method for creating ReplicaStatePolicies based on LFS mode. 7 | */ 8 | public static ReplicaStatePolicy createInstance(String lfs) { 9 | if (lfs == null || !lfs.equals("volatile") && !lfs.equals("transient")) { 10 | return new ALRPReplicaStatePolicy(); 11 | } else { 12 | return new VolatileReplicaStatePolicy(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /modules/dcache-info/src/main/java/org/dcache/services/info/Configuration.java: -------------------------------------------------------------------------------- 1 | package org.dcache.services.info; 2 | 3 | /** 4 | * Information related to dCache configuration. 5 | */ 6 | public class Configuration { 7 | 8 | public static final String PROPERTY_NAME_SERVICE_TOPO = "info.service.topo"; 9 | public static final String PROPERTY_NAME_SERVICE_POOLMANAGER = "info.service.poolmanager"; 10 | public static final String PROPERTY_NAME_SERVICE_SPACEMANAGER = "info.service.spacemanager"; 11 | 12 | private Configuration() { 13 | // prevent instantiation. 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /modules/missingfiles-semsg/src/main/java/org/dcache/missingfiles/plugins/SEMsgPluginFactory.java: -------------------------------------------------------------------------------- 1 | package org.dcache.missingfiles.plugins; 2 | 3 | import org.dcache.util.configuration.ConfigurationProperties; 4 | 5 | 6 | /** 7 | * Factory class for the SEMsg plugin 8 | */ 9 | public class SEMsgPluginFactory implements PluginFactory { 10 | 11 | @Override 12 | public String getName() { 13 | return "semsg"; 14 | } 15 | 16 | @Override 17 | public Plugin createPlugin(ConfigurationProperties properties) { 18 | return new SEMsgPlugin(properties); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /skel/etc/dcache.conf: -------------------------------------------------------------------------------- 1 | # This is the main configuration file of dCache. 2 | # 3 | # This file used to be called config/dCacheSetup, but is now stored in 4 | # etc/dcache.conf. Documentation may still refer to it as 5 | # config/dCacheSetup. Most of the parameters are the same and the 6 | # documentation also applies to this file. 7 | # 8 | # By default the file is empty. Default values are picked up from the 9 | # properties files in share/defaults/. Do not modify the defaults 10 | # files: any changes will be lost when upgrading. Instead override the 11 | # defaults by redefining the parameters in this file. 12 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/cells/MessageCallback.java: -------------------------------------------------------------------------------- 1 | package org.dcache.cells; 2 | 3 | import diskCacheV111.vehicles.Message; 4 | import dmg.cells.nucleus.CellPath; 5 | 6 | /** 7 | * Callback interface for asynchronous message delivery. Similar to CellMessageAnswerable, but with 8 | * a more dCache specific design. 9 | */ 10 | public interface MessageCallback { 11 | 12 | void setReply(T message); 13 | 14 | void success(); 15 | 16 | void failure(int rc, Object error); 17 | 18 | void noroute(CellPath cell); 19 | 20 | void timeout(String error); 21 | } 22 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/configuration/parser/FactoryConfigurationException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.configuration.parser; 2 | 3 | import org.dcache.gplazma.GPlazmaInternalException; 4 | 5 | public class FactoryConfigurationException extends GPlazmaInternalException { 6 | 7 | private static final long serialVersionUID = -465585959811498555L; 8 | 9 | public FactoryConfigurationException(String msg) { 10 | super(msg); 11 | } 12 | 13 | public FactoryConfigurationException(String msg, Throwable cause) { 14 | super(msg, cause); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/CellDynamicCommandProvider.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | import dmg.util.CommandInterpreter; 4 | 5 | /** 6 | * An implementation of this interface can dynamically provide new admin commands (typically by 7 | * loading external classes). 8 | */ 9 | 10 | public interface CellDynamicCommandProvider { 11 | /** 12 | * Inject command interpreter into which commands can be dynamically added. 13 | * @param commandInterpreter command interpreter to use. 14 | */ 15 | 16 | void setCommandInterpreter(CommandInterpreter commandInterpreter); 17 | } -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/MessageEvent.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | import static java.util.Objects.requireNonNull; 4 | 5 | import javax.annotation.Nonnull; 6 | 7 | public class MessageEvent extends CellEvent { 8 | 9 | public MessageEvent(CellMessage msg) { 10 | super(requireNonNull(msg), CellEvent.OTHER_EVENT); 11 | } 12 | 13 | @Nonnull 14 | public CellMessage getMessage() { 15 | return (CellMessage) getSource(); 16 | } 17 | 18 | public String toString() { 19 | return "MessageEvent(source=" + getMessage() + ')'; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/dcache-spacemanager/src/main/java/diskCacheV111/services/space/NoPoolConfiguredSpaceException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.services.space; 2 | 3 | /** 4 | * Request cannot proceed due to a lack of space due to pool-manager configuration. This exception 5 | * is the SpaceException equivalent to CacheException.NO_POOL_CONFIGURED. 6 | */ 7 | public class NoPoolConfiguredSpaceException extends NoFreeSpaceException { 8 | 9 | private static final long serialVersionUID = 6474390713292494503L; 10 | 11 | public NoPoolConfiguredSpaceException(String message) { 12 | super(message); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/poolmanager/LruPartitionFactory.java: -------------------------------------------------------------------------------- 1 | package org.dcache.poolmanager; 2 | 3 | import java.util.Map; 4 | 5 | public class LruPartitionFactory implements PartitionFactory { 6 | 7 | @Override 8 | public Partition createPartition(Map properties) { 9 | return new LruPartition(properties); 10 | } 11 | 12 | @Override 13 | public String getDescription() { 14 | return "Selects least recently used pool"; 15 | } 16 | 17 | @Override 18 | public String getType() { 19 | return LruPartition.TYPE; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/poolmanager/RandomPartitionFactory.java: -------------------------------------------------------------------------------- 1 | package org.dcache.poolmanager; 2 | 3 | import java.util.Map; 4 | 5 | public class RandomPartitionFactory implements PartitionFactory { 6 | 7 | @Override 8 | public Partition createPartition(Map properties) { 9 | return new RandomPartition(properties); 10 | } 11 | 12 | @Override 13 | public String getDescription() { 14 | return "Selects pools randomly"; 15 | } 16 | 17 | @Override 18 | public String getType() { 19 | return RandomPartition.TYPE; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /skel/share/defaults/xrootd-scitoken.properties: -------------------------------------------------------------------------------- 1 | # ----------------------------------------------------------------------- 2 | # Default values for scitoken xrootd authorization plugin 3 | # ----------------------------------------------------------------------- 4 | @DEFAULTS_HEADER@ 5 | 6 | # ---- Whether the scitokens authorization plugin should fail 7 | # if there is no scitoken. If true, the presence of the token 8 | # will be enforced; otherwise, it will fall back to the 9 | # behavior of 'none'. Default is false. 10 | # 11 | (one-of?true|false)xrootd.plugin!scitokens.strict=false 12 | 13 | -------------------------------------------------------------------------------- /skel/share/webdav/static/css/solid.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com 3 | * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 4 | * Copyright 2023 Fonticons, Inc. 5 | */ 6 | :host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900} -------------------------------------------------------------------------------- /modules/cells/README.md: -------------------------------------------------------------------------------- 1 | # Cell 2 | 3 | This module is responsible for inner-cell communication. 4 | 5 | 6 | ## Celle messages 7 | 8 | ```mermaid 9 | sequenceDiagram 10 | 11 | participant Cell 'A' 12 | create participant cellEndpoint 13 | Cell 'A' ->>+cellEndpoint: send(message) to 'B' 14 | 15 | create participant CellMessageDispatcher 16 | cellEndpoint ->>+CellMessageDispatcher:message 17 | CellMessageDispatcher ->>+CellMessageDispatcher:find receiver 18 | 19 | participant Cell 'B' 20 | CellMessageDispatcher ->>+Cell 'B': messageArrived(message) from 'A' 21 | 22 | ``` 23 | -------------------------------------------------------------------------------- /modules/dcache-info/src/main/java/org/dcache/services/info/base/NoMetricStatePathException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.services.info.base; 2 | 3 | /** 4 | * Indicates that a StatePath refers to something that simply doesn't exist. 5 | * 6 | * @author Paul Millar 7 | */ 8 | public class NoMetricStatePathException extends BadStatePathException { 9 | 10 | private static final long serialVersionUID = 1; 11 | static final String MESSAGE_PREFIX = "path does not exist: "; 12 | 13 | public NoMetricStatePathException(String path) { 14 | super(MESSAGE_PREFIX + path); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /skel/share/webdav/static/css/bootstrap.custom.css: -------------------------------------------------------------------------------- 1 | html { 2 | position: relative; 3 | min-height: 100%; 4 | } 5 | body { 6 | /* Margin bottom by footer height */ 7 | margin-bottom: 60px; 8 | } 9 | #footer { 10 | position: absolute; 11 | bottom: 0; 12 | width: 100%; 13 | /* Set the fixed height of the footer here */ 14 | height: 60px; 15 | background-color: #f5f5f5; 16 | } 17 | body > .container { 18 | padding: 15px 15px 0; 19 | } 20 | .container p.text-muted { 21 | margin: 20px 0; 22 | } 23 | #footer > .container { 24 | padding-right: 15px; 25 | padding-left: 15px; 26 | } 27 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/FileNotInCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | /** 4 | * Thrown when attempting to access a replica that doesn't exist in the repository. 5 | */ 6 | public class FileNotInCacheException extends CacheException { 7 | 8 | private static final long serialVersionUID = 7790043638464132679L; 9 | 10 | public FileNotInCacheException(String msg) { 11 | super(FILE_NOT_IN_REPOSITORY, msg); 12 | } 13 | 14 | public FileNotInCacheException(String msg, Throwable cause) { 15 | super(FILE_NOT_IN_REPOSITORY, msg, cause); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/services/ssh2/SshOutputStream.java: -------------------------------------------------------------------------------- 1 | package org.dcache.services.ssh2; 2 | 3 | import java.io.FilterOutputStream; 4 | import java.io.IOException; 5 | import java.io.OutputStream; 6 | 7 | class SshOutputStream extends FilterOutputStream { 8 | 9 | public SshOutputStream(OutputStream out) { 10 | super(out); 11 | } 12 | 13 | @Override 14 | public void write(int c) throws IOException { 15 | if (c == '\n') { 16 | super.write(0xd); 17 | super.write(0xa); 18 | } else { 19 | super.write(c); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /plugins/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | 4 | 5 | org.dcache 6 | dcache-parent 7 | 11.2.0-SNAPSHOT 8 | 9 | 10 | plugins 11 | pom 12 | 13 | dCache plugins 14 | 15 | 16 | hsqldb 17 | 18 | 19 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/HttpBasicAuthenticationException.java: -------------------------------------------------------------------------------- 1 | // $Id: HttpBasicAuthenticationException.java,v 1.2 2005-03-08 15:37:17 patrick Exp $ 2 | 3 | package dmg.util; 4 | 5 | /** 6 | * 7 | */ 8 | public class HttpBasicAuthenticationException extends HttpException { 9 | 10 | private static final long serialVersionUID = -4829004408849659905L; 11 | private String _realm; 12 | 13 | public HttpBasicAuthenticationException(String realm) { 14 | super(401, "Unauthorized"); 15 | _realm = realm; 16 | } 17 | 18 | public String getRealm() { 19 | return _realm; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/org/dcache/pool/repository/DuplicateEntryException.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository; 2 | 3 | import diskCacheV111.util.PnfsId; 4 | import org.dcache.pool.repository.v3.RepositoryException; 5 | 6 | /** 7 | * Thrown when attempting to create a meta data entry that already exists. 8 | */ 9 | public class DuplicateEntryException extends RepositoryException { 10 | 11 | private static final long serialVersionUID = -1500062593915851217L; 12 | 13 | public DuplicateEntryException(PnfsId id) { 14 | super("Attempt to create duplicate meta data entry for " + id); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/poolmanager/WassPartitionFactory.java: -------------------------------------------------------------------------------- 1 | package org.dcache.poolmanager; 2 | 3 | import java.util.Map; 4 | 5 | public class WassPartitionFactory implements PartitionFactory { 6 | 7 | @Override 8 | public Partition createPartition(Map properties) { 9 | return new WassPartition(properties); 10 | } 11 | 12 | @Override 13 | public String getDescription() { 14 | return "Partition with weighted available space selection"; 15 | } 16 | 17 | @Override 18 | public String getType() { 19 | return WassPartition.TYPE; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /plugins/hsqldb/src/main/resources/org/dcache/hsqldb/changelog/billing-master.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /skel/share/defaults/xrootd-alice-token.properties: -------------------------------------------------------------------------------- 1 | # ----------------------------------------------------------------------- 2 | # Default values for alice-token xrootd authorization plugin 3 | # ----------------------------------------------------------------------- 4 | @DEFAULTS_HEADER@ 5 | 6 | # ---- Key store file 7 | # 8 | # Keystore file that holds the keypairs needed to do the token based 9 | # authorisation. An example keystore file can be found in 10 | # share/examples/xrootd/keystore. Copy this file into 11 | # ${dcache.paths.etc} and modify as appropriate. 12 | xrootdAuthzKeystore=${dcache.paths.etc}/keystore 13 | -------------------------------------------------------------------------------- /modules/dcache-ftp/src/main/java/org/dcache/ftp/door/GsiFtpDoorV1.java: -------------------------------------------------------------------------------- 1 | package org.dcache.ftp.door; 2 | 3 | import javax.security.auth.Subject; 4 | import org.dcache.auth.Subjects; 5 | import org.dcache.dss.DssContextFactory; 6 | import org.dcache.util.NetLoggerBuilder; 7 | 8 | public class GsiFtpDoorV1 extends GssFtpDoorV1 { 9 | 10 | public GsiFtpDoorV1(DssContextFactory dssContextFactory) { 11 | super("GSI FTP", "gsi", dssContextFactory); 12 | } 13 | 14 | @Override 15 | protected void logSubject(NetLoggerBuilder log, Subject subject) { 16 | log.add("user.dn", Subjects.getDn(subject)); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /modules/gplazma2-grid/src/main/resources/META-INF/gplazma-plugins.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | vorolemap 4 | org.dcache.gplazma.plugins.VoRoleMapPlugin 5 | 6 | 7 | gridmap 8 | org.dcache.gplazma.plugins.GridMapFilePlugin 9 | 10 | 11 | authzdb 12 | org.dcache.gplazma.plugins.AuthzDbPlugin 13 | 14 | 15 | x509 16 | org.dcache.gplazma.plugins.X509Plugin 17 | 18 | 19 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/cells/nucleus/SerializationException.java: -------------------------------------------------------------------------------- 1 | package dmg.cells.nucleus; 2 | 3 | /** 4 | * Thrown when a serious error occurred during serialization or de-serialization. Usually indicates 5 | * that an object is not serializable or deserialized. 6 | */ 7 | public class SerializationException extends RuntimeException { 8 | 9 | private static final long serialVersionUID = -8869521471350239459L; 10 | 11 | public SerializationException(String str) { 12 | super(str); 13 | } 14 | 15 | public SerializationException(String str, Throwable cause) { 16 | super(str, cause); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /modules/cells/src/main/java/dmg/util/HttpException.java: -------------------------------------------------------------------------------- 1 | // $Id: HttpException.java,v 1.2 2005-03-08 15:37:17 patrick Exp $ 2 | 3 | package dmg.util; 4 | 5 | /** 6 | * 7 | */ 8 | public class HttpException extends Exception { 9 | 10 | private static final long serialVersionUID = 6807772334572325211L; 11 | private final int _errorCode; 12 | 13 | public HttpException(int errorCode, String message) { 14 | super(message); 15 | _errorCode = errorCode; 16 | } 17 | 18 | /** 19 | * @return HTTP status code 20 | */ 21 | public int getErrorCode() { 22 | return _errorCode; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /modules/common-cli/src/main/java/dmg/util/CommandEvaluationException.java: -------------------------------------------------------------------------------- 1 | package dmg.util; 2 | 3 | /** 4 | * @author Patrick Fuhrmann 5 | * @version 0.1, 12 Feb 2006 6 | *

7 | * The CommandEvaluationException is thrown by the CommandInterpreter if an internal interpreter 8 | * command returns non zero. This could e.g. be a 'eval 1 2 =='. 9 | */ 10 | public class CommandEvaluationException extends CommandException { 11 | 12 | private static final long serialVersionUID = -5242610508169274713L; 13 | 14 | public CommandEvaluationException(int errorCode, String str) { 15 | super(errorCode, str); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /modules/common-security/src/main/scripts/sec2.conf: -------------------------------------------------------------------------------- 1 | com.sun.security.jgss.initiate { 2 | 3 | com.sun.security.auth.module.Krb5LoginModule required 4 | useKeyTab=true 5 | principal="tigran@DESY.DE" 6 | debug=true 7 | useTicketCache=true 8 | storeKey=true; 9 | }; 10 | 11 | com.sun.security.jgss.accept { 12 | 13 | com.sun.security.auth.module.Krb5LoginModule required 14 | doNotPrompt=true 15 | principal="ftp/dcache0.desy.de@DESY.DE" 16 | useKeyTab=true 17 | debug=false 18 | keyTab="${/}etc${/}krb5.keytab" 19 | storeKey=true; 20 | }; 21 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/vehicles/PoolManagerGetPoolsByNameMessage.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.vehicles; 2 | 3 | import java.util.Collection; 4 | 5 | public class PoolManagerGetPoolsByNameMessage 6 | extends PoolManagerGetPoolsMessage { 7 | 8 | private static final long serialVersionUID = -7181240996209203864L; 9 | 10 | private final Collection _poolNames; 11 | 12 | public PoolManagerGetPoolsByNameMessage(Collection poolNames) { 13 | _poolNames = poolNames; 14 | } 15 | 16 | public Collection getPoolNames() { 17 | return _poolNames; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/util/expression/Symbol.java: -------------------------------------------------------------------------------- 1 | package org.dcache.util.expression; 2 | 3 | public class Symbol { 4 | 5 | private final String _name; 6 | private final Type _type; 7 | private final Object _value; 8 | 9 | public Symbol(String name, Type type, Object value) { 10 | _name = name; 11 | _type = type; 12 | _value = value; 13 | } 14 | 15 | public String getName() { 16 | return _name; 17 | } 18 | 19 | public Type getType() { 20 | return _type; 21 | } 22 | 23 | public Object getValue() { 24 | return _value; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/diskCacheV111/poolManager/PoolCore.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.poolManager; 2 | 3 | import java.io.Serializable; 4 | import java.util.Map; 5 | import java.util.concurrent.ConcurrentHashMap; 6 | 7 | abstract class PoolCore implements Serializable { 8 | 9 | private static final long serialVersionUID = -8571296485927073985L; 10 | private final String _name; 11 | protected final Map _linkList = new ConcurrentHashMap<>(); 12 | 13 | protected PoolCore(String name) { 14 | _name = name; 15 | } 16 | 17 | public String getName() { 18 | return _name; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /modules/srm-server/bin/open_ls_ticket: -------------------------------------------------------------------------------- 1 | #! /bin/sh -x 2 | LAMBDA_DIR=/home/netadmin/cdcvs/lambdastation/ls 3 | #rsh nws-lab-mgm "export LAMBDA=/home/netadmin/cdcvs/lambdastation/ls; /home/netadmin/cdcvs/lambdastation/ls/appls/ost2 --srcSite $1 --dstSite $2" 2>/dev/null 4 | su -c 'rsh nws-lab-mgm "export LAMBDA=/home/netadmin/cdcvs/lambdastation/ls;/home/netadmin/cdcvs/lambdastation/ls/appls/ost2 $1"' moibenko 5 | #rsh nws-lab-mgm "export LAMBDA=/home/netadmin/cdcvs/lambdastation/ls;/home/netadmin/cdcvs/lambdastation/ls/appls/ost2 $1" 6 | #ssh nws-lab-mgm "export LAMBDA=/home/netadmin/cdcvs/lambdastation/ls;/home/netadmin/cdcvs/lambdastation/ls/appls/ost2 $1" 7 | -------------------------------------------------------------------------------- /docs/UserGuide/src/main/markdown/index.md: -------------------------------------------------------------------------------- 1 | Users Guide 2 | =========== 3 | 4 | Table of contents 5 | ----------------- 6 | 7 | - [Preface](preface.md) 8 | 9 | - [Common topics](common.md) 10 | 11 | - [Chapter 1. Understanding macaroons](macaroons.md) 12 | 13 | - [Chapter 2. Extended attributes](xattr.md) 14 | 15 | - [Chapter 3. Tertiary storage](tertiary.md) 16 | 17 | - [Protocol-by-protocol](protocol.md) 18 | 19 | - [Chapter 4. Frontend](frontend.md) 20 | 21 | - [Chapter 5. FTP](ftp.md) 22 | 23 | - [Chapter 6. NFS](nfs.md) 24 | 25 | - [Chapter 7. WebDAV](webdav.md) 26 | 27 | - [Chapter 8. Xroot](xroot.md) 28 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/FileIsNewCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | /** 4 | * An operation failed because the file is still "new", ie. has not finished uploading and 5 | * registered the file in the name space. 6 | */ 7 | public class FileIsNewCacheException extends CacheException { 8 | 9 | private static final long serialVersionUID = -5278591371301476563L; 10 | 11 | public FileIsNewCacheException() { 12 | this("File upload not yet completed"); 13 | } 14 | 15 | public FileIsNewCacheException(String s) { 16 | super(CacheException.FILE_IS_NEW, s); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/org/dcache/vehicles/BeanQuerySinglePropertyMessage.java: -------------------------------------------------------------------------------- 1 | package org.dcache.vehicles; 2 | 3 | import static java.util.Objects.requireNonNull; 4 | 5 | public class BeanQuerySinglePropertyMessage extends BeanQueryMessage { 6 | 7 | private static final long serialVersionUID = 7672381271212819332L; 8 | private final String propertyName; 9 | 10 | public BeanQuerySinglePropertyMessage(String aPropertyName) { 11 | requireNonNull(aPropertyName); 12 | propertyName = aPropertyName; 13 | } 14 | 15 | public String getPropertyName() { 16 | 17 | return propertyName; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/diskCacheV111/util/HpssLocationExtractor.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | import java.net.URI; 4 | import java.util.Map; 5 | 6 | public class HpssLocationExtractor implements HsmLocation { 7 | 8 | public HpssLocationExtractor(URI location) { 9 | // TODO Auto-generated constructor stub 10 | } 11 | 12 | @Override 13 | public URI location() { 14 | // TODO Auto-generated method stub 15 | return null; 16 | } 17 | 18 | @Override 19 | public Map toLevels() { 20 | // TODO Auto-generated method stub 21 | return null; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/v3/entry/state/Cached.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository.v3.entry.state; 2 | 3 | public class Cached { 4 | 5 | private boolean _isSet; 6 | 7 | 8 | public Cached(boolean isSet) { 9 | _isSet = isSet; 10 | } 11 | 12 | 13 | public void set(boolean newValue) { 14 | _isSet = newValue; 15 | } 16 | 17 | public boolean isSet() { 18 | return _isSet; 19 | } 20 | 21 | 22 | public String stringValue() { 23 | if (_isSet) { 24 | return "cached"; 25 | } else { 26 | return ""; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /modules/common/src/main/java/org/dcache/auth/OpenIdClientSecret.java: -------------------------------------------------------------------------------- 1 | package org.dcache.auth; 2 | 3 | import static java.util.Objects.requireNonNull; 4 | 5 | import java.io.Serializable; 6 | 7 | public class OpenIdClientSecret implements Serializable { 8 | 9 | private final String id; 10 | private final String secret; 11 | 12 | public OpenIdClientSecret(String id, String secret) { 13 | this.id = requireNonNull(id); 14 | this.secret = requireNonNull(secret); 15 | } 16 | 17 | public String getId() { 18 | return id; 19 | } 20 | 21 | public String getSecret() { 22 | return secret; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/classic/ReplicaStatePolicy.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.classic; 2 | 3 | import java.util.List; 4 | import org.dcache.pool.repository.ReplicaState; 5 | import org.dcache.pool.repository.StickyRecord; 6 | import org.dcache.vehicles.FileAttributes; 7 | 8 | /** 9 | * A ReplicaStatePolicy defines the initial EntryState and StickyRecords of a new replica when it is 10 | * uploaded to a pool from a client. 11 | */ 12 | public interface ReplicaStatePolicy { 13 | 14 | List getStickyRecords(FileAttributes fileAttributes); 15 | 16 | ReplicaState getTargetState(FileAttributes fileAttributes); 17 | } 18 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/v3/entry/state/ErrorState.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository.v3.entry.state; 2 | 3 | public class ErrorState { 4 | 5 | private boolean _isSet; 6 | 7 | 8 | public ErrorState(boolean isSet) { 9 | _isSet = isSet; 10 | } 11 | 12 | 13 | public void set(boolean newValue) { 14 | _isSet = newValue; 15 | } 16 | 17 | public boolean isSet() { 18 | return _isSet; 19 | } 20 | 21 | public String stringValue() { 22 | if (_isSet) { 23 | return "error"; 24 | } else { 25 | return ""; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/v3/entry/state/ToStore.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository.v3.entry.state; 2 | 3 | public class ToStore { 4 | 5 | private boolean _isSet; 6 | 7 | 8 | public ToStore(boolean isSet) { 9 | _isSet = isSet; 10 | } 11 | 12 | 13 | public void set(boolean newValue) { 14 | _isSet = newValue; 15 | } 16 | 17 | public boolean isSet() { 18 | return _isSet; 19 | } 20 | 21 | 22 | public String stringValue() { 23 | if (_isSet) { 24 | return "to_store"; 25 | } else { 26 | return ""; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/missingfiles/plugins/Plugin.java: -------------------------------------------------------------------------------- 1 | package org.dcache.missingfiles.plugins; 2 | 3 | import java.util.concurrent.Future; 4 | import javax.security.auth.Subject; 5 | 6 | /** 7 | * A Plugin represents some independent code for processing a missing file notification. 8 | */ 9 | public interface Plugin { 10 | 11 | /** 12 | * Process a missing file notification. The processing may take some time; for example, if the 13 | * plugin attempts to fetch the data from some third-party site. 14 | */ 15 | Future accept(Subject subject, String requestPath, 16 | String internalPath); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/v3/entry/state/FromClient.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository.v3.entry.state; 2 | 3 | public class FromClient { 4 | 5 | private boolean _isSet; 6 | 7 | 8 | public FromClient(boolean isSet) { 9 | _isSet = isSet; 10 | } 11 | 12 | 13 | public void set(boolean newValue) { 14 | _isSet = newValue; 15 | } 16 | 17 | public boolean isSet() { 18 | return _isSet; 19 | } 20 | 21 | public String stringValue() { 22 | if (_isSet) { 23 | return "from_client"; 24 | } else { 25 | return ""; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/v3/entry/state/FromStore.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository.v3.entry.state; 2 | 3 | public class FromStore { 4 | 5 | private boolean _isSet; 6 | 7 | 8 | public FromStore(boolean isSet) { 9 | _isSet = isSet; 10 | } 11 | 12 | 13 | public void set(boolean newValue) { 14 | _isSet = newValue; 15 | } 16 | 17 | public boolean isSet() { 18 | return _isSet; 19 | } 20 | 21 | public String stringValue() { 22 | if (_isSet) { 23 | return "from_store"; 24 | } else { 25 | return ""; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/v3/entry/state/Precious.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository.v3.entry.state; 2 | 3 | public class Precious { 4 | 5 | private boolean _isSet; 6 | 7 | 8 | public Precious(boolean isSet) { 9 | _isSet = isSet; 10 | } 11 | 12 | 13 | public void set(boolean newValue) { 14 | _isSet = newValue; 15 | } 16 | 17 | public boolean isSet() { 18 | return _isSet; 19 | } 20 | 21 | public String stringValue() { 22 | if (_isSet) { 23 | return "precious"; 24 | } else { 25 | return ""; 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/v3/entry/state/Removed.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository.v3.entry.state; 2 | 3 | public class Removed { 4 | 5 | private boolean _isSet; 6 | 7 | 8 | public Removed(boolean isSet) { 9 | _isSet = isSet; 10 | } 11 | 12 | 13 | public void set(boolean newValue) { 14 | _isSet = newValue; 15 | } 16 | 17 | public boolean isSet() { 18 | return _isSet; 19 | } 20 | 21 | 22 | public String stringValue() { 23 | if (_isSet) { 24 | return "cached"; 25 | } else { 26 | return ""; 27 | } 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/v3/entry/state/ToClient.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository.v3.entry.state; 2 | 3 | public class ToClient { 4 | 5 | private boolean _isSet; 6 | 7 | 8 | public ToClient(boolean isSet) { 9 | _isSet = isSet; 10 | } 11 | 12 | 13 | public void set(boolean newValue) { 14 | _isSet = newValue; 15 | } 16 | 17 | public boolean isSet() { 18 | return _isSet; 19 | } 20 | 21 | 22 | public String stringValue() { 23 | if (_isSet) { 24 | return "to_client"; 25 | } else { 26 | return ""; 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /modules/gplazma2/src/main/java/org/dcache/gplazma/plugins/GPlazmaSessionPlugin.java: -------------------------------------------------------------------------------- 1 | package org.dcache.gplazma.plugins; 2 | 3 | import java.security.Principal; 4 | import java.util.Set; 5 | import org.dcache.gplazma.AuthenticationException; 6 | 7 | /** 8 | * Plugins to obtain session metadata upon login operations. Some protocols need such metadata, like 9 | * home directory and root directory, that will be tied to a certain SessionID. 10 | */ 11 | public interface GPlazmaSessionPlugin extends GPlazmaPlugin { 12 | 13 | void session(Set authorizedPrincipals, 14 | Set attrib) 15 | throws AuthenticationException; 16 | } 17 | -------------------------------------------------------------------------------- /modules/dcache-bulk/src/main/resources/org/dcache/services/bulk/model/db.changelog-master.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/util/InvalidMessageCacheException.java: -------------------------------------------------------------------------------- 1 | package diskCacheV111.util; 2 | 3 | /** 4 | * thrown in case of message object incorrectly initialized 5 | */ 6 | public class InvalidMessageCacheException extends CacheException { 7 | 8 | /** 9 | * 10 | */ 11 | private static final long serialVersionUID = -8838867882017718935L; 12 | 13 | public InvalidMessageCacheException(String msg) { 14 | super(CacheException.INVALID_ARGS, msg); 15 | } 16 | 17 | public InvalidMessageCacheException(String message, Throwable cause) { 18 | super(INVALID_ARGS, message, cause); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/vehicles/PnfsAddCacheLocationMessage.java: -------------------------------------------------------------------------------- 1 | //$Id: PnfsAddCacheLocationMessage.java,v 1.5 2005-02-21 14:20:50 patrick Exp $ 2 | 3 | package diskCacheV111.vehicles; 4 | 5 | import diskCacheV111.util.PnfsId; 6 | 7 | public class PnfsAddCacheLocationMessage extends PnfsModifyCacheLocationMessage { 8 | 9 | private static final long serialVersionUID = 4683846056284598394L; 10 | 11 | public PnfsAddCacheLocationMessage(PnfsId pnfsId, String poolName) { 12 | super(pnfsId, poolName); 13 | } 14 | 15 | public String toString() { 16 | return super.toString() + ";adding;"; 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/migration/PoolMigrationCopyFinishedMessage.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.migration; 2 | 3 | import diskCacheV111.util.PnfsId; 4 | import java.util.UUID; 5 | 6 | /** 7 | * MigrationModuleServer response message to report that a transfer finished (either successfully or 8 | * with an error). 9 | */ 10 | public class PoolMigrationCopyFinishedMessage extends PoolMigrationMessage { 11 | 12 | private static final long serialVersionUID = 4888320379507599050L; 13 | 14 | public PoolMigrationCopyFinishedMessage(UUID uuid, String pool, 15 | PnfsId pnfsId) { 16 | super(uuid, pool, pnfsId); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/repository/AbstractStateChangeListener.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.repository; 2 | 3 | /** 4 | * This class provides default implementations for the StateChangeListener interface. The default 5 | * implementations ignore all events. 6 | */ 7 | public class AbstractStateChangeListener 8 | implements StateChangeListener { 9 | 10 | @Override 11 | public void stateChanged(StateChangeEvent event) { 12 | } 13 | 14 | @Override 15 | public void accessTimeChanged(EntryChangeEvent event) { 16 | } 17 | 18 | @Override 19 | public void stickyChanged(StickyChangeEvent event) { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/dcache-ftp/src/main/java/org/dcache/ftp/door/KerberosFtpDoorV1.java: -------------------------------------------------------------------------------- 1 | package org.dcache.ftp.door; 2 | 3 | import javax.security.auth.Subject; 4 | import org.dcache.auth.Subjects; 5 | import org.dcache.dss.DssContextFactory; 6 | import org.dcache.util.NetLoggerBuilder; 7 | 8 | public class KerberosFtpDoorV1 extends GssFtpDoorV1 { 9 | 10 | public KerberosFtpDoorV1(DssContextFactory dssContextFactory) { 11 | super("Kerberos FTP", "k5", dssContextFactory); 12 | } 13 | 14 | @Override 15 | protected void logSubject(NetLoggerBuilder log, Subject subject) { 16 | log.add("user.kerberos", Subjects.getKerberosName(subject)); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /modules/dcache-vehicles/src/main/java/diskCacheV111/vehicles/transferManager/TransferCompleteMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * TransferFailedMessage.java 3 | * 4 | * Created on November 23, 2004, 2:16 PM 5 | */ 6 | 7 | package diskCacheV111.vehicles.transferManager; 8 | 9 | /** 10 | * @author timur 11 | */ 12 | public class TransferCompleteMessage extends TransferManagerMessage { 13 | 14 | private static final long serialVersionUID = -2819277237066589628L; 15 | 16 | /** 17 | * Creates a new instance of TransferFailedMessage 18 | */ 19 | public TransferCompleteMessage(TransferManagerMessage original) { 20 | super(original); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /modules/dcache/src/main/java/org/dcache/pool/migration/StorageClassFilter.java: -------------------------------------------------------------------------------- 1 | package org.dcache.pool.migration; 2 | 3 | import java.util.function.Predicate; 4 | import org.dcache.pool.repository.CacheEntry; 5 | 6 | /** 7 | * Repository entry filter accepting entries with a particular storage class. 8 | */ 9 | public class StorageClassFilter implements Predicate { 10 | 11 | private final String _sc; 12 | 13 | public StorageClassFilter(String sc) { 14 | _sc = sc; 15 | } 16 | 17 | @Override 18 | public boolean test(CacheEntry entry) { 19 | return _sc.equals(entry.getFileAttributes().getStorageClass()); 20 | } 21 | } 22 | --------------------------------------------------------------------------------