Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
eb9f265
fixed permission matching logic
tanmaygarg-oracle Aug 6, 2024
b133fae
fixed permission matching logic
tanmaygarg-oracle Aug 6, 2024
0923673
fixed permission matching logic
tanmaygarg-oracle Aug 6, 2024
f10d008
fixed permission matching logic
tanmaygarg-oracle Aug 6, 2024
5877e33
updated PAR URL
tanmaygarg-oracle Aug 20, 2024
b003232
Merge branch 'oracle:main' into main
tanmaygarg-oracle Aug 20, 2024
e9259a9
Merge branch 'oracle:main' into main
tanmaygarg-oracle Dec 12, 2024
7c1d714
Added to support handling of stuck podman container
tanmaygarg-oracle Dec 12, 2024
8408297
fixed lint
tanmaygarg-oracle Dec 12, 2024
3f2050c
Update agentAutoUpdate.sh
tanmaygarg-oracle Feb 6, 2025
b5a920d
Merge branch 'oracle:main' into main
tanmaygarg-oracle Feb 6, 2025
74ecf33
Update agentAutoUpdate.sh
tanmaygarg-oracle Feb 6, 2025
15b56ca
Update agentAutoUpdate.sh
tanmaygarg-oracle Feb 6, 2025
efd87b4
Merge branch 'oracle:main' into main
tanmaygarg-oracle Feb 25, 2025
2dabbe0
Fixed handling of force removal of stuck podman containers in stoppin…
tanmaygarg-oracle Feb 25, 2025
d9140ad
Fixed handling of force removal of stuck podman containers in stoppin…
tanmaygarg-oracle Feb 25, 2025
2f59450
Merge branch 'oracle:main' into main
tanmaygarg-oracle Mar 24, 2025
99216da
Added Peoplesoft views definitions
tanmaygarg-oracle Mar 24, 2025
c919d27
Added Peoplesoft views definitions, updated readme and created versions
tanmaygarg-oracle Mar 25, 2025
3ab23f4
Added Peoplesoft views definitions, updated readme and created versions
tanmaygarg-oracle Mar 25, 2025
e1bf4fc
Merge branch 'oracle:main' into main
tanmaygarg-oracle Apr 22, 2025
907affe
Added fix to remove the child processed before terminating the parent…
tanmaygarg-oracle Apr 22, 2025
482748f
Added fix to remove the child processed before terminating the parent…
tanmaygarg-oracle Apr 22, 2025
d7b7cbb
Merge branch 'oracle:main' into main
tanmaygarg-oracle Apr 23, 2025
1d8d9dd
updated PSFT views
tanmaygarg-oracle Apr 23, 2025
3be5481
Merge branch 'oracle:main' into main
tanmaygarg-oracle May 26, 2025
7e8f507
Added required SQLs for day N data load for PeopleSoft
tanmaygarg-oracle May 27, 2025
daf5118
Merge branch 'oracle:main' into main
tanmaygarg-oracle May 27, 2025
4773176
Added manager in PSFT Data View
tanmaygarg-oracle May 27, 2025
cabf937
Merge branch 'oracle:main' into main
tanmaygarg-oracle May 27, 2025
c7b8ec3
Added User Management Update Set XML for Service Now User Management
tanmaygarg-oracle May 27, 2025
694f3de
Merge branch 'oracle:main' into main
tanmaygarg-oracle Jun 24, 2025
700b8f6
Merge branch 'oracle:main' into main
tanmaygarg-oracle Jul 30, 2025
2f8ebec
Added ORDS application script for APEX
tanmaygarg-oracle Jul 30, 2025
c3ccb23
Added ORDS application script for APEX
tanmaygarg-oracle Jul 30, 2025
5db1e89
Merge branch 'oracle:main' into main
tanmaygarg-oracle Aug 4, 2025
f859153
Added IP to dummy host mapping
tanmaygarg-oracle Aug 4, 2025
a0480c1
shellcheck
tanmaygarg-oracle Aug 4, 2025
d296179
Merge branch 'oracle:main' into main
tanmaygarg-oracle Aug 11, 2025
4b3c3b7
Renamed fields in job data view
tanmaygarg-oracle Aug 11, 2025
4a89840
Merge branch 'oracle:main' into main
tanmaygarg-oracle Feb 3, 2026
aa0a4ba
added ip to dummy host mapping
tanmaygarg-oracle Feb 3, 2026
11c777e
fixed jdk version
tanmaygarg-oracle Feb 3, 2026
e2a9931
Merge branch 'oracle:main' into main
tanmaygarg-oracle Feb 12, 2026
8cb23d9
script fix for apex
tanmaygarg-oracle Feb 12, 2026
3327b50
Merge branch 'oracle:main' into main
tanmaygarg-oracle Jun 11, 2026
252c812
PeopleSoft ELM and FSCM module support
tanmaygarg-oracle Jun 11, 2026
b77504b
Merge branch 'main' into main
rishiagarwal-oracle Jun 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
-- Copyright (c) 2025 Oracle and/or its affiliates.
--
-- Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
--
-- Author: OAG Development
--
-- Description: Script file to create JOB_DATA_VIEW in the AG Service Account User Schema of the PSFT DB, required for OAG integration
--
-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.


CREATE OR REPLACE VIEW job_data_view (
empl_id,
empl_rcd,
eff_dt,
eff_seq,
business_unit,
empl_type,
empl_class,
officer_code,
company,
per_org,
position_nbr,
deptid,
jobcode,
supervisor_id,
empl_status,
full_part_time,
action,
action_reason,
locationcode,
locationdetails,
job_type,
setid_jobcode,
job_title,
end_date,
reports_to,
dept_code_hierarchy,
lastupddttm
) AS
SELECT
j.LM_PERSON_ID AS empl_id,
j.LM_EMPL_RCD AS empl_rcd,
j.EFFDT AS eff_dt,
j.LM_EFFSEQ AS eff_seq,
j.BUSINESS_UNIT AS business_unit,
j.LM_EMPL_TYPE AS empl_type,
j.LM_EMPL_CLASS AS empl_class,
j.LM_OFFICER_CD AS officer_code,
j.LM_HR_COMPANY AS company,
j.LM_PER_ORG AS per_org,
j.LM_POSITION_NBR AS position_nbr,
NULL AS deptid,
j.LM_JOBCODE_ID AS jobcode,
j.LM_SUPERVISOR_ID AS supervisor_id,
j.LM_ACTIVE AS empl_status,
j.LM_FULL_PART_TIME AS full_part_time,
NULL AS action,
NULL AS action_reason,
j.LM_LOCATION_ID AS locationcode,
NULL AS locationdetails,
j.LM_JOB_INDICATOR AS job_type,
NULL AS setid_jobcode,
j.LM_JOB_TITLE AS job_title,
j.LM_END_EFFDT AS end_date,
j.LM_REPORTS_TO AS reports_to,
NULL AS dept_code_hierarchy,
NULL AS lastupddttm
FROM PS_LM_PERSON_JOB j;
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
-- Copyright (c) 2025 Oracle and/or its affiliates.
--
-- Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
--
-- Author: OAG Development
--
-- Description: Script file to create PERSONAL_DATA_VIEW in the AG Service Account User Schema of the PSFT DB, required for OAG integration
--
-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

CREATE OR REPLACE VIEW personal_data_view (
empl_id,
first_name,
last_name,
middle_name,
pref_first_name,
name_title,
phone,
email,
country,
address1,
address2,
address3,
city,
state,
postal,
lastupddttm
) AS
SELECT
p.LM_PERSON_ID AS empl_id,
n.FIRST_NAME,
n.LAST_NAME,
n.MIDDLE_NAME,
n.PREF_FIRST_NAME,
n.NAME_TITLE,
ph.LM_PHONE AS phone,
em.LM_EMAIL_ADDR AS email,
a.COUNTRY,
a.ADDRESS1,
a.ADDRESS2,
a.ADDRESS3,
a.CITY,
a.STATE,
a.POSTAL,
NULL AS lastupddttm
FROM PS_LM_PERSON p
LEFT JOIN PS_LM_PERSON_NAME n
ON n.LM_PERSON_ID = p.LM_PERSON_ID
LEFT JOIN PS_LM_PERSON_PHONE ph
ON ph.LM_PERSON_ID = p.LM_PERSON_ID
AND ph.LM_PRIMARY = 'Y'
LEFT JOIN PS_LM_PERSON_ADDR a
ON a.LM_PERSON_ID = p.LM_PERSON_ID
AND a.EFF_STATUS = 'A'
LEFT JOIN PS_LM_PERSON_EMAIL em
ON em.LM_PERSON_ID = p.LM_PERSON_ID
AND em.LM_PRIMARY = 'Y';
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
CREATE OR REPLACE TRIGGER ps_job_delete_trigger
AFTER DELETE ON ps_lm_person_job
FOR EACH ROW
DECLARE
operationcode VARCHAR2(20);
entitykey VARCHAR2(30);
BEGIN
operationcode := '2';
entitykey := :OLD.LM_PERSON_ID;

IF operationcode IS NOT NULL
AND entitykey IS NOT NULL
THEN
UPDATE oag_entity_changes oec
SET oec.timestamp = CURRENT_TIMESTAMP
WHERE oec.opcode = operationcode
AND oec.key = entitykey;

IF SQL%ROWCOUNT = 0 THEN
INSERT INTO oag_entity_changes
(key, opcode, timestamp)
VALUES
(entitykey, operationcode, CURRENT_TIMESTAMP);
END IF;
END IF;

EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('EXCEPTION ALERT!!!');
END;
/
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
CREATE OR REPLACE TRIGGER ps_personalData_delete_trigger AFTER
DELETE ON PS_LM_PERSON
FOR EACH ROW
DECLARE
operationcode VARCHAR2(20);
entitykey VARCHAR2(30);
BEGIN
IF deleting THEN
operationcode := '1';
entitykey := :old.LM_PERSON_ID;
END IF;

IF (
operationcode IS NOT NULL
AND entitykey IS NOT NULL
) THEN
UPDATE oag_entity_changes oec
SET
oec.timestamp = current_timestamp
WHERE
oec.opcode = operationcode
AND oec.key = entitykey;

IF SQL%rowcount = 0 THEN
INSERT INTO oag_entity_changes VALUES (
entitykey,
operationcode,
current_timestamp
);

END IF;

END IF;

EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('EXCEPTION ALERT!!!');
END;
/
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
CREATE OR REPLACE TRIGGER userprofile_delete_trigger AFTER
DELETE ON psoprdefn
FOR EACH ROW
DECLARE
operationcode VARCHAR2(20);
entitykey VARCHAR2(30);
BEGIN
IF deleting THEN
operationcode := '3';
entitykey := :old.oprid;
END IF;

IF (
operationcode IS NOT NULL
AND entitykey IS NOT NULL
) THEN
UPDATE oag_entity_changes oec
SET
oec.timestamp = current_timestamp
WHERE
oec.opcode = operationcode
AND oec.key = entitykey;

IF SQL%rowcount = 0 THEN
INSERT INTO oag_entity_changes VALUES (
entitykey,
operationcode,
current_timestamp
);

END IF;

END IF;

EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('EXCEPTION ALERT!!!');
END;
/
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
-- Copyright (c) 2025 Oracle and/or its affiliates.
--
-- Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
--
-- Author: OAG Development
--
-- Description: Script file to create JOB_DATA_VIEW in the AG Service Account User Schema of the PSFT DB, required for OAG integration
--
-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

CREATE OR REPLACE VIEW job_data_view (
empl_id,
empl_rcd,
eff_dt,
eff_seq,
business_unit,
empl_type,
empl_class,
officer_code,
company,
per_org,
position_nbr,
deptid,
jobcode,
supervisor_id,
empl_status,
full_part_time,
action,
action_reason,
locationcode,
locationdetails,
job_type,
setid_jobcode,
job_title,
end_date,
reports_to,
dept_code_hierarchy,
lastupddttm
) AS
SELECT
pj.emplid AS empl_id,
pj.empl_rcd,
pj.effdt AS eff_dt,
pj.effseq AS eff_seq,
pj.business_unit,
pj.empl_type,
pj.empl_class,
pj.officer_cd AS officer_code,
pj.company,
'' AS per_org,
pj.position_nbr,
pj.deptid,
pj.jobcode,
pj.supervisor_id,
pj.empl_status,
pj.full_part_time,
pj.action,
pj.action_reason,
pj.location AS locationcode,
'' AS locationdetails,
pj.job_indicator AS job_type,
pj.setid_jobcode,
pjc.descr AS job_title,
'' AS end_date,
pj.reports_to,
'' AS dept_code_hierarchy,
'' AS lastupddttm
FROM ps_job pj
LEFT JOIN ps_jobcode_tbl pjc
ON pj.setid_jobcode = pjc.setid
AND pj.jobcode = pjc.jobcode
AND pj.effdt = pjc.effdt;
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
-- Copyright (c) 2025 Oracle and/or its affiliates.
--
-- Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
--
-- Author: OAG Development
--
-- Description: Script file to create PERSONAL_DATA_VIEW in the AG Service Account User Schema of the PSFT DB, required for OAG integration
--
-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
CREATE OR REPLACE VIEW personal_data_view (
empl_id,
first_name,
last_name,
middle_name,
pref_first_name,
name_title,
phone,
email,
country,
address1,
address2,
address3,
city,
state,
postal,
lastupddttm
) AS
SELECT
pd.emplid,
pd.first_name,
pd.last_name,
pd.middle_name,
pd.pref_first_name,
pd.name_title,
pd.phone,
pe.email_addr,
pd.country,
pd.address1,
pd.address2,
pd.address3,
pd.city,
pd.state,
pd.postal,
'' AS lastupddttm
FROM ps_personal_data pd
LEFT JOIN (
SELECT emplid, MAX(email_addr) AS email_addr, MAX(ORA_ROWSCN) AS max_rowscn
FROM ps_email_addresses
GROUP BY emplid
) pe
ON pd.emplid = pe.emplid;
Loading
Loading