https://github.com/beneite/javautilities
This repo contains the custom utilities to support Automation framework. Please go through the readme file
https://github.com/beneite/javautilities
docker docker-compose docker-images hikari-connection-pool jackson-databind jdbc-connection jsch json jsonobject password-protection prepared-statements processbuilder selenium-grid selenium-grid-4 unix-command yaml
Last synced: 3 months ago
JSON representation
This repo contains the custom utilities to support Automation framework. Please go through the readme file
- Host: GitHub
- URL: https://github.com/beneite/javautilities
- Owner: beneite
- Created: 2023-12-24T19:16:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-17T17:28:43.000Z (3 months ago)
- Last Synced: 2025-03-17T17:29:00.917Z (3 months ago)
- Topics: docker, docker-compose, docker-images, hikari-connection-pool, jackson-databind, jdbc-connection, jsch, json, jsonobject, password-protection, prepared-statements, processbuilder, selenium-grid, selenium-grid-4, unix-command, yaml
- Language: JavaScript
- Homepage:
- Size: 237 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This repo contains the utilities created in java to support Automation:
> [!NOTE]
> utility hypertext mark will navigate to respective motes.md file### Please go through the below table:
| **_Utility_** | **_Package Name_** | **_Topics covered_** |
|------------------------------------------------------------------------------|:---------------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| [Json Paring](src/main/java/jsonParsing/jsonParsingNotes.md) | src/main/java/jsonParsing | - JSONObject, POJO, [serialization](https://www.geeksforgeeks.org/serialization-in-java/)
- deserialization
- Object Mapper
- Jackson API,
- org.json.JSONObject
- org.json.simple
- Json to Excel
|
| [Database Connection](src/main/java/DataBaseConnection/DbCOnnectionNotes.md) | src/main/java/DataBaseConnection | - how to establish DB connection [link](src/main/java/DataBaseConnection/mySqlDb/FetchDataFromDb/DbConnectionUtil.java)
- Fetching data from DB
- Storing fetched Data into *.json - Execute query, ExecuteUpdate -Prepared Statements-setAutoCommit- Hikari CP |
| Password Protection | src/main/java/Password_Protection | - Password encryption & description
- Use char[] instead of String to store Passwords |
| [Unix Commands](src/main/java/unix_commands/lynxnotes.md) | src/main/java/unix_commands | - Basic Unix commands |
| Unix Playground | src/main/java/unix_playground | - Shell script execution([using process builder](src/main/java/unix_playground/shellScriptExecution/UsingProcessBuilder.java) , [using plexus utils](src/main/java/unix_playground/shellScriptExecution/UsingPlexusUtils.java), Using JSCH) |
| [Docker](src/main/java/docker/dockerGuide.md) | src/main/java/docker | - How to create docker images
- Docker compose yaml example
|> [!IMPORTANT]
> Points to remember:| **_Topics_** | **_Link_** |
|-----------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| @JsonProperty("field_name") | - https://stackoverflow.com/questions/53191468/no-creators-like-default-construct-exist-cannot-deserialize-from-object-valu
- https://www.concretepage.com/jackson-api/jackson-jsonproperty-and-jsonalias-example |
| org.json.JSONObject | is best in converting string to json object, json array on the fly |
| Password Protection | Never store password in String in java instead use char[] [video_link](https://www.youtube.com/watch?v=fDTbnLS5AS8), [Oracle_recommendation](https://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#PBEEx) |