Issue of custom resources AMPA

[JDev 12.1.3, MAF 2.2.0 AMPA 12.1.3.2.32]

http://www.Ateam-Oracle.com/a-team-mobile-persistence-Accelerator-release-12-1-3-2-now-available/

Custom resources medium?

By the foregoing, I created a custom in the screen 'Details of the resource' resource entry Wizard.

But while the information I've entered seems to be correctly filled as a customMethod in

persistence - mapping.xml, there is no custom method generated in my service class

(according to my GiT, this file was not affected at all by the Wizard).

Has anyone other that saw issue or whether there is a work around?

Thank you

Paul Young

Paul,

On the last page of the wizard, you can set generator options, one of them is a chedhkbox to regenerate the service class that is unchecked by default. Have you checked this box?

Steven Davelaar,

Oracle Mobile & Cloud A-team.

Tags: Oracle Mobile

Similar Questions

  • Not able to see the fields within a custom resources optimization

    Hi all

    I am not able to see the fields within a custom value.

    Here is my code for the custom resource optimization:

    public class CustomContentContainer extends VerticalFieldManager{
    
        String content_header;
        int container_height;
        int displayWidth = Display.getWidth();
        int displayHeight = Display.getHeight();
    
        public CustomContentContainer(String content_header,int height){
            super(Manager.NO_VERTICAL_SCROLL | Manager.NO_HORIZONTAL_SCROLL);
            this.content_header = content_header;
            container_height = displayHeight-height;
        }
    
        protected void sublayout(int maxWidth, int maxHeight) {
            super.sublayout(maxWidth, container_height);
            setExtent(maxWidth,container_height);
        };
    
        protected void paint(Graphics graphics)
        {
            int X_POS = 20;
            int Y_POS = 20;
    
            int width = displayWidth;
            int height=container_height;
            int[] xPts = {0, width, width, 0};
            int[] yPts = {0, 0, height, height};
            int[] colors = { 0xffffff, 0xf7f7f6, 0xd4d0cc, 0xb0a9a2 };
            graphics.drawShadedFilledPath(xPts, yPts, null, colors, null);
    
            graphics.setColor(0xc0c0c0);
            graphics.drawRoundRect(X_POS, Y_POS, getWidth()-40, container_height-40, 10,10);
    
            int stringWidth = getFont().getAdvance(content_header);
            graphics.setColor(0xF8F8F8);
    
            graphics.fillRect(35, 5, stringWidth+10, 30);
    
            graphics.setColor(0xFF0000);
            graphics.drawText(content_header, 40, 5);
        };
    
    }
    

    Here is the Code inside the class from the main screen

    settingsContainer = new CustomContentContainer("Settings",vodavaultLogo.getHeight());
            contentContainer = new VerticalFieldManager(Manager.VERTICAL_SCROLL|USE_ALL_WIDTH);
    
            passwd1 = new CustomEditField();
            passwd2 = new CustomEditField();
            contentContainer.add(passwd1);
            contentContainer.add(passwd2);
            contentContainer.setMargin(35,35,35,35);
    
            mainContainer.add(vodavaultLogoField);
            settingsContainer.add(contentContainer);
            mainContainer.add(settingsContainer);
            add(mainContainer);
    

    You must call the super.paint (.) in your paint (...) optimization of resources, if you paint all areas which are added.

  • Custom resource URL type

    I want to add to the Blackberry, a custom resource URL type. If your not sure what type of resource a URL that's the http:// part. I want to make a bkite: / / resources and hang and capture him and allow him to open a form in my Blackberry app. Does anyone know how to implement this?

    I think that this code works. I will just for filtering all host name.

  • Delete orphaned provisioned custom resources

    I have vRA Business groups configured as a custom resource. I had configured some business groups who created vRA resource custom items. I manually deleted business groups, which has left the vRA resource items personalized vRA GUI, but removed the actual vRA of business groups. How can I remove the orphaned custom resource element?

    Simplest is to create Action resource for the resource group of business and direct him to a workflow that takes as input and as output-cost market.  (it may just have a script task in making out = in syslogs, or something else)  When you create the action of the resource, select the Type of "Disposal" in the details of Action Resource.  Title of the Action yourself, and then perform the action on the resource.

    I tried to clean up our lab a bit, so I don't have the live example for groups of companies as indicated on the tab elements... but that's essentially what the action should look like...

  • Custom resource does not synchronize with equalize the dynamic Types

    Hi all

    Env: VCAC 6.2

    VCO: 5.5.2

    A custom resource is created based on the dynamic type in VCO. While some changes were made to DyanmicType - added a few attributes. When this custom resource is changed it shows no new attributes in the fields section. I have tried to remove/add endpoint external VCO, delete/recreate the resource custom, rebooted vcac device.

    Any help appreciated.

    Thank you

    tried to add a new DynamicType in VCO, hoping that this will force to refresh the cache. It seems that it worked. New fields are emerging.

  • Delete the custom resource

    Hi all

    I need to expose a DyanmicDataType created in VCO as a custom in the DSA data source and manage this custom data source. Let me know if I am doing this correct.

    1, resource to create custom in VCAC:

    * Define a new data type by calling 'Define the Type' in the folder DynamicTypes in vco.  The data type is < namespace >. < Objetpersonnalise >

    * Create new resource custom in the DSA based out of DynamicTypes:namespace:Objetpersonnalise

    To create a workflow VCO that returns an object of type Objetpersonnalise.  The workflow returns an object by calling DynamicTypesManager.makeObject


    2 delete the custom resource

    How to remove this custom resource that appears in the tab 'Elements '. I can create a new action of resource and associate it with a workflow VCO. How to remove this resource instance custom vaca in the workflow.

    Any help appreciated.

    Delete is performed via a resource of available Action you create.  A simple workflow that takes your resource type as input would.  (if your Item workflow is simple, you can actually use the same workflow to throw... really just an entrance and an exit of the type to get in and out of inventory in the items tab)

    This removes the element Custom inventory of resources (items tab)... If you really want to destroy the resource itself (from source), you might as the workflow to have also a task of the script to actually remove/destroy article in stock dynamic types.  (for example deleting a row in a database table)

    ... Pictures worth a thousand words...

    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

    Hope that helps...

  • How to change the owner of a custom resource

    We create vCAC business groups as a resource that is centralized in our business accommodation for visitors office. Part of the procurement process is to create a custom resource vCAC for the vCACCAFE:BusinessGroup. Once the Group of companies has been implemented we would like to restore this object off customer accommodation property to allow them to update the group membership. How can I change the owner of the resource custom so that the client business group owns instead COMPUTER group central, or more precisely, I just feel like the Group of corporate clients to be able to perform actions of resources against the object group of business.

    It's the kind where I was going before I guess only you don't need this...

    >>... The resource action type has the value "elimination".

    My tests have shown that you can simply re-run the provision as another user and the EXISTING inventory item is replaced by the owner who ran.

    So you can have a market with a resource that says 'Take ownership' and for that Action, a provision by using the existing business group.  Changes in ownership. I tested that.

    Now that I have my right to consumer Resource Actions sorted (the service account of the plugin must qualify for all business groups - or at least where you want the actions to perform VCO), I'm sure I can put up an example that allows you to perform the Action of resource on behalf of someone else... This would allow you to SET the owner based on a new provision in the market.

    So, for example...

    1. I have create group of companies using advanced Service plan, which ALSO runs a provision of the custom resource.

    2. I add you to the Group of the company.

    3. I ran the action of change owner resource and type in your name.

    4. He performs a reconfiguration on your behalf... make you the owner.

    If this makes sense and could help you, I can set up a complete example in my lab tomorrow that shows this feature.  I know I can do.  But I also want to change the owner of a Machine element, and who died for us because he's not in the API.  I want to continue to push for an API method to change the owner as well.  As I said in my support ticket... If you own something, you should be able to change owner.

    Post edited by: SeanKohler

  • "Custom Resource" vCAC 6 Plugin available

    Hello

    Does anyone know of a way that you can set up a custom resource (created in the advanced service designer vCAC) in a vCO workflow? If not, is there anyway you can run the Service Blueprints of vCO - I noticed that these only show the Blues in the vCAC plugin.

    Thank you

    Not yet.

    The vCAC you use plug-in only covers the IaaS API (the part based on Windows). A plug-in for the API of COFFEE vCAC6 vCO will be released in a future release.

  • Create a custom resource account report?

    Is it possible to create a statement of account personalized IOM instead of use the off status of the box (for example configured, enabled, disabled, etc.)?

    I want to set up a new status of the object and use it when a certain task of process is completed successfully.

    Screen Shot 2015-12-04 at 3.09.27 PM.png

    I found a blog post that illustrates this:

    Oracle Stack: IOM statement resource custom

    Hope that helps!

  • Issue of booking Resource Pool

    We used vSphere for a long time and this is the first instance where we watched in the use of resource pools to manage cluster resources.  What we try to do is pool funds from several different material groups buy and then distributed in equal shares of resources between these groups, but allow others to expand beyond what their fair share guaranteed if the resources are not being used by other groups.  And if the other groups are starting to need these resources in return, we want vSphere to restore "ready" transparently resources without causing any VM power issues etc.

    I'm pretty sure resource pools set reservations equal to assignment to a specific group is the way to go here.  If I understand correctly, resource pool bookings do not behave as the reserves of the VM, and even though I had to reserve 100% of cluster across pools resources collectively, a resource pool could grow beyond its reservation as long as there was no pretense.  When the contention starts, additional resources to a pool of resources will be taken away, but only to him guaranteed booking.

    Is my understanding of this is all correct?  Am I sure can cause problems, or a better way to accomplish this task?  Thanks in advance.

    It's the way I used to teach on reservations - think a restaurant which has 100 chairs - like the power of virtual machines on they have a number of chairs that they reserved - if the virtual machine needs more chairs he will get more chairs as long that other virtual machines do not use chairs they reserved - not what happens if all the chairs are reserved - the virtual machine will be not able to come into the restaurant (power on) even if there are empty chairs - if expandable restaurants reservations are activated a call is made to the room dining upstairs (the parent pool) to see if there are chairs available - this works in the same way for memory and cpu but memory has the ability to use the by vm vmkernel swap file and continue my analogy if all chairs are so reserved and a virtual machine appears they could sit on the patio, which can make the conversation (hard affect performance).

    When a virtual machine is turned off (leave the restaurant) it will come out of his reserve make room for several virtual machines.

  • Issue in custom authentication

    Hi all

    I created a new custom authentication. The name of the function specified in the authentication scheme. My code seems to work very well (Boolean condition works) but authentication fails. Here's the package. Is there any other condition, I need the installation when you create to authenticate.

    can someone please suggest.


    create or replace package body app_login
    is
    Function get_hash(p_input IN varchar2)
    return varchar2
    is 
    begin
    
    RETURN UPPER(DBMS_OBFUSCATION_TOOLKIT.MD5 (
                     INPUT => UTL_I18N.STRING_TO_RAW(P_INPUT)));
                        -- return p_input;
    end get_hash;
    
    FUNCTION valid_user(p_username IN VARCHAR2 ,p_password IN VARCHAR2)
    return boolean
    is
    
    v_hash varchar2(200);
    V_RESULT number;
    v_pwd DEMO1_USER.PASSWORD%type;
    
    begin
    v_hash:=app_login.get_hash(P_USERNAME || P_PASSWORD);
    
    SELECT COUNT(*)
             INTO V_RESULT
              FROM DEMO1_USER
                WHERE UPPER(USERNAME) = UPPER(P_USERNAME)
                            AND UPPER(PASSWORD) = UPPER(V_HASH);
    
    
     IF V_RESULT > 0 THEN
           RETURN TRUE;
        ELSE
           RETURN FALSE;
        END IF;
    
    end valid_user;
    
    Procedure add_user(p_username IN VARCHAR2 ,p_password IN VARCHAR2)
    is 
    v_pwd_hash varchar2(200);
    begin
    v_pwd_hash:=app_login.get_hash(P_USERNAME || P_PASSWORD);
    insert into demo1_user values(APP_USER_SEQ.nextval,p_username,v_pwd_hash);
    commit;
    end add_user;
    
    
    
    end app_login;
     
    Thank you
    REDA

    Renon wrote:
    Hi Hari,

    Thank you very much for your time this issue. His works now.
    But the add_user function and the valid_user calls the function get_hash even without stem previously so why validation fails? Is required to be capitalized?

    Concerning
    REDA

    User name will always be in uppercase letters, regardless of how the user entered in the login screen. So in fact, UPPER (P_USERNAME) based on authentication valid_user is not necessary. However I have just kept it so that it returns the correct value when you run it go back. (for the objective test) etc.

    Value of variable binding that app_user will always be as HIGH of breakage.

    Kind regards
    Hari

  • Error: It seems that this Inbox has been blocked. To resolve this issue, contact customer support

    Summary of the issue
    Unauthorized parental block HACKER

    Please provide your address affected:
    E-mail address is removed from the privacy *.

    Additional details
    I was hacked and the hacker put a parental block on my hotmail account.  They also hacked into my wife and my daughter.  I need to have the parental block removed and would like to show you the email address of the hacker as * address email is removed from the privacy *.

    Please use * address email is removed from the privacy * to communcations for this resolution.

    George Waddell

    Hi George,.

    We've finished our investigation on the reported problem. I am pleased to inform you that the problem should be solved, and you should now be able to use your account correctly.

    In addition, if you have Windows Live Family Safety client on the computer, we recommend that you uninstall the application to completely remove the restriction on the affected account.

    Please follow the instructions in the solution below article:

    Uninstall Windows Live Family Safety

    Thank you!

    Note this moderator

  • Issue of custom tone curve

    Hello

    I am under Lightroom 2015.6.1 and since I've upgraded to this version of Lightroom, I'm unable to do a custom tone curve.

    That's what the curve of tone on my screen looks like:

    Screen Shot 2016-09-27 at 12.15.08 PM.png

    The options drop-down menu "Line of points" are: linear, medium, contrast high contrast

    I know there is probably a very simple solution for this, but I was not able to understand it yet. Any help would be greatly appreciated!

    Click on the small icon of curve, the bottom right of your screen capture.  That he tipped into the mode where you can change the curve of the point.  Is that what you meant?

  • APEX dynamic Action issue with custom button template

    A new day and a new problem. -.-

    I wanted to create a dynamic action, if a button is clicked and got the error "the selected button uses a 'button model' which does not contain the #BUTTON_ID substitution string #. So I googled a bit und found issue with action Dynamics apex. I thought that this would solve my problem and I looked in the model button to find this:

    <table class="t15Button" cellspacing="0" cellpadding="0" border="0"  summary=""><tr>
    <td class="t15L"><img src="#IMAGE_PREFIX#themes/theme_15/button-l.gif" alt="" /></td>
    <td class="t15C"><a href="#LINK#">#LABEL#</a></td>
    <td class="t15R"><img src="#IMAGE_PREFIX#themes/theme_15/button-r.gif" alt="" /></td>
    </tr></table>
    

    A former colleague created the model itself and I do not know where to insert the #BUTTON_ID #. Does anyone have any suggestions?

    Concerning

    Chris

    Miss you atrribute button ID,

    is the correct code

    #LABEL#

    I hope this works.

    Go

  • The cost of custom resources allocation / advanced services

    Hello

    could not find any docs on this, or find a way to do it in the UI vcac - so I wonder: is there a way to assign costs to the personalized services? ATM, looks one can only assign costs to calculate based on requirements RAM, CPU and storage resources.

    You guys are working on this feature for 6.1?

    OK, it takes a VMware application to correct this major oversight.

Maybe you are looking for