/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/taskscanner/script/ |
H A D | sunset.js | 5 // Create a change patch 6 var patch = [{ "operation" : "replace", "field" : "/active", "value" : false },{ "operation" : "replace", "field" : "/accountStatus", "value" : "inactive" }]; 10 // Perform update via patch so that we can do so regardless of revision change 13 openidm.patch(objectID, null, patch);
|
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/exception/ |
H A D | package-info.java | 18 * OpenIDM patch module exception classes. 22 package org.forgerock.openidm.patch.exception;
|
H A D | PatchException.java | 17 package org.forgerock.openidm.patch.exception;
|
H A D | PostPatchException.java | 17 package org.forgerock.openidm.patch.exception;
|
H A D | PrePatchException.java | 17 package org.forgerock.openidm.patch.exception;
|
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/impl/ |
H A D | package-info.java | 18 * OpenIDM patch module implementation classes. 22 package org.forgerock.openidm.patch.impl;
|
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/ |
H A D | package-info.java | 18 * OpenIDM patch module classes. 22 package org.forgerock.openidm.patch;
|
H A D | Patch.java | 16 package org.forgerock.openidm.patch; 22 import org.forgerock.openidm.patch.exception.PatchException; 23 import org.forgerock.openidm.patch.exception.PostPatchException; 24 import org.forgerock.openidm.patch.exception.PrePatchException; 27 * Basic patch interface. 32 * Initializes the patch bundle. 34 * @param patchUrl A URL specifying the location of the patch bundle 35 * @param originalUrlString The String representation of the patch bundle location 37 * @param installDir The target directory against which the patch is to be applied 38 * @param params Additional patch specifi [all...] |
H A D | Main.java | 16 package org.forgerock.openidm.patch; 36 import org.forgerock.openidm.patch.exception.PatchException; 38 import static org.forgerock.openidm.patch.utils.PatchConstants.*; 39 import org.forgerock.openidm.patch.utils.SingleLineFormatter; 42 * The Main class for the patch framework. 50 private static final String PATCH_DIR = "patch"; 53 private static final String PATCH_LOG_FILE = "patch.log"; 60 * Execute the patch bundle. 64 * @throws PatchException Thrown if the patch fails to apply correctly 87 * Executes the specified patch bundl [all...] |
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/utils/ |
H A D | package-info.java | 18 * OpenIDM patch module utility classes. 22 package org.forgerock.openidm.patch.utils;
|
H A D | PatchConstants.java | 17 package org.forgerock.openidm.patch.utils; 20 * Constants use by the base patch framework. 29 * Location of the patch.properties file within the patch bundle. 31 public static final String CONFIG_PROPERTIES_FILE = "/org/forgerock/patch/impl/patch.properties"; 36 public static final String CONFIG_PATCH_IMPL_CLASS = "org.forgerock.patch.impl"; 39 * Property which specifies the software release associate with the patch to be applied. 41 public static final String PATCH_RELEASE = "org.forgerock.patch.release"; 45 * apply the patch bundl [all...] |
H A D | ZipVisitor.java | 17 package org.forgerock.openidm.patch.utils;
|
H A D | SingleLineFormatter.java | 17 package org.forgerock.openidm.patch.utils;
|
H A D | PatchUtil.java | 17 package org.forgerock.openidm.patch.utils; 29 import org.forgerock.openidm.patch.Archive; 30 import org.forgerock.openidm.patch.exception.PatchException; 62 * Replaces installation artifacts with artifacts in the patch, under 64 * occurs in the patch, relative to that "files" directory. 66 * @param patchUrl the URL of the patch JAR file 68 * @throws IOException Indicates a failure while extracting files from the patch bundle 78 * @param patchUrl The patch file url 82 * @throws IOException Indicates a failure while extracting files from the patch bundle 96 * @param patchUrl The URL of the patch JA [all...] |
H A D | FileUtil.java | 17 package org.forgerock.openidm.patch.utils; 27 import org.forgerock.openidm.patch.exception.PatchException;
|
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/patch/ |
H A D | PatchValueTransformer.java | 17 package org.forgerock.openidm.patch; 24 * This interface provides a method to retrieve a value to be used in a patch operation 29 * Return the value to be used for a given patch operation. 31 * @param patch the patch operation. 32 * @param subject the patch subject document. Subject is unused by default, made available 37 public Object getTransformedValue(PatchOperation patch, JsonValue subject) throws JsonValueException; argument
|
H A D | JsonValuePatch.java | 24 package org.forgerock.openidm.patch; 129 /** Apply a move patch operation */ 145 /** Apply a copy patch operation */ 160 /** Apply a transform patch operation */ 176 /** An "unknown", or bad operation, implementation of patch application */ 183 public Object getTransformedValue(PatchOperation patch, JsonValue subject) throws JsonValueException { 184 if (patch.getValue() != null) { 185 return evalScript(subject, patch.getValue()); 187 throw new JsonValueException(patch.toJsonValue(), "expecting a value member"); 211 * @param subject the JsonValue to which to apply the patch operatio [all...] |
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-base/src/main/java/com/sun/identity/diagnostic/base/services/systeminfo/utils/ |
H A D | PatchData.java | 37 private String patch; field in class:PatchData 47 * Getter for property patch. 49 * @return Value of property patch. 52 return this.patch; 56 * Setter for property patch. 58 * @param patch New value of property patch. 60 public void setPatchNumber(String patch) { argument 61 this.patch = patch; [all...] |
/forgerock/openam-v13/openam-distribution/src/main/amserver/scripts/bin/ |
H A D | ssopatch | 31 ${JAVA_HOME}/bin/java -Xms256m -Xmx512m -cp "${TOOLS_HOME}/lib/ssopatch.jar:${TOOLS_HOME}/lib/ssomanifest.jar:${TOOLS_HOME}/lib/amadm_setup.jar:${TOOLS_HOME}/resources" com.sun.identity.tools.patch.Patch "$@"
|
/forgerock/openam/openam-distribution/src/main/amserver/scripts/bin/ |
H A D | ssopatch | 31 ${JAVA_HOME}/bin/java -Xms256m -Xmx512m -cp "${TOOLS_HOME}/lib/ssopatch.jar:${TOOLS_HOME}/lib/ssomanifest.jar:${TOOLS_HOME}/lib/amadm_setup.jar:${TOOLS_HOME}/resources" com.sun.identity.tools.patch.Patch "$@"
|
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/upgrade/ |
H A D | ConfigUpdater.java | 63 * @param context the context for the patch request. 65 * @param patch a JsonPatch to be applied to the named config resource. 68 public void patchConfig(Context context, String resourceName, JsonValue patch) throws UpdateException { argument 71 for (PatchOperation op : PatchOperation.valueOfList(patch)) { 74 connectionFactory.getConnection().patch(context, request);
|
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-base/src/main/java/com/sun/identity/diagnostic/base/services/systeminfo/ |
H A D | SystemInfoService.java | 140 PatchData patch = null; 144 patch = new PatchData(); 146 patch.setPatchNumber((String) patchMap.get(PATCH)); 147 patch.setObsoletes((String) patchMap.get(OBSOLETES)); 148 patch.setRequires((String) patchMap.get(REQUIRES)); 149 patch.setIncompatibles((String) patchMap.get(INCOMPATIBLES)); 150 patch.setPackages((String) patchMap.get(PACKAGES)); 151 patches.add(patch);
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/upgrade/ |
H A D | OpenDJUpgrader.java | 408 LDIF.patch(currentConfigReader, 531 * numbers are compared to each other using only the major, minor and patch version numbers. If two versions are 541 private final int patch; field in class:OpenDJUpgrader.OpenDJVersion 544 private OpenDJVersion(final int major, final int minor, final int patch, final String build) { argument 547 this.patch = patch; 552 * Parses a version string of the form {@literal "major.minor.patch.build"} where major, minor and patch are 564 final int patch = Integer.parseInt(parts[2]); 567 return new OpenDJVersion(major, minor, patch, buil [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/upgrade/ |
H A D | OpenDJUpgrader.java | 409 LDIF.patch(currentConfigReader, 532 * numbers are compared to each other using only the major, minor and patch version numbers. If two versions are 542 private final int patch; field in class:OpenDJUpgrader.OpenDJVersion 545 private OpenDJVersion(final int major, final int minor, final int patch, final String build) { argument 548 this.patch = patch; 553 * Parses a version string of the form {@literal "major.minor.patch.build"} where major, minor and patch are 565 final int patch = Integer.parseInt(parts[2]); 568 return new OpenDJVersion(major, minor, patch, buil [all...] |
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/customendpoint/script/ |
H A D | echo.js | 50 } else if (request.method === "patch") { 52 method: "patch", 56 patch: request.patchOperations,
|