API notifications

I am looking for a way to receive notifications to calculate vcloud, in particular, I am interested in the actions of the lifecycle VM as powerOn, powerOff, etc. The way in which this could be done by listening vCloud RabbitMQ for notifications, but I am struggling with the verification of the AmqpSettings. Documentation describe the way how to retrieve the parameters - vCloud Air Documentation Center, but I always get a 403 error. Looks like it is because it requires the system administrator privilege.

Can you please clarify is it possible to connect to vCloud RabbitMQ to listen to notifications to calculate? If possible - how to find the settings, if not - is there an another way to receive notifications to calculate vcloud?

Hey Oleg. As you pointed out these features are only available to admins of cloud vCD and only had a vCA vCD OrgAdmin-ish visibiity tenant.

On the top of my head, I can't think of a way tenant vCD can trap and warned by these events. Sounds like a use case is legitimate. I'll pass through our PMs.

I'll post here if something you can configure to get there (can't think of any option now).

Thank you.

Tags: VMware

Similar Questions

  • BB10 - personalization of Push Notification

    Hi all. Recently, we test an app with our client. The application will receive push notification when there is new claim being created so that the user can be notified and then they can approve/reject the claim.

    When comes the push, there is asterisk on the app, reduced app icon and also a message will be sent to the hub. But the feedback from users during the tests, they prefer to be

    1. have the asterisk on the app icon / minimized app but do not have the message sent to the Hub

    2. If a user clicks on a message to display in the hub, it will remove the message current and later in the hub

    Is it possible to do?

    For no 1, I tried not to call Notification in app.textConversionCallback, so there is no message in the hub, but that stop the asterisk appears on the application icon.

    app.parsePayload = function (){
        try{
            if (app.pushService !== null){
                var pushPayload = app.pushService.extractPushPayload(app.onInvokedInfo);
                app.blobToText(pushPayload.data, "UTF-8", app.textConversionCallback);
                app.onInvokedInfo = null;
            }
        } catch (err) {
         alert("Was unable to parse the invoke request.");
      }
    };
    
    app.blobToText = function (blob, encoding, callback) {
        var reader = new FileReader();
        reader.onload = function(evt) {
            // No errors, get the result and call the callback
            callback(evt.target.result);
        };
    
        reader.onerror = function(evt) {
            app.debug("Error converting Blob to string: " + evt.target.error);
        };
        reader.readAsText(blob, encoding);
    };
    
    app.textConversionCallback = function(str) {
        //try to disable this but push is not working
        //notify.hub(str);
    };
    
    var notify = {};
    
    // Add a notification in the Hub
    notify.hub = function(str) {
      var mclaim = JSON.parse(str)
      {
        if(mclaim.empno)
        {
          var pushCount = parseInt(mclaim.workqcnt);
          if((pushCount > 0) && (pushCount > 1))
          {
            var title = "Pending Claims Notification";
            var isAre = "are";
            var claim = "claims";
          }
          if((pushCount > 0) && (pushCount == 1))
          {
            var title = "Pending Claim Notification";
            var isAre = "is";
            var claim = "claim";
          }
          var content = "There "+isAre+" "+parseInt(pushCount)+" "+claim+" pending for approval.";
          new Notification(title, {body: content});
        }
      }
    };
    

    Regarding No 2, is there a function perform the delete action?

    All advice or suggestion will be greatly appreciated.

    Update on the app icon is directly related to the Notification of the HTML5; It is impossible to trigger the icon unless you use the Notification of HTML5.

    You may write an extension to access the following Native API to set the badge (i.e. the Update icon) to the application:
    https://developer.BlackBerry.com/native/reference/core/com.QNX.doc.bps.lib_ref/com.QNX.doc.bps.lib_r...

    To remove the notifications in the Hub, you can either:
    (1) create all HTML5 Notifications with the same tag; This will force a notification never exist in the hub, with the most recent notification overwriting previous reviews; or
    (2) keep track of all active notification tags and delete is used to remove unwanted notifications.
    https://developer.BlackBerry.com/HTML5/APIs/notification.html#.Remove

  • Badge notification (Red Star) on the home screen

    I have indicators of demand down. I also went through the demo API notifications, but I don't see how to get the Red badge/star appears on my application icon when a new notification arrives.

    I want to show him even if the application is located in a folder. How can I go about it?

    We use two icons - the one with the Red Star, the other without.

    The application uses Homescreen.updateIcon () to change the icon when notifications are pending.

  • The XLA API retrieves read operations (Select statements)?

    Hi all

    Firstly, I'm writing a request for implementation of the scheme of replication on databases TimesTen installed on servers that are distributed over several nodes, the application uses the API of XLA for monitors & retrieves changes apply on database TimesTen to a node, then propagates the changes to other nodes.

    The application must also propagate the transaction to read for some cases. If the XLA API doesn't get read operations? OTHERWISE, there are solutions to this situation?

    Thanks & BR

    Maher
    Software engineer

    No, XLA doesn't read operations. XLA is an API 'notification of change '. TimesTen has not any functgionality to allow you to 'hang' selects performed by another connection, sorry.

    Chris

  • How do you write messages in the hub?

    A notification icon at the top works for most use cases, but if we receive messages via our application, how do ensure us than those appearing in the hub, as well as all the other messages?

    In fact, PIM: e-mail is e-mail CRUD.

    I have just re-read the BB10 notifications what API and its description say it will do just what I asked questions on:

    "The Notification API allows you to create an object of the notification in the universal inbox for BlackBerry 10."

    https://developer.BlackBerry.com/HTML5/APIs/notification.html

    I got confused because it works differently on the PLayBook. I guess the hub is then responsible for adding an icon at the top, then on the home screen icon.

  • Implementation of the Classes of consequence

    All,

    I have some doubts regarding implementing the interfaces net.rim.device.api.notification.Consequence and net.rim.device.api.synchronization.SyncConverter on OS 5.0 +.

    Only two methods that I understand where startNotification and stopNotification, really.

    The doubts are:

    -What is the convert (DataBuffer, int, int) method supposed to do? Today I returns an instance of a new class of "Configuration" I created that implements Persistable and SyncObject, if I understand it needed. This object returns a different UID each time it is called.

    -What is the method convert (SyncObject, buffer, version) supposed to do? Today, I return a fixed value.

    -How is the newConfiguration (long, long, byte, int, object) method supposed to be implemented? Today I just return an instance of the same 'Configuration' new category I created.

    Any help on this is appreciated, as very little is said in the docs.

    Thanks in advance.

    Here are the methods for serialization and deserialization, which means that you need to convert your Java objects to a stream of bytes and a stream of bytes into Java objects.

    The version number is specific to your application so that he knows the format of the data.  This allows the version 2 of your application to restore data from a backup of the version 1 of your application (assuming that the format of your bytestream changed between versions).

    Take a look at the NotificationsDemo provided with the BlackBerry SDK in Java for an example of creating a custom notification (and use the interface of consequence).

  • NotificationsManager.triggerImmediateEvent doesn't care profile?

    Hello

    I add notification capabilities to our application.  Because all UI interactions are managed within the application itself, I decided to go with triggerImmediateEvent / cancelImmediateEvent suite in NotificationsManager.

    What surprised me, this are just my difference caused the LED flashes red, but has not invoked noises / vibrations.  Is this expected behavior?

    I know that I can do on my own (Alert.startAudio/startMIDI/startVibrate), but I want to respect the current user profile.  Once again, 4.7 and offers NotificationsManager.isVibrateOnly (), but I need to support some older phones as well.

    I even created a small application based on the Notifications Made Easy knowledge base article.  My version allows to cancel events and change the level of notification. Someone at - it care to take a look and see if I'm doing something wrong there?

    package com.samples.simpleNotification;
    
    import java.util.Hashtable;
    
    import net.rim.device.api.notification.NotificationsConstants;
    import net.rim.device.api.notification.NotificationsManager;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.MenuItem;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.component.ObjectChoiceField;
    import net.rim.device.api.ui.container.MainScreen;
    
    public final class SimpleNotification extends UiApplication
    {
        //The ID for the notification.
        private static final long ID = 0x749cb23a75c60e2dL;  //com.samples.simpleNotification
    
        //The toString value of this object will be displayed in the user's Profile settings.
        private static Object theSource = new Object()
        {
            public String toString()
            {
                return "Simple Notification";
            }
        };
    
        public static void main(String[] args)
        {
            if ( args.length > 0 && args[0].equals("gui") )
            {
                //Display the GUI.
                SimpleNotification theApp = new SimpleNotification();
                theApp.enterEventDispatcher();
            }
            else
            {
                //Register the notification.
    
                //Register the notification.
                NotificationsManager.registerSource(ID, theSource, NotificationsConstants.IMPORTANT);
            }
        }
    
        public SimpleNotification()
        {
            //A hash table with notification levels in String and integer forms
            final Hashtable notificationLevels = new Hashtable();
            notificationLevels.put("CASUAL", new Integer(NotificationsConstants.CASUAL));
            notificationLevels.put("IMPORTANT", new Integer(NotificationsConstants.IMPORTANT));
            notificationLevels.put("SENSITIVE", new Integer(NotificationsConstants.SENSITIVE));
            notificationLevels.put("CRITICAL", new Integer(NotificationsConstants.CRITICAL));
            notificationLevels.put("DEFAULT", new Integer(NotificationsConstants.DEFAULT_LEVEL));
    
            final String[] levels = new String[] { "CASUAL", "IMPORTANT", "SENSITIVE", "CRITICAL", "DEFAULT" };
    
            final ObjectChoiceField levelChoice = new ObjectChoiceField("Choose notification level: ", levels);
            FieldChangeListener levelListener = new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    String currChoice = levels[levelChoice.getSelectedIndex()];
                    int currLevel = ((Integer) notificationLevels.get(currChoice)).intValue();
                    NotificationsManager.deregisterSource(ID);
                    NotificationsManager.registerSource(ID, theSource, currLevel);
                    levelChoice.setDirty(false);
                }
            };
            levelChoice.setChangeListener(levelListener);
    
            //A MenuItem used to fire the event.
            MenuItem fireEvent = new MenuItem("Trigger Event", 10, 10)
            {
                public void run()
                {
                    NotificationsManager.triggerImmediateEvent(ID, 0, null, null);
                }
            };      
    
            MenuItem cancelEvent = new MenuItem("Cancel Event", 11, 11) {
                public void run() {
                    try {
                        NotificationsManager.cancelImmediateEvent(ID, 0, null, null);
                    } catch (Exception e) {
                        Dialog.inform(e.toString() + " trying to cancel event");
                    }
                }
            };
            MainScreen mainScreen = new MainScreen();
            mainScreen.add(levelChoice);
    
            mainScreen.addMenuItem(fireEvent);
            mainScreen.addMenuItem(cancelEvent);
    
            mainScreen.setTitle(new LabelField("Fire an Event From the Menu"));
            pushScreen(mainScreen);
        }
    }
    

    In fact, I found that the 'Top' and 'Medium' profile work on shelf - there is a noise. "Normal" and "Vibrate only" not - I had to manually 'Edit profile' and change the 'Simple Notification' profile so that they work.  It seems that the default values for profiles except 'Loud' and 'Medium' is not well defined...

  • How do I inform the user about the user specified time?

    NET. RIM. Device.API.notification package provides us with this installation, I tried and I put in place which properly same app is in the background.
    But now, I wanted to inform the user within the time specified on a daily basis.

    Any new idea related to this is welcome

    Hi @pranit03

    Check out the API RealtimeClockListener:

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/system/RealtimeClockListener.h...

    Hope that helps,

    E.

  • JDE 4.7 CAP question?

    I I have a problem with a JDE 4.7 code signing application and it seems that it is apparent to the CAP JDE 4.7 compiler.

    Basically I modified HelloWorld.java that comes with JDE 4.7 examples to add an API call control (see below for more details). Then, I compiled and generated the jad and jar files. After that, I used the following command line to generate the .cso, .csl and .cod files JDE 4.2 and 4.7 JDE environment respectively with exactly the same file jad and jar file:

    CAP import = net_rim_api.jar = HelloWorldSigning = HelloWorldSigning.jad HelloWorldSigning.jar jad codname

    However, I found that HelloWorldSigning.cso generated under 4.7 environment does not have entry "52525400 = RIM Runtime API" in it compared with that generated under environment 4.2. (The HelloWorldSigning.csl files are the same). As a result, the signed HelloWorldSigning.cod less 4.7 will get "attempts to access a secure API" error loading on devices of the storm, then the HelloWorldSigning.cod signed under 4.2 has no problem. If I manually fix the file cso by adding the missing entry under 4.7, it will solve the problem.

    No idea what's wrong with him?

    PS:

    HelloWorldSigning.csl under 4.2 and 4.7 as follows:

    52525400 = RIM API implementation

    HelloWorldSigning.cso less than 4.7:

    33000000 = RIMAPPSA2
    52424200 = RIM Blackberry Apps API
    52434300 = RIM API Crypto - Certicom
    52434900 = RIM Crypto API - internal
    52435200 = RIM API Crypto - RIM

    HelloWorldSigning.cso minus 4.2:

    3000000 = RIMAPPSA2
    52434300 = RIM API Crypto - Certicom
    52434900 = RIM Crypto API - internal
    52435200 = RIM API Crypto - RIM
    52525400 = RIM API implementation
    52424200 = RIM Blackberry Apps API

    Code source HelloWorld.java:
    /**
    *
    * HelloWorld.java
    * The sentinal sample!
    *
    * Copyright © 1998-2008 Research In Motion Ltd.
    *
    * Note: For simplicity, this sample application cannot operate
    * resource bundles and resource strings.  However, it is STRONGLY recommended
    * that make application developers use available location functions
    in the development platform BlackBerry to ensure uniform application
    * experience in a variety of languages and geographies.  For more information
    * on the location of your application, please refer to the BlackBerry Java Development
    * Environment Development Guide associated with this version.
    */

    package com.rim.samples.device.helloworlddemo;

    Import net.rim.device.api.notification.NotificationsConstants;
    Import net.rim.device.api.notification.NotificationsManager;
    Import net.rim.device.api.ui.UiApplication;
    Import net.rim.device.api.ui.container.MainScreen;
    Import net.rim.device.api.ui.Field;
    Import net.rim.device.api.ui.component.Dialog;
    Import net.rim.device.api.ui.component.LabelField;
    Import net.rim.device.api.ui.component.RichTextField;

    /*
    * BlackBerry applications that provide a user interface must extend
    * UiApplication.
    */
    class HelloWorldDemo extends UiApplication
    {
    /**
    * Entry point for application.
    */
    event object public final static = new Object() {}
    public String toString() {}
    return to "sing";
    }
    };
    Public Shared Sub main (String [] args)
    {
    Create a new instance of the application.
    NotificationsManager.registerSource (0x8f8c19257ffbb06fL, event, NotificationsConstants.CASUAL);
    PAP HelloWorldDemo = new HelloWorldDemo();
           
    To apply to enter the event thread and the beginning of message processing,
    We invoke the enterEventDispatcher() method.
    theApp.enterEventDispatcher ();
    }

    /**
    *

    The default constructor. All RIM user interface components creates and runs a push of the
    screen of the application root in the user interface stack.
    */
    HelloWorldDemo() private
    {
    Push the instance main screen user interface for rendering stack.
    pushScreen (new HelloWorldScreen());
    }
    }

    /**
    Create a new screen that covers the screen, which offers default standard
    * BlackBerry applications behavior.
    */
    / * package * final class HelloWorldScreen extends screen
    {

    /**
    * Manufacturer HelloWorldScreen.
    */
    HelloWorldScreen()
    {
    Add a field to the title area of the screen. We use a simple LabelField
    here. the SELECTION option truncates the text of the label with «...» "If the text
    It is too long for the space available.
    LabelField title = new LabelField ("Hello World Demo", LabelField.ELLIPSIS |) LabelField.USE_ALL_WIDTH);
    setTitle (title);

    Add a text field read-only (RichTextField) on the screen.  The RichTextField
    is active by default.  In this case, we provide a style to make the field
    non-focusable.
    Add (new RichTextField ("Hello World!", Field.NON_FOCUSABLE));
    }

    /**
    * Show a dialog box to the user with "Goodbye!" when the application
    * is closed.
    *
    * @see net.rim.device.api.ui.Screen #close)
    */
    public void close()
    {
    Display a farewell message before closing the application.
    Dialog.Alert ("Goodbye!");
    System.Exit (0);
           
    Super.Close ();
    }
    }

    Mark Merci for the quick reply.

    I have added the work around my build script, it seems to works fine.

  • Background dialog App

    Hello. How to display an alert dialog box if my application is in the background? In addition, I don't want to use a dialog box unless my application is in the background.

    Thank you.

    brad51 wrote:

    my app has a timer set by the user. Surely, they want to know that the timer is complete.

    In fact, probably not with a modal dialog box.

    I suggest that you use some audio, they can disable or turn off in your application if you wish, in combination with the undocumented-and-yet-to-be-released API Notifications.  This is how people are going to wait and want your application to report, at least as much as the use of a modal dialog box.

    Do what you like, but I really believe that if you use the modal dialog box so that you will have a lot of uninstall.

  • Notification API?

    I was wondering if there is no API to trigger a broad system of notification for something like an instant message or like it?

    Thank you!

    Unfortunately, there is still no published notification API and we do not anticipate until sometime this summer. I asked Mike Kirkup on this subject during the day of Dev in Toronto and he said "it will not here to launch due to some limitations with invocation of your app when they click on the notification".

  • Profiles notification API

    I create an application that uses notifications.

    Under profiles > advanced > (select any profile) > edit, there are products like browser, MMS, calendar, phone, SMS...

    I would like to ask if I can add an article here for my application because I want the user to simply change the settings here. If I can, any advise what API should I use?

    Need help bad!

    OK - I understand your question, I think.

    Launch you your Notification, and the BlackBerry system plays tones and vibrates the phone, regardless of the user defined in the profile. You do not have it in your program.

    So you register your notice, then you fire NotificationsManager.triggerImmediateEvent () when you want the notification to happen.

    The BlackBerry fires sounds, either, according to the current settings for the active profile.

  • Telepresence - Join/leave Notifications Audio - API server

    Hello

    I'm looking for how to add notifications audio leave/join for STM publishers. I thought that this was added to version 4.3, but looking through the API guide I only see references to the more personalized.

    Anyone had any experience adding these notifications to the a model of the Conference?

    D.

    Currently join/leave audio notifications are not yet supported, but will be in the next version of telepresence 4.4 server should be out later this year.

  • Can I turn off notifications by e-mail of Echosign when you use the API

    Hello

    I am trying to create a personal widget using the EchoSign API and I noticed that EchoSign sends an e-mail to the user with the signed copy after that that they have signed.

    Is there a way I can disable all notifications by e-mail of EchoSign when you use the API?

    Please contact support, or the Manager of your success.

  • Send out notifications by using the API in r2

    guys,

    I want to send an e-mail notification using the api and unathenticated service in case of forgotten password.

    Please give me some code for this snippet.

    I don't think it's possible to send the notification by using service unauthenticated.

    To send notifications by e-mail, you need to connect to oimclient with a user id other wise notification can be sent.

Maybe you are looking for