Searched refs:patch (Results 26 - 50 of 64) sorted by relevance

123

/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/utils/
H A DZipUtil.java17 package org.forgerock.openidm.patch.utils;
32 import org.forgerock.openidm.patch.Archive;
H A DCloseableURLClassLoader.java16 package org.forgerock.openidm.patch.utils;
/forgerock/openidm-v4/openidm-provisioner-openicf/src/test/java/org/forgerock/openidm/provisioner/openicf/impl/
H A DOpenICFProvisionerServiceTest.java390 JsonValue patchResult = connection.patch(new RootContext(), patchRequest).getContent();
396 patchResult = connection.patch(new RootContext(), patchRequest).getContent();
402 patchResult = connection.patch(new RootContext(), patchRequest).getContent();
408 patchResult = connection.patch(new RootContext(), patchRequest).getContent();
414 patchResult = connection.patch(new RootContext(), patchRequest).getContent();
420 patchResult = connection.patch(new RootContext(), patchRequest).getContent();
447 JsonValue patchResult = connection.patch(new RootContext(), patchRequest).getContent();
476 JsonValue patchResult = connection.patch(new RootContext(), patchRequest).getContent();
483 patchResult = connection.patch(new RootContext(), patchRequest).getContent();
490 patchResult = connection.patch(ne
[all...]
/forgerock/openidm-v4/openidm-repo-orientdb/src/main/java/org/forgerock/openidm/repo/orientdb/impl/
H A DDocumentUtil.java259 * @param patch whether the objModel passed in is only partial values (replacing and adding values),
265 protected static ODocument toDocument(Map<String, Object> objModel, ODocument docToPopulate, ODatabaseDocumentTx db, String orientDocClass, boolean patch, argument
274 if (!patch) {
339 ODocument converted = toDocument(json(value).asMap(), existingDoc, db, null, patch, false);
/forgerock/openidm-v4/openidm-repo-orientdb/src/test/java/org/forgerock/openidm/repo/orientdb/internal/
H A DOrientDBRepoServiceTest.javax57 import org.forgerock.json.patch.JsonPatch;
254 Resource resource1 = connection.patch(new RootContext(), patchRequest);
525 JsonValue patch = JsonPatch.diff(content, value.getContent());
526 if (patch.size() > 0) {
527 as(description() + " Diff: " + patch.toString());
529 return patch.size() == 0 && (null == id ? true : id.equals(value.getId()))
/forgerock/openidm-v4/openidm-script/src/main/java/org/forgerock/openidm/script/
H A DResourceFunctions.java413 * patch(String resourceName, String revision, Map patch[, Map params][, List fieldFilter][,Map context])
430 JsonValue patch = null;
436 throw new NoSuchMethodException(FunctionFactory.getNoSuchMethodMessage("patch",
448 "patch", arguments));
456 "patch", arguments));
461 patch = new JsonValue(value);
463 patch = (JsonValue) value;
466 "patch", arguments));
476 "patch", argument
505 patch(Parameter scope, String resourceName, String revision, JsonValue patch, JsonValue params, List<Object> fieldFilter, Context context, final Function<?> callback) argument
[all...]
/forgerock/openam-v13/openam-tools/openam-diagnostics/openam-diagnostics-base/src/main/java/com/sun/identity/diagnostic/base/services/systeminfo/
H A DPatchCommandExecutor.java58 "Exception in executing patch command", ex);
117 * Returns a patch from given entry
119 * @param patch the patch entry
120 * @param token the pattern to retrieve from patch entry
121 * @return patch from the given patch entry.
123 public String getPatchFromToken(String patch, String token) { argument
124 // iterate over the patch output and get the PatchId
125 return getPatchNumber(patch, toke
[all...]
/forgerock/openam-v13/openam-distribution/src/main/amserver/scripts/bin/
H A Dssopatch.bat34 "java.exe" -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-zip/src/main/resources/samples/customendpoint/script/
H A Decho.groovy61 method: "patch",
64 patch: request.patchOperations,
/forgerock/openidm-v4/openidm-patch-base/src/main/java/org/forgerock/openidm/patch/
H A DArchive.java16 package org.forgerock.openidm.patch;
34 import org.forgerock.openidm.patch.utils.FileUtil;
37 * Provides basic patch infrastructure for generating OpenIDM patch bundles.
51 * Location of the static files within the patch JAR archive.
63 * Initializes the patch and creates the patch archive bundle.
65 * @param installDir The target directory against which the patch is to be applied.
67 * @param archiveName The named of the patch archive bundle.
77 logger.log(Level.INFO, "Created patch archiv
[all...]
/forgerock/openam/openam-distribution/src/main/amserver/scripts/bin/
H A Dssopatch.bat34 "java.exe" -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-config/src/main/java/org/forgerock/openidm/config/manage/
H A DConfigAuditEventLogger.java27 import org.forgerock.json.patch.JsonPatch;
H A DConfigObjectService.java95 import org.forgerock.openidm.patch.JsonValuePatch;
560 return patch(context, request)
579 public Promise<ConfigAuditState, ResourceException> patch(final Context context, final PatchRequest request) { method in class:ConfigObjectService
595 + ", can not patch the configuration.");
621 logger.info("No meta-data provider available yet to patch and encrypt configuration for {}, retry later.",
624 "No meta-data provider available yet to patch and encrypt configuration for "
628 logger.warn("Failure to patch configuration for {}", resourcePath.toString(), e);
629 return new InternalServerErrorException("Failure to patch configuration for " + resourcePath.toString()
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/upgrade/
H A DUpdateManagerImpl.java115 private static final String PATCH_EXT = ".patch";
239 logger.info("Archive does not contain a product version; Assumed to be a patch.");
437 Patch<String> patch = DiffUtils.diff(currentFileLines, newFileLines);
445 patch,
677 // a patch file for a config in the repo
759 * @param context the context for the patch request.
761 * @param patch a JsonPatch to be applied to the named config resource.
764 private void patchConfig(Context context, String resourceName, JsonValue patch) throws UpdateException { argument
767 for (PatchOperation op : PatchOperation.valueOfList(patch)) {
770 UpdateManagerImpl.this.connectionFactory.getConnection().patch(contex
[all...]
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/scriptedcrest2dj/tools/
H A DUpdateScript.groovy115 ResourceResponse resource = connection.patch(new RootContext(), request)
/forgerock/openidm-v4/openidm-repo-jdbc/src/main/java/org/forgerock/openidm/datasource/jdbc/impl/
H A DJDBCDataSourceService.java44 import org.forgerock.json.patch.JsonPatch;
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/util/
H A DResourceUtil.java39 import org.forgerock.json.patch.JsonPatch;
/forgerock/openidm-v4/openidm-core/src/test/java/org/forgerock/openidm/managed/
H A DManagedObjectSchemaTest.java37 import org.forgerock.json.patch.JsonPatch;
/forgerock/openidm-v4/openidm-api-servlet/src/main/java/org/forgerock/openidm/servlet/internal/
H A DServletConnectionFactory.java259 public ResourceResponse patch(Context context, PatchRequest request) throws ResourceException {
262 return super.patch(context, request);
348 // For RUD, patch group statistics without the local resource identifier
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/
H A Drouter-authz.js231 * @param {Array} allowedFields - The list of fields which the patch operations are allowed to target
237 if (request.method === "patch") {
239 } else if (request.method === "action" && request.action === "patch") {
264 JsonPatch = org.forgerock.json.patch.JsonPatch,
296 } else if (request.method === "patch" || (request.method === "action" && request.action === "patch")) {
333 if (request.method === "patch" || (request.method === "action" && request.action === "patch")) {
341 // check each of the fields they are attempting to patch and make sure they are approved
/forgerock/openidm-v4/openidm-shell/src/main/java/org/forgerock/openidm/shell/impl/
H A DHttpRemoteJsonResource.java204 public ResourceResponse patch(Context context, PatchRequest request) throws ResourceException { method in class:HttpRemoteJsonResource
/forgerock/openidm-v4/openidm-core/src/main/java/org/forgerock/openidm/managed/
H A DManagedObjectSet.java73 import org.forgerock.openidm.patch.JsonValuePatch;
106 patch, enum constant in enum:ManagedObjectSet.Action
452 * Update a resource as part of an update or patch request.
570 * Applies a patch document to an object, or by finding an object in the object set itself via query parameters. As
571 * this is an action, the patch document to be applied is in the {@code _entity} parameter.
921 // FIXME: There's no way to decrypt a patch document. :-( Luckily, it'll work for now with patch action.
928 logger.debug("patch name={} id={}", name, request.getResourcePath());
989 logger.debug("Requested patch failed policy validation: {}", result);
1113 case patch
[all...]
H A DRelationshipProvider.java58 import org.forgerock.openidm.patch.JsonValuePatch;
643 * @param relationshipId The id of the relationship instance to patch
644 * @param request The patch request
645 * @return A promised patch response or exception
656 logger.debug("Attempting to patch relationship {}", request.getResourcePath());
/forgerock/openidm-v4/openidm-audit/src/main/java/org/forgerock/openidm/audit/impl/
H A DAuditServiceImpl.java73 import org.forgerock.json.patch.JsonPatch;
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/sms/tree/
H A DSmsRouteTree.java437 .patch(resource.getPatch())

Completed in 97 milliseconds

123