@Test public void createSchema() throws IOException { String schemaJsonDataFileName = "create_schema.json"; Schema schema = readRequestObjectFromFile(schemaJsonDataFileName, Schema.class); JsonNode jsonResponse = readResponseSchemasAsJsonNodeFromFile(schemaJsonDataFileName); wireMockServer.stubFor(post(urlEqualTo("/Schemas")).willReturn(configureMockedResponse(CREATED, jsonResponse))); Schema responseSchema = SCIMClientService.builder(DEFAULT_URL) .build() .buildSchemaRequest() .createSchema(schema) .get(); assertAll(getAllSchemaAttributeAssertions(responseSchema)); }
public SCIMResponse<Schema> createSchema(Schema schema) { return resourceRequestDelegate.createResource(schema); }
SchemaRequest { public SCIMResponse<Schema> createSchema(Schema schema) { return resourceRequestDelegate.createResource(schema); } }
SchemaRequest { public SCIMResponse<Schema> createSchema(Schema schema) { return resourceRequestDelegate.createResource(schema); } SchemaRequest(WebTarget targetSystem, SCIMRequest scimRequest); }
SchemaRequest { public SCIMResponse<Schema> createSchema(Schema schema) { return resourceRequestDelegate.createResource(schema); } SchemaRequest(WebTarget targetSystem, SCIMRequest scimRequest); SCIMResponse<Schema> createSchema(Schema schema); SCIMResponse<Schema> readSingleSchema(String schemaUrn); SCIMResponse<PagedByIndexSearchResult<Schema>> readAllSchemas(); SCIMResponse<Void> deleteSchema(String schemaUrn); }
SchemaRequest { public SCIMResponse<Schema> createSchema(Schema schema) { return resourceRequestDelegate.createResource(schema); } SchemaRequest(WebTarget targetSystem, SCIMRequest scimRequest); SCIMResponse<Schema> createSchema(Schema schema); SCIMResponse<Schema> readSingleSchema(String schemaUrn); SCIMResponse<PagedByIndexSearchResult<Schema>> readAllSchemas(); SCIMResponse<Void> deleteSchema(String schemaUrn);  }