Shell script to add XML stanza to an existing XML file
- or -
Post a project like this2240
£60(approx. $75)
- Posted:
- Proposals: 1
- Remote
- #1911446
- Awarded
Description
Experience Level: Intermediate
hi
Please can you write a Shell script in Bash or KSH to be executed on a RHEL 7.4 system on Intel
You are to read two property files. One to read users for Part 1 and another to read Operations
The shell script should do 2 things
Part 1 - ADD USERS
1A. In the AAAInfo-DnG-WebServices.xml add another stanza
======================================
Preserve alphabetical order!!! (sorted by Username in ).
Customer1
What3ver
Customer1
======================================
NOTE: The is what will be used by the within the next stanza - MapCredentials
1B. Add a new stanza to define the credentials mapping
=======================================
Preserve alphabetical order!!! (sorted by Username in ).
Customer1
Customer1
=======================================
Part 2 - ADD OPERATIONS
2A. If you have been creating a user for a new service (operation), you will need to define (add) a resource mapping, that will later be used to grant user access to individual operations.
Below are two examples of the stanzas for two different versions of the same service - CreatePlan
=======================================
Preserve alphabetical order for stanzas relating to specific regions like ROW and EU (sorted by Operation Name in ).
Example 1: MapResource stanza for ROW's Version 1 of the CreatePlan service (listening on /ROW/planServicesWeb/PlanService)
/ROW/.*
CreatePlanReq
v1-row-CreatePlanReq
Example 2: MapResource stanza for Version 2 of the CreatePlan service (listening on /2/ROW/planServicesWeb/PlanService)
/2/ROW/.*
CreatePlanReq
v2-row-CreatePlanReq
=======================================
Please find attached a AAAInfo.xml file.
Please can you write a Shell script in Bash or KSH to be executed on a RHEL 7.4 system on Intel
You are to read two property files. One to read users for Part 1 and another to read Operations
The shell script should do 2 things
Part 1 - ADD USERS
1A. In the AAAInfo-DnG-WebServices.xml add another stanza
======================================
Preserve alphabetical order!!! (sorted by Username in ).
Customer1
What3ver
Customer1
======================================
NOTE: The is what will be used by the within the next stanza - MapCredentials
1B. Add a new stanza to define the credentials mapping
=======================================
Preserve alphabetical order!!! (sorted by Username in ).
Customer1
Customer1
=======================================
Part 2 - ADD OPERATIONS
2A. If you have been creating a user for a new service (operation), you will need to define (add) a resource mapping, that will later be used to grant user access to individual operations.
Below are two examples of the stanzas for two different versions of the same service - CreatePlan
=======================================
Preserve alphabetical order for stanzas relating to specific regions like ROW and EU (sorted by Operation Name in ).
Example 1: MapResource stanza for ROW's Version 1 of the CreatePlan service (listening on /ROW/planServicesWeb/PlanService)
/ROW/.*
CreatePlanReq
v1-row-CreatePlanReq
Example 2: MapResource stanza for Version 2 of the CreatePlan service (listening on /2/ROW/planServicesWeb/PlanService)
/2/ROW/.*
CreatePlanReq
v2-row-CreatePlanReq
=======================================
Please find attached a AAAInfo.xml file.
Sanjay J.
93% (6)Projects Completed
5
Freelancers worked with
2
Projects awarded
67%
Last project
31 May 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies