Searched refs:debugDirectory (Results 1 - 16 of 16) sorted by relevance

/forgerock/openam-v13/openam-shared/src/test/java/com/sun/identity/shared/debug/
H A DDebugInitializationTest.java28 String debugDirectory = SystemPropertiesManager.get(DebugConstants.CONFIG_DEBUG_DIRECTORY);
42 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_DIRECTORY, debugDirectory);
H A DDebugTestTemplate.java50 protected String debugDirectory; field in class:DebugTestTemplate
62 debugDirectory = DEBUG_BASE_DIRECTORY + File.separator + logName;
69 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_DIRECTORY, debugDirectory);
91 String fullPath = debugDirectory + File.separator + logName;
105 File dir = new File(debugDirectory);
127 String fullPath = debugDirectory + File.separator + logName;
134 delete(new File(debugDirectory));
H A DDebugRotationTest.java61 File folder = new File(debugDirectory);
/forgerock/openam/openam-shared/src/test/java/com/sun/identity/shared/debug/
H A DDebugInitializationTest.java28 String debugDirectory = SystemPropertiesManager.get(DebugConstants.CONFIG_DEBUG_DIRECTORY);
42 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_DIRECTORY, debugDirectory);
H A DDebugTestTemplate.java50 protected String debugDirectory; field in class:DebugTestTemplate
62 debugDirectory = DEBUG_BASE_DIRECTORY + File.separator + logName;
69 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_DIRECTORY, debugDirectory);
91 String fullPath = debugDirectory + File.separator + logName;
105 File dir = new File(debugDirectory);
127 String fullPath = debugDirectory + File.separator + logName;
134 delete(new File(debugDirectory));
H A DDebugRotationTest.java62 File folder = new File(debugDirectory);
/forgerock/openam-v13/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/
H A DDebug.java140 private static String debugDirectory; field in class:Debug
147 return IDPDiscoveryConstants.DEBUG_DIR.equals(debugDirectory)
183 debugDirectory = SystemProperties.get(IDPDiscoveryConstants.DEBUG_DIR);
184 if (debugDirectory != null ) {
185 File createDir = new File(debugDirectory);
200 debugDirectory = null;
250 (debugDirectory != null &&
251 !debugDirectory.equals(SystemPropertiesManager.get(IDPDiscoveryConstants.DEBUG_DIR)))) {
547 (debugDirectory != null &&
548 !debugDirectory
[all...]
/forgerock/openam/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/
H A DDebug.java141 private static String debugDirectory; field in class:Debug
148 return IDPDiscoveryConstants.DEBUG_DIR.equals(debugDirectory)
184 debugDirectory = SystemProperties.get(IDPDiscoveryConstants.DEBUG_DIR);
185 if (debugDirectory != null ) {
186 File createDir = new File(debugDirectory);
201 debugDirectory = null;
251 (debugDirectory != null &&
252 !debugDirectory.equals(SystemPropertiesManager.get(IDPDiscoveryConstants.DEBUG_DIR)))) {
548 (debugDirectory != null &&
549 !debugDirectory
[all...]
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/
H A DDebugTestTemplate.java52 protected String debugDirectory; field in class:DebugTestTemplate
64 debugDirectory = DEBUG_BASE_DIRECTORY + File.separator + logName;
71 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_DIRECTORY, debugDirectory);
94 String fullPath = debugDirectory + File.separator + directory;
101 delete(new File(debugDirectory));
H A DDefaultDebugRecorderTest.java260 String issueIDFolder = debugDirectory + File.separator + RecordConstants.RECORD_FOLDER_NAME +
301 BufferedReader br = new BufferedReader(new FileReader(debugDirectory + File.separator + fileName));
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/
H A DDebugTestTemplate.java52 protected String debugDirectory; field in class:DebugTestTemplate
64 debugDirectory = DEBUG_BASE_DIRECTORY + File.separator + logName;
71 SystemPropertiesManager.initializeProperties(DebugConstants.CONFIG_DEBUG_DIRECTORY, debugDirectory);
94 String fullPath = debugDirectory + File.separator + directory;
101 delete(new File(debugDirectory));
H A DDefaultDebugRecorderTest.java262 String issueIDFolder = debugDirectory + File.separator + RecordConstants.RECORD_FOLDER_NAME +
303 BufferedReader br = new BufferedReader(new FileReader(debugDirectory + File.separator + fileName));
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/
H A DDebugFileImpl.java78 private final AtomicReference<String> debugDirectory = new AtomicReference<>(); field in class:DebugFileImpl
129 return !newDebugDir.equals(debugDirectory.getAndSet(newDebugDir));
226 String debugDir = debugDirectory.get();
245 String debugFilePath = debugDirectory.get() + File.separator + wrapFilename(debugName);
295 "debugDirectory" + debugDirectory.get() +
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/
H A DDebugFileImpl.java78 private final AtomicReference<String> debugDirectory = new AtomicReference<>(); field in class:DebugFileImpl
132 return !newDebugDir.equals(debugDirectory.getAndSet(newDebugDir));
240 String debugDir = debugDirectory.get();
259 String debugFilePath = debugDirectory.get() + File.separator + wrapFilename(debugName);
321 "debugDirectory" + debugDirectory.get() +
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/
H A DDefaultDebugRecorder.java209 String debugDirectory;
211 debugDirectory = previousDebugDirectory;
213 debugDirectory = SystemPropertiesManager.get(DebugConstants.CONFIG_DEBUG_DIRECTORY);
216 String recordDirectory = debugDirectory + File.separator + RecordConstants.RECORD_FOLDER_NAME + File.separator +
442 * @param debugDirectory the record directory
445 private boolean createFolder(String debugDirectory) { argument
446 File dir = new File(debugDirectory);
450 JsonValue infoJson = JsonValueBuilder.toJsonValue(IOUtils.getFileContent(debugDirectory + File
460 dir.renameTo(new File(debugDirectory + "_" + dateFormat.format(previousRecordDate)));
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/record/
H A DDefaultDebugRecorder.java212 String debugDirectory;
214 debugDirectory = previousDebugDirectory;
216 debugDirectory = SystemPropertiesManager.get(DebugConstants.CONFIG_DEBUG_DIRECTORY);
219 String recordDirectory = debugDirectory + File.separator + RecordConstants.RECORD_FOLDER_NAME + File.separator +
445 * @param debugDirectory the record directory
448 private boolean createFolder(String debugDirectory) { argument
449 File dir = new File(debugDirectory);
453 JsonValue infoJson = JsonValueBuilder.toJsonValue(IOUtils.getFileContent(debugDirectory + File
463 dir.renameTo(new File(debugDirectory + "_" + dateFormat.format(previousRecordDate)));

Completed in 177 milliseconds