Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
tchrapovic committed Feb 2, 2023
1 parent 4d8207f commit 2111e27
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 294 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@
</form>


<form wicket:id="jaccard_form">
<button wicket:id="run_process_jaccard" type="button" class="btn btn-primary"></button>
</form>


</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import com.evolveum.midpoint.authentication.api.authorization.Url;
import com.evolveum.midpoint.gui.api.component.mining.RoleMiningFilter;
import com.evolveum.midpoint.gui.api.component.mining.analyse.structure.rbam.UA;
import com.evolveum.midpoint.gui.api.component.mining.analyse.tools.JaccardSortingMethod;
import com.evolveum.midpoint.gui.api.component.mining.analyse.tools.RBAMAlgorithm;
import com.evolveum.midpoint.gui.api.component.mining.structure.UPStructure;
import com.evolveum.midpoint.gui.api.page.PageBase;
Expand Down Expand Up @@ -108,7 +107,6 @@ protected void onInitialize() {
super.onInitialize();

networkGraphSection();
jaccardSection();

List<PrismObject<RoleType>> roles;
List<PrismObject<UserType>> users;
Expand Down Expand Up @@ -270,24 +268,6 @@ public void onClick(AjaxRequestTarget target) {
graphForm.add(costModelBasic);
}

public void jaccardSection() {
Form<?> jaccardForm = new Form<>("jaccard_form");
jaccardForm.setOutputMarkupId(true);

AjaxButton jaccardButton = new AjaxButton(
"run_process_jaccard", Model.of("Test")) {
@Override
public void onClick(AjaxRequestTarget target) {
JaccardSortingMethod jaccardSortingMethod = new JaccardSortingMethod(getPageBase());

jaccardSortingMethod.sortDescending();
}
};
jaccardButton.setOutputMarkupId(true);
jaccardForm.add(jaccardButton);
add(jaccardForm);

}

public BoxedTablePanel<UA> generateTableRBAM(
List<UA> uaList) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,6 @@ <h2 class="col-xl-5 text-center">
</form>


<form wicket:id="jaccard_form">
<button wicket:id="run_process_jaccard" type="button" class="btn btn-primary"></button>
</form>


</div>
</wicket:extend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
import java.util.stream.Collectors;
import java.util.stream.IntStream;

import com.evolveum.midpoint.gui.api.component.mining.analyse.tools.JaccardSortingMethod;

import com.github.openjson.JSONObject;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.Component;
Expand Down Expand Up @@ -175,7 +173,6 @@ protected void onInitialize() {
super.onInitialize();

networkGraphSection();
jaccardSection();

List<PrismObject<RoleType>> roles;
List<PrismObject<UserType>> users;
Expand Down Expand Up @@ -273,9 +270,6 @@ void jaccardChartJS() {

public void generateJsRBAM() {

List<AuthorizationType> tempAuthorizationExample = new ArrayList<>();


if (authorizationTypeList.isEmpty()) {
return;
}
Expand Down Expand Up @@ -311,24 +305,7 @@ protected Label getCostBasicLabel() {
return (Label) get(((PageBase) getPage()).createComponentPath("graph_form", "model_cost_basic"));
}

public void jaccardSection() {
Form<?> jaccardForm = new Form<>("jaccard_form");
jaccardForm.setOutputMarkupId(true);

AjaxButton jaccardButton = new AjaxButton(
"run_process_jaccard", Model.of("Test")) {
@Override
public void onClick(AjaxRequestTarget target) {
JaccardSortingMethod jaccardSortingMethod = new JaccardSortingMethod(getPageBase());

jaccardSortingMethod.sortDescending();
}
};
jaccardButton.setOutputMarkupId(true);
jaccardForm.add(jaccardButton);
add(jaccardForm);

}

public void networkGraphSection() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,73 +36,3 @@ function network_graph_auth(jsonObjectList, jsonObjectList2) {

}

//
// function network_graph_role(labelsNames, datasetValues) {
// let nodes = new vis.DataSet([
//
// {"id":"1","label":"[1, 2, 3, 4]"},
// {"id":"2","label":"[1, 2, 3]"},
// {"id":"3","label":"[1, 2, 4]"},
// {"id":"4","label":"[1, 3, 4]"},
// {"id":"5","label":"[2, 3, 4]"},
// {"id":"6","label":"[1, 2]"},
// {"id":"7","label":"[1, 3]"},
// {"id":"8","label":"[2, 3]"},
// {"id":"9","label":"[1, 4]"},
// {"id":"10","label":"[2, 4]"},
// {"id":"11","label":"[3, 4]"},
// {"id":"12","label":"[1]"},
// {"id":"13","label":"[2]"},
// {"id":"14","label":"[3]"},
// {"id":"15","label":"[4]"},
// ]);
//
// console.log(nodes);
// let edges = new vis.DataSet([
// {"from":"1","to":"2"},
// {"from":"1","to":"3"},
// {"from":"1","to":"4"},
// {"from":"1","to":"5"},
// {"from":"2","to":"6"},
// {"from":"2","to":"7"},
// {"from":"2","to":"8"},
// {"from":"3","to":"6"},
// {"from":"3","to":"9"},
// {"from":"3","to":"10"},
// {"from":"4","to":"7"},
// {"from":"4","to":"9"},
// {"from":"4","to":"11"},
// {"from":"5","to":"8"},
// {"from":"5","to":"10"},
// {"from":"5","to":"11"},
// {"from":"6","to":"12"},
// {"from":"6","to":"13"},
// {"from":"7","to":"12"},
// {"from":"7","to":"14"},
// {"from":"8","to":"13"},
// {"from":"8","to":"14"},
// {"from":"9","to":"12"},
// {"from":"9","to":"15"},
// {"from":"10","to":"13"},
// {"from":"10","to":"15"},
// {"from":"11","to":"14"},
// {"from":"11","to":"15"},
// ]);
//
// let data = {
// nodes: nodes,
// edges: edges
// };
// var options = {
// layout: {
// hierarchical: {
// direction: "UD",
// sortMethod: "directed",
// },
// },
// };
// let container = document.getElementById("network_graph_role");
//
// let network = new vis.Network(container, data, options);
//
// }

0 comments on commit 2111e27

Please sign in to comment.