-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 0.9.0 enable JDK21 Signed-off-by: Andres LeonRangel <[email protected]> * JDK21 settings buttons documentation markdown - improves settings with JDK21 - badges for README file with links to project Signed-off-by: Andres LeonRangel <[email protected]> * local development upgrade - clean function can receive argument to clean particular version. useful in case of app upgrade to clean up local environment - docker compose prep for integration testing Signed-off-by: Andres LeonRangel <[email protected]> * Mocked Reports - primefaces extension - basic HTML reporting Signed-off-by: Andres LeonRangel <[email protected]> * class to control the org chart PF extensions Signed-off-by: Andres LeonRangel <[email protected]> --------- Signed-off-by: Andres LeonRangel <[email protected]>
- Loading branch information
Showing
16 changed files
with
172 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# https://developer.1password.com/docs/cli/secrets-config-files/ | ||
LDAP_ADMIN_PASS="op://Professional-IT Projects/multi-cloud-WebApp-Attendance/password" | ||
export LDAP_ADMIN_PASS="op://Professional-IT Projects/multi-cloud-WebApp-Attendance/password" | ||
export APP_WAR_FILE_VERSION=$(gradle getAppVersion --quiet) || true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ services: | |
image: aleon1220/soa:latest | ||
env_file: .env | ||
ports: | ||
- 8080:8080 | ||
- 8080:8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
package bean; | ||
|
||
import java.io.Serializable; | ||
import jakarta.inject.Named; | ||
//https://jakarta.ee/specifications/platform/9/apidocs/jakarta/faces/bean/viewscoped | ||
import jakarta.faces.view.ViewScoped; | ||
import org.primefaces.extensions.component.orgchart.OrgChartNode; | ||
import org.primefaces.extensions.component.orgchart.DefaultOrgChartNode; | ||
import org.primefaces.extensions.event.OrgChartClickEvent; | ||
import org.primefaces.extensions.event.OrgChartDropEvent; | ||
|
||
@Named | ||
@ViewScoped | ||
public class OrgchartController implements Serializable { | ||
|
||
private static final long serialVersionUID = 1648477595853984820L; | ||
|
||
private OrgChartNode orgChartNode; | ||
|
||
private String direction = "t2b"; | ||
|
||
public OrgchartController() { | ||
super(); | ||
init(); | ||
} | ||
|
||
public void init() { | ||
orgChartNode = new DefaultOrgChartNode("id1", "Cohort March 2023", "2023-03-20"); | ||
orgChartNode.addChild(new DefaultOrgChartNode("id2", "Cloud Basics", "Content2")); | ||
orgChartNode.addChild(new DefaultOrgChartNode("id3", "Programming Java", "Content3")); | ||
orgChartNode.addChild(new DefaultOrgChartNode("id4", "Programming Python", "Content3")); | ||
final OrgChartNode node = new DefaultOrgChartNode("id5", "Iac", "Infra as Code"); | ||
orgChartNode.addChild(node); | ||
node.addChild(new DefaultOrgChartNode("id6", "pulumi", "with java programming language")); | ||
node.addChild(new DefaultOrgChartNode("id7", "terraform", "HCL Hashicorp config language")); | ||
} | ||
|
||
public static void onClick(final OrgChartClickEvent event) { | ||
System.out.println("clicked ID: " + event.getId()); | ||
System.out.println("hierarchy: " + event.getHierarchy().toString()); | ||
} | ||
|
||
public static void onDropOver(final OrgChartDropEvent event) { | ||
System.out.println("hierarchy: " + event.getHierarchy().toString()); | ||
System.out.println("dragged node id " + event.getDraggedNodeId()); | ||
System.out.println("dropped node id " + event.getDroppedZoneId()); | ||
} | ||
|
||
public OrgChartNode getOrgChartNode() { | ||
return orgChartNode; | ||
} | ||
|
||
public void setOrgChartNode(final OrgChartNode orgChartNode) { | ||
this.orgChartNode = orgChartNode; | ||
} | ||
|
||
public String getDirection() { | ||
return direction; | ||
} | ||
|
||
public void setDirection(final String direction) { | ||
this.direction = direction; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters