Retrieves a custom attribute and store it in a workflow attribute?

Hello.

Maybe I'm confused on this subject, but from the looks of it, I can't take the custom attribute that is retrieved using

com.vmware.library.vc.customattribute.getCustomField)

and assign it to an attribute of workflow for use later, or even check the value.

From the looks of the workflow, it records only the value.

Is it possible to natively in vRO?

Thank you!

Anoop

Are you trying to retrieve the custom attribute using the workflow "toget the attribute custom" (in the folder library/vCenter/Custom attributes )?

If so, then Yes, this workflow only saves the retrieved attribute and does not return as an output parameter. You have the following options:

  • Write your own workflow to help "get the attribute custom" as a starting point. You can duplicate, then add a new parameter of type string and set it to the value of customAttributeValue.
  • Directly call the com.vmware.library.vc.customattribute.getCustomField () action in your script code and use its return value of string.

Tags: VMware

Similar Questions

  • Retrieve Oracle database data and store it in a CSV file format

    Hello.

    I try to export a table in an Oracle database to CSV file with any Oracle adapter format and store it in a system of HDFS.

    How could I do?

    Thanks in advance!

    Xavi says:
    HI Charles. If I could use... Oracle Data Integrator Application adapted for Hadoop? For this purpose?

    Thanks in advance

    Perhaps. I must admit I'm not familiar enough with ODI to see if this is the extent of its means.

    You might see if there is a forum for ODI and ask your question to that.

    Charles Lamb

  • Intercept SMS in custom application and store it in the standard folder of BB

    Hi all

    Is there a way to intecept incoming SMS and then store it in a place. If SMS will apeear in 2 places - starndart SMS BB appliaiton and my manager?

    Thank you.

    Hello

    Take a look on:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

    SMS can be seen in the series bb app and your manager, but you cannot change it in the Inbox of the sms app device...

    Use 0 for incoming sms Manager port.

    Kind regards

    Jochen

  • How to add a custom WD screen button to call a workflow in siebel?

    Hi all

    We have an obligation to have a custom button to (after the execution of the rule) summary screen 'Create opportunity', by clicking on it a new opportunity record must be created in Siebel. As we know the link 'Save' calls 'PolicyAutomationSaveSession' incoming to the web service method and saves the session table information and we can change the workflow presessional and post-Forum. But we do not know how he calls the service method and where is the defined mapping.

    Can you please help me on how to add a custom button and how to call a workflow next to siebel to implement this requirement?

    Also is there anything that can help me to add a custom in the display button and add the code behind the button?

    Thanks in advance!

    Kind regards
    ALIOU

    ALIOU,

    There is no easy way to map an arbitrary Siebel Workflow to a button of the OPA. It can be done through a custom action, and with the addition of the code. Here's how it was done for the recording function of the Web analytics that you see in the OPA for Siebel connector.

    1. strip the workflow as a Siebel "Incoming Web Service"
    2. write the code to call the web service
    3. implement an event listener which will execute the code at the right time

    Documentation on the event for the determinations of Web listeners can be found in the "10.3.0 Oracle policy Automation Developer Runtime help" in the section "Events and event handlers" "

  • Create a custom attribute to model the growth rate of the data store used space

    I would like to see data warehouses are growing fastest of the environment in terms of GB per day or something similar.  Is it possible to use a custom attribute to apply a formula that measures the rate of growth of a store of data over time, which allows me to see what data stores fastest?

    You would look for an average simple mobile for a SM you describe. vC Ops does not simple moving average formulas for SMs at this time.

    Looks like you are looking for a "growth rate", but you really won't get it with the built-in attributes. You might look differently and look at the remaining capacity and the remaining time metric. Also, you could create additional widgets to view graphs of util % over the last 30-90 days to give a better picture of usage in GB, #VMs, etc.

    I also suggest to make a Top - N showing use the lowest of the remaining time metric and the remaining ability... This will give you your data warehouses that are more at risk.

  • Reporting to include custom attributes of Vm and organized through multiple vcenters.

    Hello
    We are just moving our production test vfoglight solution & have you come across a bit of a weird one. We had a report / discovers that would list all virtual machines in our virtual Center and displays the custom attributes in a nice - good for the management report, form etc. However, we are moving to a new instance of virtual center & we have a test instance too - all are present in vfoglight, but our report draws only the custom of the original vcentre attributes. I'm not wcf script guru, but I gave it a good look & can't see a way forward - the hero of any script out there who could take a look and help out?
    Moreover, do you think I could put in a request for support for this one & get any joy?

    Hope someone can help - I'll post all the files needed etc.

    Kind regards

    Jonathan

    Thought of it at the end - on the second vcenter vmware foglight agent did not have the ability to collect custom attributes in the service.config file set to true. After true and restart the collector and the connector, everything was fine.

  • Need to retrieve the text of a URL and store in a variable

    Looking for advice here, I can do this in PHP, but I'm too new to CF doesn't know it yet. To spend of PHP to the CF would mean sending these variables in the URL of the web that I want to avoid.

    Basically I have a precompiled java module I should use referring a Y or N to verify authentication.
    I need to create the next scenerio:

    Display with the username and password form;
    Enter the name of the user as user name and password as password
    From the screen of the http:/intranet/servlet/WebLogin URL, get Y or N? UserID = XXX & Password = YYY
    Store the results of the verification as a global variable

    My attempt of CF:
    < cfform = "loginform" action = "http:/intranet/servlet/WebLogin" name
    method = "Get" >
    < table >
    < b >
    user name < td >: < table >
    < td > < cfinput type = "text" name = "UserID" required = "yes".
    message = "a user name is required" > < table >
    < /tr >
    < b >
    password < td >: < table >
    < td > < cfinput type = "password" name = "Password" required = "yes".
    message = "a password is required" > < table >
    < /tr >
    < /table >
    < br >
    < input type = "submit" value = "Log In" >
    < / cfform >

    -This code works to redirect the display URL displays Y or N, but how can I not enter the result and store =)


    : My PHP code to do this (works completely)
    <? PHP

    $url = ' http:/intranet/servlet/WebLogin? UserID = XXX & Password = YYY';
    $html = file_get_contents() ($url);
    If (preg_match ('/ Y /', $html, $matches))
    {
    echo "success."
    }
    on the other
    {
    ECHO 'no success ';
    }
    ? >


    Thank you all

    Quote:
    Posted by: nborton
    ... ...
    From the screen of the http:/intranet/servlet/WebLogin URL, get Y or N? UserID = XXX & Password = YYY

    Galloping gargoyles! There are so many things wrong here!

    Anyway, if you're stuck with this approach, you will need to use cfhttp to get the result.

    Something like the attached code should help you get started.

    Edit: fixed error of syntax IsDefined...

  • Need an API to retrieve the sessiontimeout attribute wcSessionTimeoutPeriod WebCenter Portal

    Hello

    Can someone let me know any WebCenter APIs for querying attribute to session timeout WebCenter portal 'wcSessionTimeoutPeriod' on the Portal Server. I need the value of this attribute in a Custom HttpServlet and so cannot use a simple EL as #{WCAppContext.application.applicationConfig.customAttributes ['wcSessionTimeoutPeriod'].

    If there is no api REST also available to retrieve this attribute, that should be fine.

    Thank you

    Jean Claude

    Hello.

    I have the code to get easily into the MDS and also a wrapper that can be used.

    In the meantime, try the following in your servlet:

    Import oracle.webcenter.webcenterapp.internal.model.WebCenterUtils;

    String timeout = WebCenterUtils.getAppCustomAttributeValue("wcSessionTimeoutPeriod");
    System.out.println(timeout);
    

    Kind regards.

  • Someone removed the custom attributes field

    Is it possible that PowerCLI can fire an event if someone removed the field of the custom in vCenter attributes?  I take more precisely on the class in Administration > custom attributes in vSphere client 5.x.  For some reason a field that he had to show VM assignments is missing, and I'll try to find what happened to her.

    Course, use the CustomFieldRemovedEvent.

    You can use the Get-VIEvent or my Get-VIEventPlus cmdlet to retrieve the events.

    BTW use my Event-O-Matic to easily find event names.

    Special Edition, it will still generate code to extract the events

  • viPerl: list specific custom attributes for specific VM

    I would be able to simply move the VM name and the name of the custom function and that perl attribute returns the value... Does anyone have a script for this?

    So I wrote this quickly enough, but basically the fact that you are looking for.  You have to kind of match a value of index (key) between [] properties customValue and list of the custom fields CustomFieldsManager object.

    #!/usr/bin/perl -w
    
    use strict;
    use warnings;
    
    use VMware::VIRuntime;
    
    my %opts = (
         vmname => {
         type => "=s",
         variable => "VMNAME",
         help => "Name of virtual machine.",
         required => 1,
         },
    
         customfield => {
         type => "=s",
         variable => "CUSTOMFIELD",
         help => "Name of a custom field to retrieve a value from.",
         require => 1,
         },
    );
    
    Opts::add_options(%opts);
    Opts::parse();
    Opts::validate();
    
    Util::connect();
    
    my ($vm_view, $vm_name, $custom_field, $customFieldsMgr, $sc);
    
    $vm_name = Opts::get_option("vmname");
    $custom_field = Opts::get_option("customfield");
    
    $vm_view = Vim::find_entity_view(
         view_type => "VirtualMachine",
         filter => { 'name' => $vm_name },
         properties => \[ 'name', 'summary' ], # Remove the '\' before '[' here, forum mangles it without an escape.
    );
    
    unless ( defined $vm_view ) {
         die "Virtual Machine, '$vm_name', not found.\n";
    }
    
    $sc = Vim::get_service_content();
    $customFieldsMgr = Vim::get_view( mo_ref => $sc->customFieldsManager );
    
    unless ( (defined $vm_view->summary) && defined($vm_view->summary->customValue) ) {
         print "No custom values defined for virtual machine, '$vm_name'.\n";
    }
    else {
         # Get the field key value from the supplied custom field name
         my $field_key = undef;
         if ( defined $customFieldsMgr->field ) {
              foreach (@{$customFieldsMgr->field}) {
                   if ( $_->name eq $custom_field ) {
                        $field_key = $_->key;
                   }
              }
         }
    
         unless ( defined $field_key ) {
              die "No custom field named '$custom_field' found.\n";
         }
    
         my ($value, $key);
         foreach ( @{$vm_view->summary->customValue} ) {
              $key = $_->key;
              $value = $_->value;
    
              if ( $key eq $field_key ) {
                   print "Virtual Machine: $vm_name\n";
                   print "   $custom_field = $value\n";
              }
         }
    }
    
    Util::disconnect();
    

    Edit: Find the comment to remove a front backslack the ' [' character, the forum mangles it if I do not here.]

  • This will remove all your custom settings and the settings of many extensions.

    Hello

    I was reading this article of knowledge and he says:
    "This will delete all your custom settings and many extensions settings."
    What are the custom settings?

    for example one of these and what else
    bookmarks?
    Add - ons?
    Top toolbar - Customize the toolbar
    Add on the toolbar
    Firefox/preferences
    Authorization Manager settings
    the new page open

    Corrupted preference file
    File preferences may be corrupt, Firefox prevents writing to it. If you delete this file, Firefox will automatically create another when it comes to.

    Here's how to delete the prefs.js file.

    This will remove all your custom settings and the settings of many extensions.
    Open your profile folder:

    In the menu bar, click the Help menu and select troubleshooting information. The troubleshooting information tab will open.

    In the section the Application databases, click view in the Finder. It will open a window with the folder of your profile.
    Note: If you are unable to open or use Firefox, follow the instructions for finding your profile without having to open Firefox.

    In the menu bar, click Firefox and select Quit Firefox

    Locate the prefs.js file (and, if applicable, the prefs.js.moztmp file).
    Delete these files and files prefs - n.js where n is a number (e.g. prefs - 2.js).
    If there is, remove the Invalidprefs.js.
    Restart Firefox. You should now have reset all preferences.

    Based on information from preferences not saved (mozillaZine KB)

    See also http://kb.mozillazine.org/Profile_folder_-_Firefox

    #1: there are too many pref for all kinds of adjustment which will offer a recipe of what you lose and how to keep certain parameters.
    It is possible to copy specific lines of a prefs.js to this file in another profile or restore some settings after deleting this file in the current profile folder.

    All the prefs that show as a user defined and appear in bold on the topic: config page are stored in the prefs.js file.

    This includes the changes you make and data Firefox itself and extensions store as data/parameters in a pref.
    It's

    #2,3: the localstore.rdf file stores the toolbar configuration and other data.

    #4: the current versions of Firefox shows the menu entry "Tabs" at the top menu ' display > toolbars "and" Firefox > Options ' and in the menus toolbar pop-up if the tabs are not in the default position on the top.

    If the notches located on the top and the menu entry is not available and you want to move the tabs under the navigation toolbar, then you have to toggle the pref browser.tabs.onTop false on the subject: config page.

    A restart of Firefox is necessary for updating the menu entry to display or remove.

    Note that this pref will no longer effect when the code Australis lands on the output channel (code Australis will probably land in Firefox 29).

    #5: see https://support.mozilla.org/kb/Clear+Recent+History

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, pop-ups, installing the software, stored passwords in permissions.sqlite and other site specific data stored in content - prefs.sqlite (including zoom on the page).

    Deletion of cookies will delete all specified (selected) cookies, including cookies with an exception allowing you want to keep.

    #6,7: history of search bar is the story of the search bar (Google) on the Navigation toolbar.

    All recorded data to a form on a web page is included in the data in the form, but you can not separate and distinguish the two.

    Browsing history is the history of the web pages you have visited.

    #8: session cookies are always kept in memory and never stored on the disc in cookies.sqlite

    You can only delete specific cookies manually in the Cookie Manager or leave cookies expire when you close Firefox to make them behave like session cookies.

    Cookies of other compensation will include all cookies and don't obey the exceptions that you have made.

    #9
    Data stored in storage DOM is not stored in cookies.sqlite, but it is generally stored in the webappsstore.sqlite file or possibly in the form of data in IndexedDB.

  • Download picture of URL link and store the Image in a Local folder in BB10 Webworks

    Hello

    I want to download the image of URL link and store the image in a local folder in Webworks BB10.
    But I did not get the code for this.

    If such knowledge code or have any solution then please help me...

    Thank you best regards &,.

    Laurent Subudhi

    NitishSubudhi wrote:
    I go through this code... but it is throwing the exception. That is to say "ReferenceError: Webworks is undefined '." "

    According to the device/operating system, you need to add the extension of your installation of WebWorks as explained here for OS SmartPhone BB or PlayBook OS.

    To use read the samples provided, they must work somehow. When I worked with the extension on PlayBook I only copy + pasted the provided source code and changed the attributes for the function call:

    // You need to define "remotePath", "localPath", "onProgress", "onError", "options" like shown in documentationblackberry.io.fileTransfer.downloadFile(remotePath, localPath, onProgress, onError, options);
    

    For OS SmartPhone BB the function call looks like this:

    // You need to define "options" like shown in documentationwebworks.io.FileDownloader.download(options);
    

    All think that all information provide here, try to follow and cela should operate.

  • Refresh ListField and store multiple entries

    I'm having a problem trying to get my program to save the information. I recently ended show him an entry but I don't think that im doing something because it shows just the same entry over and over again.

    Im trying to to save all fees in the form of spending and then display them in the WelcomeScreen listbox. I'll include the store file, welcomeScreen and booking fees.

    What would be the best way to store this information and display them in the listfield? Also when you return to the WelcomeScreen how can I have the update so the listfield is updated?

    WelcomeScreen:

    package moneyMasterApp;
    
    import java.util.Vector;
    
    import net.rim.device.api.system.*;
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.ui.decor.*;
    
    public class WelcomeScreen extends UiApplication implements StoreResource {
        //Declare Variables
        //create a button here with the text 'Submit!'
            //ButtonField.CONSUME_CLICK will prevent the Menu from showing up when the user clicks the button.
            ButtonField btnDeposit = new ButtonField("Deposit", Field.FIELD_HCENTER | ButtonField.CONSUME_CLICK);
            ButtonField btnExpense = new ButtonField("Expense", Field.FIELD_HCENTER | ButtonField.CONSUME_CLICK);
            UiApplication nxtscreen = UiApplication.getUiApplication();
            HorizontalFieldManager _FieldManagerTop;
            LabelField myTitleLabel;
            BitmapField bitpam = new BitmapField();
            Background bg;
            LabelField label = new LabelField("Please Select Action:");
            FieldListener listener = new FieldListener();
            private static Vector _data;
            private static PersistentObject store;
            private ListField ExpenseList = new ListField();
    
        public static void main(String[] arg) {
            WelcomeScreen app = new WelcomeScreen();
            app.enterEventDispatcher();
        }
    
        public WelcomeScreen() {
            MainScreen mainScreen = new MoneyMakerMainScreen();
            //Set the title of the screen
            mainScreen.setTitle("MoneyMaster");
            //Add labels and other items
            _FieldManagerTop = new HorizontalFieldManager(Manager.HORIZONTAL_SCROLL);
            myTitleLabel = new LabelField("MoneyMaster");
            bitpam = new BitmapField();
            bitpam.setBitmap(Bitmap.getBitmapResource("bbicon.png"));
            _FieldManagerTop.add(myTitleLabel);
            _FieldManagerTop.add(bitpam);
            bg = BackgroundFactory.createLinearGradientBackground(0x2ebaeb, 0x2ebaeb, 0x7cbaed, 0x7cbaed);
            mainScreen.getMainManager().setBackground(bg);
    
            synchronized(store) {
                Vector _data = (Vector) store.getContents();
                int count = _data.size();
                ExpenseList.setEmptyString("Nothing", DrawStyle.LEFT);
                ExpenseList.setSize(count);
            }
    
            ExpenseList.setCallback(new ExpenseListCallback());
    
            //Add objects to screen
            mainScreen.add(_FieldManagerTop);
            mainScreen.add(label);
            mainScreen.add(new SeparatorField());
            btnDeposit.setChangeListener(listener);
            btnExpense.setChangeListener(listener);
            mainScreen.add(btnDeposit);
            mainScreen.add(btnExpense);
            mainScreen.add(new SeparatorField());
            mainScreen.add(ExpenseList);
            pushScreen(mainScreen);
    
        }
    
        static {
            //Retrieve a reference to a persistent object
            //and set its contents to a new new vector if it is empty
            store = PersistentStore.getPersistentObject(0xe69c43e620187619L);
            //Hash of: "TechStormSolutions.MoneyMaster.Application"
            synchronized(store) {
                if (store.getContents() == null) {
                    store.setContents(new Vector());
                    store.commit();
                }
            }
            //retrieve the contents of the PersistentObject
            //and store in a Vector
            _data = new Vector();
            _data = (Vector)store.getContents();
        }
    
        private final class MoneyMakerMainScreen extends MainScreen {
            protected void makeMenu (Menu menu, int instance) {
                menu.add(deposit);
                menu.add(expense);
                super.makeMenu(menu, instance);
            }
    
            public void close() {
                Dialog.alert("Closing Application");
                super.close();
            }
        }
    
        private MenuItem deposit = new MenuItem("Deposit", 1, 100) {
            public void run() {
                UiApplication.getUiApplication().pushScreen(new depositForm());
            }
        };
        private MenuItem expense = new MenuItem("Expense", 2, 101) {
            public void run() {
                UiApplication.getUiApplication().pushScreen(new expenseForm());
            }
        };
    
        class FieldListener implements FieldChangeListener {
    
            public void fieldChanged(Field f, int context) {
                //if the deposit button is clicked
                if (f==btnDeposit) {
                    UiApplication.getUiApplication().pushScreen(new depositForm());
                };
                if (f==btnExpense) {
                    UiApplication.getUiApplication().pushScreen(new expenseForm());
                }
            }
    
        }
    
        final class ExpenseListCallback implements ListFieldCallback {
    
            public void drawListRow(ListField list, Graphics g,
                    int index, int y, int w) {
                int count = _data.size();
    
                synchronized(store) {
                    Vector _data = (Vector) store.getContents();
                    if (!_data.isEmpty()) {
                        String[] ExpList = new String[count];
                        for (int i = 0; i < count; ++i) {
                            StoreInitial info = (StoreInitial) _data.elementAt(i);
                            ExpList[i] = info.getElement(StoreInitial.AMOUNT);
                        }
    
                        g.drawText(ExpList[0], 0,y,0,w);
                    }
                }
    
            }
    
            public Object get(ListField listField, int index) {
                return null;
            }
    
            public int getPreferredWidth(ListField listField) {
                return Display.getWidth();
            }
    
            public int indexOfList(ListField listField, String prefix, int start) {
                return listField.indexOfList(prefix, start);
            }
    
        }
    }
    

    In my listcallback I had to change that loop and out so that the index was the counter.

    synchronized(store) {
                    Vector _data = (Vector) store.getContents();
                    if (!_data.isEmpty()) {
                        String[] ExpList = new String[index];
                        StoreInitial info = (StoreInitial) _data.elementAt(i);
                        g.drawText(info.getElement(StoreInitial.AMOUNT), 0,y,DrawStyle.RIGHT,w);
                    }
                }
    
  • Custom attribute in the patch ACS4.2 17

    I have an optional custom attribute in my ACS group to pass on ACE config mode: shell: Admin * Admin by default-field

    Privilege level 15 is also part of the configuration of the exec.

    Recently I applied the patch 17 on ACS 4.2 (0) build 124. Since then I can not connect with the level of privilege 15 in IOS routers/switches.

    Looks like IOS box considers this attribute custom as a mandatory now.

    ---------------------------------------------------------------------------------------------------

    Debugging IOS (Cat6500, 12.2 (33) SXJ4):

    May 27, 13:23:56.819: MORE: application created for 61929 (pehruby)

    May 27, 13:23:56.819: MORE: previously set server group Ganymede 10.105.24.44 +.

    May 27, 13:23:56.819: HIGHER (0000F1E9) / 550052 A-4/NB_WAIT/0: started 5 sec timeout

    May 27, 13:23:56.819: HIGHER (0000F1E9) / 0/NB_WAIT: made event 2

    May 27, 13:23:56.819: HIGHER (0000F1E9) / 0/NB_WAIT: 62 bytes written requests

    May 27, 13:23:56.819: HIGHER (0000F1E9) / 0/READING: made event 1

    May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: would block during playback

    May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: made event 1

    May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: read all 12 byte header (wait for data 51 bytes)

    May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: made event 1

    May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: read all the answer 63 bytes

    May 27, 13:23:56.823: HIGHER (0000F1E9) / 0 / 550052 A 4: the package of treatment response

    May 27, 13:23:56.823: MORE: handled AV priv-lvl = 15

    May 27, 13:23:56.823: MORE: could not decode a unknown AV hull: FAIL

    May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/REQ_WAIT / 550052 A 4: expired

    May 27, 13:23:56.823: MORE: Protocol is set to None. Jump

    May 27, 13:23:56.823: MORE: AV = shell shipping service

    May 27, 13:23:56.823: MORE: sending AV cmd *.

    ACS TCS.log (different time, same attempt):

    TC 27/05/2013 11:59:39 I 0043 5088 0 X 15< packet="" to="" client:10.106.11.114="" type:author/pass_add,="" seq="" 2,="" flags="">

    TC 27/05/2013 11:59:39 I 0043 5088 0 X 15 SESSIONID-998342923 (0XC47E7EF5), DATALEN 51 (0 X 33)

    TC 27/05/2013 11:59:39 type I 0043 5088 0 x 15 = AUTHOR/RESPONSE status = 1 (AUTHOR/PASS_ADD)

    TC 27/05/2013 11:59:39 I 0043 5088 0 x 15 msg_len = 0, data_len = 0 arg_cnt = 2

    TC 27/05/2013 11:59:39 I 0043 5088 0 x 15 size arg [0] = 11 = priv-lvl = 15

    TC 27/05/2013 11:59:39 I 0043 5088 0 x 15 size arg [1] = 32 = shell: Admin * Admin by default-field

    TC 27/05/2013 11:59:39 I 0043 5088 0 x 15 end >

    ------------------------------------------------------------------------------------------------------------------------

    Debugging IOS (C1841, 12.3 (14) T7):

    May 30, 12:21:58.248: AAA/BIND(00000A52): link i / f

    12:21:58.272 30 may: AAA/AUTHOR (0xA52): list of selection method "acs."

    12:21:58.272 30 may: MORE: AAA Queuing 2642 authorization for treatment

    12:21:58.272 30 may: HIGHER: processing of the application for authorization id 2642

    12:21:58.272 30 may: MORE: Protocol is set to None. Jump

    12:21:58.276 30 may: MORE: AV = shell shipping service

    12:21:58.276 30 may: MORE: sending AV cmd *.

    12:21:58.276 30 may: MORE: application created for 2642 (ph)

    12:21:58.276 30 may: MORE: previously set server group Ganymede 10.105.24.44 +.

    12:21:58.276 30 may: HIGHER (A 00000, 52) / 656FB000/NB_WAIT/0: started 5 sec timeout

    12:21:58.276 30 may: HIGHER (A 00000, 52) / 0/NB_WAIT: made event 2

    12:21:58.276 30 may: HIGHER (A 00000, 52) / 0/NB_WAIT: 59 bytes written requests

    12:21:58.276 30 may: HIGHER (A 00000, 52) / 0/READING: made event 1

    12:21:58.276 30 may: HIGHER (A 00000, 52) / 0/READING: would block during playback

    12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/READING: made event 1

    12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/READING: read all 12 byte header (wait for data 51 bytes)

    12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/READING: made event 1

    12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/READING: read all the answer 63 bytes

    12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/656FB000: the package of treatment response

    12:21:58.280 30 may: MORE: handled AV priv-lvl = 15

    12:21:58.280 30 may: MORE: could not decode AV shell: Admin * Admin by default-field - PASS - PASS

    May 30, 12:21:58.284: AAA/AUTHOR/EXEC(00000A52): AV cmd = treatment

    May 30, 12:21:58.284: AAA/AUTHOR/EXEC(00000A52): successful authorization

    ACS.log:

    TC 30/05/2013 12:21:58 I 0043 1280 0 X 0< received="" from="" client:10.106.0.50="" type="AUTHOR," seq="1," flags="">

    TC 30/05/2013 12:21:58 I 0043 1280 SESSIONID 0 X 0 1990425999 (0X76A37D8F), DATALEN 47 (0X2F)

    TC 30/05/2013 12:21:58 I 0043 1280 type 0 x 0 = AUTHOR, priv_lvl = 1, authentic = 1

    TC 30/05/2013 12:21:58 I 0043 1280 0 x 0 METHOD = Ganymede +.

    TC 30/05/2013 12:21:58 I 0043 1280 SVC 0 X 0 = 1 USER_LEN = 2 PORT_LEN = 6 REM_ADDR_LEN = 12 ARG_CNT = 2

    TC 30/05/2013 12:21:58 I 0043 1280 0 x 0 USER = ph

    TC 30/05/2013 12:21:58 I 0043 1280 PORT 0 x 0 = tty195

    TC 30/05/2013 12:21:58 I 0043 1280 0 X 0 = 10.106.33.22 REM_ADDR

    TC 30/05/2013 12:21:58 I 0043 1280 0 x 0 arg [0](size=13) = service = shell

    TC 30/05/2013 12:21:58 I 0043 1280 0 x 0 arg [1](size=4) = cmd *.

    TC 30/05/2013 12:21:58 I 0043 1280 0 X 0 END >

    TC 30/05/2013 12:21:58 I 0850 3244 1 allocated connection wire work unique 0xf

    TC 30/05/2013 12:21:58 I 0143 3244 0xf author data: phtty19510.106.33.22service = shellcmd. = 13362timezone = MEZservi

    TC 30/05/2013 12:21:58 I 0163 3244 0xf - excerpts from the info service

    TC 30/05/2013 12:21:58 I have 0189 3244 0xf - Checked NARs

    TC 30/05/2013 12:21:58 I 0199 3244 0xf - implemented Reqs:

    TC 30/05/2013 12:21:58 I 0209 3244 0xf - a profile

    TC 30/05/2013 12:21:58 I 0261 3244 0xf - executed

    TC 30/05/2013 12:21:58 I 0263 3244 0xf - set of controls done clean

    TC 30/05/2013 12:21:58 I 0265 3244 0xf - version NDG provided

    TC 30/05/2013 12:21:58 I 0043 3244 0XF< packet="" to="" client:10.106.0.50="" type:author/pass_add,="" seq="" 2,="" flags="">

    TC 30/05/2013 12:21:58 I 0043 3244 SESSIONID 0XF 1990425999 (0X76A37D8F), DATALEN 51 (0 X 33)

    TC 30/05/2013 12:21:58 I 0043 3244 0xf type = AUTHOR/RESPONSE status = 1 (AUTHOR/PASS_ADD)

    TC 30/05/2013 12:21:58 I 0043 3244 0xf msg_len = 0, data_len = 0 arg_cnt = 2

    TC 30/05/2013 12:21:58 I 0043 3244 0xf arg [0] size = 11 = priv-lvl = 15

    TC 30/05/2013 12:21:58 I 0043 3244 0xf arg [1] = 32 = shell size: Admin * Admin by default-field

    TC 30/05/2013 12:21:58 I 0043 3244 0xf end >

    PuTTY session:

    Connect as: ph

    [email protected]/ * / password:<------ (10.106.0.16="" and="" 10.106.0.50="" are="" ip="" addresses="" of="" the="" same="">

    1841_hra_lab >

    1841_hra_lab ><------ i'm="" not="" in="" enable="" mode="" (priv.level="">

    --------------------------------------------------------------------------------------------------------------------

    Unfortunalety I don't have newspapers/debug of the period before the update, when everything was ok.

    I guess that the problem is somewhere in this argument that goes from the ACS to the customer:

    TC 30/05/2013 12:21:58 I 0043 3244 0xf arg [1] = 32 = shell size: Admin * Admin by default-field

    Can someone tell me how this argument with the option setting should look like?

    Maybe * shell: Admin * Admin by default-field?

    Petr

    Hi Peter,

    You are using in a default.

    CSCth75577    ACS incorrectly sends optional custom attributes GANYMEDE +.

    Symptom:

    Authorization GANYMEDE + IOS fails if client attributes (even as an option) are configured on the ACS user group.  The connection will work, but the attributes passed will be not honored.

    Conditions:

    ACS 4.2.0.124 patch 16

    ACS 4.2.1.15 patch 2

    Workaround solution:

    Return to a previous fix ACS.

    This problem has been fixed in

    ACS 4.2.1.15 patch 3 or later.

    Upgrade of the ACS to 4.2.1.15 and apply the latest patch 10.

    Jatin kone
    -Does the rate of useful messages-

  • Parsing xml and store the details in the hierarchical tables

    Hi all

    I'm trying to parse a xml code and store the details in the hierarchical tables, however, I am unable to analyze the child attributes of tags and store the details in relational format.

    Oracle - 11.2.0.4 version

    My XML looks like in below:

    <Root>
    <ParentTag name="JobName" attrib1="Text" attrib2="SomeOtherText">
      <ChildTag childAttrib1="SomeValue1" childAttrib2="SomeValue2" />
      <ChildTag childAttrib1="SomeValue3" childAttrib2="SomeValue4" />
      <ChildTag childAttrib1="SomeValue5" childAttrib2="SomeValue6" />
    
      <OtherChildTag childAttrib1="SomeValue1" childAttrib2="SomeValue2" />
    </ParentTag>
    </Root>
    
    

    The table structure is as follows:

    create the table parent_details
    (
    job_id number primary key,
    VARCHAR2 (100) job_name,.
    job_attrib1 varchar2 (100),
    job_attrib2 varchar2 (100)
    );

    create the table child_details
    (
    child_id number primary key,
    number of parent_job_id
    child_attrib1 varchar2 (100),
    child_attrib2 varchar2 (100),
    Constraint fk_child_details foreign key (parent_job_id) refers to parent_details (job_id)
    );

    After analysis, I would expect the data to be stored in the format below:

    Table Name:-
    parent_details
    ID Name     Attribute1  Attribute2
    1  JobName  Text        SomeOtherText
    
    
    ChildTable (Store Child Tag details)
    ID Parent ID Attribute1  Attribute2
    1  1         SomeValue1  SomeValue2
    2  1         SomeValue3  SomeValue4
    3  1         SomeValue5  SomeValue6
    
    

    I tried following SQL, but it does not work. Please suggest if the same SQL can be improved to get the details in the expected format or should I use another solution.

    select job_details.*
      from test_xml_table t,
           xmltable ('/Root/ParentTag'
                      passing t.col 
                      columns 
                        job_name varchar2(2000) path '@name',
                        attribute1 varchar2(2000) path '@attrib1',
                        attribute2 varchar2(2000) path '@attrib2',
                        childAttribute1 varchar2(2000) path '/ChildTag/@childAttrib1'
                    ) job_details;
    

    I'm not forced to have a SQL solution, but would if it can be in SQL.

    Kind regards

    Laureline.

    Post edited by: Jen K - added the SQL, I tried to build.

    Well, the XML contains hierarchical data, and SQL is a "dish" of data, so it's up to you to treat lines that are coming out of the flat style and determine how to get that in separate tables.

    Suppose that we have several nodes of ParentTag each containing several nodes of ChildTag...

    SQL > ed
    A written file afiedt.buf

    1 with t (xml) as (select xmltype ('))
    2
    3
    4
    5
    6
    7

    8
    9
    10
    11
    12

    13
    ') of double)
    14-
    15 end of test data
    16-
    17 select x.p
    18, x.name, x.attrib1, x.attrib2
    19, including
    20, y.childattrib1, y.childattrib2
    21 t
    22, xmltable ('/ Root/ParentTag ')
    23 passage t.xml
    p 24 columns for ordinalite
    25, path name varchar2 (10) '. / @name'
    26, path of varchar2 (10) of attrib1 '. / @attrib1 '


    27, way to varchar2 (10) of attrib2 '. / @attrib2 '
    28 children xmltype road '.'
    29                 ) x
    30, xmltable ('/ ParentTag/ChildTag ')
    passage 31 x.children
    c 32 columns for ordinalite
    33, path of varchar2 (10) of childattrib1 '. / @childAttrib1 '
    34 road of varchar2 (10) of childattrib2 '. / @childAttrib2 '
    35*                ) y
    SQL > /.

    P NAME ATTRIB1 ATTRIB2 C CHILDATTRI CHILDATTRI
    ---------- ---------- ---------- ---------- ---------- ---------- ----------
    1 text JobName SomeOtherT 1 SomeValue1 value2
    1 text JobName SomeOtherT 2 SomeValue3 SomeValue4
    1 text JobName SomeOtherT 3 SomeValue5 SomeValue6
    JobName2 TextX SomeOtherT 1 SomeValue6 SomeValue8 2
    JobName2 TextX SomeOtherT 2 SomeValue7 SomeValue9 2

    Using the 'ordinalite' gives us the line number for this node in the XML file, so that you can identify each parent as well as to say who is the first record of this parent (because it will have a child with the ordinalite 1).

    An INSERT ALL tuition assistance we can insert into two different tables at the same time to keep related data... for example

    SQL > create table tbl1 (pk number, name varchar2 (10), attrib1 varchar2 (10), attrib2 varchar2 (10))
    2.

    Table created.

    SQL > create table tbl2 (parent_pk number, attrib1 varchar2 (10), attrib2 varchar2 (10))
    2.

    Table created.

    SQL > insert all
    2 when c = 1 then
    3 in the tbl1 (pk, attrib1, attrib2)
    4 values (p, attrib1, attrib2)
    When 5 1 = 1 then
    6 in the tbl2 (parent_pk, attrib1, attrib2)
    7 values (p, childattrib1, childattrib2)
    8 with t (xml) as (select xmltype ('))
    9
    10
    11
    12
    13
    14

    15
    16
    17
    18
    19

    20
    ') of double)
    21 select x.p
    22, x.name, x.attrib1, x.attrib2
    23, including
    24, y.childattrib1, y.childattrib2
    25 t
    26, xmltable ('/ Root/ParentTag ')
    27 passage t.xml
    p 28 columns for ordinalite
    29, path name varchar2 (10) '. / @name'
    30, path of varchar2 (10) of attrib1 '. / @attrib1 '
    31, path of varchar2 (10) of attrib2 '. / @attrib2 '
    32 children xmltype road '.'
    33                 ) x
    34, xmltable ('/ ParentTag/ChildTag ')
    passage 35 x.children
    c 36 columns for ordinalite
    37, path of varchar2 (10) of childattrib1 '. / @childAttrib1 '
    38, path of varchar2 (10) of childattrib2 '. / @childAttrib2 '
    39                 ) y
    40.

    7 lines were created.

    SQL > select * from tbl1;

    PK ATTRIB1 ATTRIB2 NAME
    ---------- ---------- ---------- ----------
    1 text JobName SomeOtherT
    2 JobName2 TextX SomeOtherT

    SQL > select * from tbl2.

    PARENT_PK ATTRIB1 ATTRIB2
    ---------- ---------- ----------
    1 SomeValue1 value2
    1 SomeValue3 SomeValue4
    1 SomeValue5 SomeValue6
    SomeValue6 2 SomeValue8
    SomeValue7 2 SomeValue9

Maybe you are looking for

  • In watch OS 3, by turning the Crown does not appear past/future events/time

    In previous versions of watchOS, turning the Crown while on the dial of the watch changed the time and showed the complication for both values changed.  For example, by turning the Crown can show time as one hour in the future and would show the temp

  • Connection to the server. Why 2?

    I had issues with a new Synology NAS and I believe that I made a mistake when you configure. I tried for several days to make a Time Machine backup without success. Today, I noticed that the Synology is accessible by at least 2 channels - 1 is the af

  • The function in my Satellite C660 key does not work

    The function in my Toshiba Satellite C660 key does not work except volume.This problem appeared after I changed something in startup and programs uninstall that I can remember pvat and no support of the button appears in my programs startup :(

  • possible virus?

    I get a pop-up message on my iPad that says "can I have adware/spyware virus" and told me to call + 1-866-933-5490. What is c?

  • How can I install sp3

    I download, but when I try to intall it I get a message that the compu cannot back up and I I to it give up because I have no other choice