Skip to content

Commit

Permalink
Merge pull request #7103 from aldbr/v8.1_FEAT_deprecatedARCAndARC6
Browse files Browse the repository at this point in the history
[8.1] feat: mark ARC/ARC6CE interfaces as deprecated
  • Loading branch information
fstagni authored Jul 26, 2023
2 parents a18d85f + 42b8951 commit 4299513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DIRAC/Resources/Computing/ARC6ComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@

import arc # Has to work if this module is called #pylint: disable=import-error
from DIRAC import S_OK, S_ERROR
from DIRAC.Core.Utilities.Decorators import deprecated
from DIRAC.Resources.Computing.ARCComputingElement import ARCComputingElement, prepareProxyToken


@deprecated("Use AREXComputingElement instead", onlyOnce=True)
class ARC6ComputingElement(ARCComputingElement):
def __init__(self, ceUniqueID):
"""Standard constructor."""
Expand Down
2 changes: 2 additions & 0 deletions src/DIRAC/Resources/Computing/ARCComputingElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
from DIRAC.Core.Utilities.Subprocess import shellCall
from DIRAC.Core.Utilities.List import breakListIntoChunks
from DIRAC.Core.Security.ProxyInfo import getVOfromProxyGroup
from DIRAC.Core.Utilities.Decorators import deprecated
from DIRAC.Resources.Computing.ComputingElement import ComputingElement
from DIRAC.Resources.Computing.PilotBundle import writeScript
from DIRAC.WorkloadManagementSystem.Client import PilotStatus
Expand Down Expand Up @@ -110,6 +111,7 @@ def wrapper(*args, **kwargs):
return wrapper


@deprecated("Use AREXComputingElement instead", onlyOnce=True)
class ARCComputingElement(ComputingElement):
_arcLevels = ["DEBUG", "VERBOSE", "INFO", "WARNING", "ERROR", "FATAL"]

Expand Down

0 comments on commit 4299513

Please sign in to comment.