Conect to Work Repository from Open Tool

Hello.
I'm developing a new Open Tool plugin, and I would like to know if there's any way to connect to the work repository through ODI Java API.
That's it, I could add JDBC connection parameters to the plugin so the user can put there the driver, the JDBC URL, etc. for connecting to the Repo. But, if it's possible, I'd prefer to connect through some Java functions. Another option would be to add a schema in the Topology for the work repository DB, and read the connection data from it, so the user only had to enter the name given to the schema.
In a few words, my aim is to make user's life easier and make the plugin looks well integrated into the ODI platform.
Also would be great to know about a good advanced Open Tool development tutorial.
Thanks and best regards,
Carlos.

AMSI wrote:
hi,
Can we change the Work Repository from Development to Execution?No .
if yes then how can we change it?
Regards,

Similar Messages

  • How can I move the ODI Work Repository from one server to another server?

    How can I move the ODI Work Repository from one server to another server?

    Hi,
    If you would like to move your source models, target models and project contents from Work repository 1 to another work repository.
    I.e. Dev. server to Prod Server.
    1. Firstly, replicate the master repository connections i.e. with same naming conventions manually
    2. Go to Dev. Server work repository -> File Tab -> Click on Export work repository (save it in a folder)
    3. After exporting, you can view the xml files in the folders.
    4. Now, Open the Prod. server and make sure you already replicated mas. rep. details.
    5. Now, right click on model and import source model in synonym mode insert_update (select source model from the folder where your xml file located)
    6. Similarily, import again target then Project.
    Now, check. It should work.
    Thank you.

  • Can we change the Work Repository  from Development to Execution?

    hi,
    Can we change the Work Repository from Development to Execution? if yes then how can we change it?
    Regards,

    AMSI wrote:
    hi,
    Can we change the Work Repository from Development to Execution?No .
    if yes then how can we change it?
    Regards,

  • Migrating a work repository loses the LKM selection on all interfaces

    Hi,
    I have a number of projects that I have just moved from one development environment to another. I've actually carried it out twice now and had the same error each time.
    I export the work repository from my working development environment, then after setting up all the connections/schemas in the new environment, I import the work repository through designer.
    Everything seems to import fine, all my models are there, all my projects are there, but
    1. The models no longer have the Journalising Knowledge module selected and I have to reselect it before starting any journals.
    2. All the interfaces have lost the selection of the LKM in the flow tab. I have to open each interface and select the LKM I want and then rebuild all my scenarios.
    Has anyone seen this problem? Any light you can shed?
    I had a search and haven't seen anything similar.
    Regards
    Damian

    Has anyone else had this problem? Any reason why the LKM selection gets dropped during the import?
    It is quite a hassle to fix up every interface & then regenerate scenario's after importing a repository.
    Cheers,
    Matt

  • Problem While Importing Work Repository

    I am facing a problem with import and export in ODI.
    I was working in ODI Designer and had to move my work repository from one host machine to another host machine.
    After doing a database migration of the ODI database to the new machine, the master repository was imported.
    There was no problem in importing the master repository.
    While taking an export of the old work repository, I took an export into a zip file:
    File---->Export----->Work Repository
    And specified the zip file name there
    Now the problem is, that when I import the work repository into the new environment/host/machine, it throws an error.........
    java.sql.SQLException: ORA-02291: integrity constraint (SCHEMA_NAME.FK_COL_COL) violated - parent key not found
    where SCHEMA_NAME is the Oracle schema being used as a work schema
    Message was edited by:
    CJ@DI

    Yes I believe that's the problem
    Thanks a lot for ur suggestion, I'm going to try that
    Because my schema had been created a month ago and there was some metadat already stored in it at that time
    But now I wanted to REPLACE all that through ODI
    But that seems an impossible task
    So will try to drop and re-create the schema and then import.
    I had some invalid interfaces in my export as well.......so that could have caused it
    Well, in ideal terms ODI should throw an error when you try to export and if anything is invalid in your Designer
    I guess the tool still needs to evolve
    That's my perception but maybe I'm not following some procedures to do things in ODI ; long way to learn!
    Message was edited by:
    CJ@DI

  • Getting Error Out Of Memory while importing the work repository in ODI 10g

    I exported the work repository from topology of ODI 10g of one DB and tried importing it in the another ODI 10g topology of another DB.While importing i got the error 'Out of Memory' .
    Can somebody suggest me ,how to solve the heap size out of memory issue while importing in ODI 10g.
    Thanks in Advance.

    Hi,
    you have to post your question in ODI forum
    Data Integrator
    Suresh

  • Question about import the work repository

    I am trying to import a work repository from server B to server A, originally the work repository in server B was imported from server A, I did some modification in Server B, and export it, now I am trying to import it back to server A.
    I get the error as below:
    com.sunopsis.core.n: This import action has been cancelled because it could damage your repository (problem with the identifier sequences)
    in topology manager/repository, I have same ID in both work repository, what should I do to import this work repository back to server A?
    Thanks

    Bad news...
    Unfortunately after start to create/delete objects the sequence of each repository get its own values and is not possible to syncronize it again after that.
    Until today I saw export and import only working into empty repository.
    There is a way to do the work manually, controlling each repository ID but is complex and take time.
    Maybe Oracle support have some script ready for that.
    Edited by: Cezar Santos on 11/03/2009 17:52

  • Import work repository

    Hi all,
    Can anyone help me out on this:
    I want to migrate my work repository from one machine to another after we have done some additional work which includes new Interfaces, but also changed properties for certain columns. Using the "import workrepository" option I can choose between INSERT, UPDATE and INSERT_UPDATE synonym-mode.
    When I choose INSERT_UPDATE (which makes most sense in my case, I think), it always fails with the error that an object is updated by another user.
    However, when I choose INSERT-mode, everything works fine; new objects are inserted and changes to existing objects are also updated.
    Am I missing something here? I cannot find anything about this in the docs...
    Thanks in advance,
    Steffen

    Hi Steffen,
    Ok, seems that I had a environment a little different, in my case there were 2 Development Work Repository.
    Anyway I already see the same situation between a Development Work Rep and the Execution Work Rep and the solution is (at the project I´m work right now, 25 ODI developers):
    Deployment Steps:
    1) Development Architecture:
    Any object is a scenario, it means that after you create a procedure, an interface, variable... (any object!) you need to create its scenario. In this way the package that will define the process flow will have just scenarios inside.
    This architecture will give you a little more work at the first deployment but allow you a better control of object (code) version at complex process when you need changes in a singe step for instance...
    2) Deployment between Repositories:
    At the first time of the object -> Normal export from Development Work Rep (Designer) and import in "Insert-Update" mode at Execution Work Rep.
    Post first Deployment:
    a) if you work with scenario version, just deploy the new version (it is like a first time) and make a new deploy of the "flow" package calling the new version at its related steep (unless if you are using the "-SCEN_VERSION= -1" at the call)
    b) if you work just with "Regenerate" Scenario and are keeping the same version then you need delete the object at Execution Work Rep and import it again in the "Insert-Update" mode.
    I hope to be helpfull!!! Any doubt, please, post new message!!!

  • ODI work repository error

    Hi all,
    some one installed a new ODI on my machine and made a new master repository on the same user, then when i tried to access ODI this error appeared "your master repository is not up to date" , so i took backup and I upgraded the master repository, now I have this error "connection to repository denied" "Unknown work repository".
    and when i create a new work repository from ODI , it asks me for the work repository password and i tried every single password i know and it didn't work out.
    P.S: ODI version is 10.1.3
    thanks a lot for helping guys.

    Hi,
    could you compare resultset from this query
    select CON_NAME,PASS from snp_connect where CONNECT_TYPE = 'R'
    executed both on backup and "actual" master repository?

  • How to create a new master and working repository

    We have a working env - with master and working repositories .
    we have solution for this env .
    I want ti create a new environment for a new version - and to create new master and working repository from the old environment .
    I tried several options but with no success .
    Please help me to understand how can this be done ?
    Thanks
    Tamar

    What options have you tried with no success ?
    Do you want to selectively release / migrate code from one env to the new one or will a clone of the working environment be sufficient? If you clone - you wont be able to selectively move updates across.

  • NoAccessException from Authoring tool

    Hi All, Here i am getting the error, When ever i am trying to access the master repository from authoring tool, the user credentials are passed correctly to the repository.Same user id and password exiats in KM Repository and backend r3/ecc.
    I verified my repository in: http://<server>:<port>/lms/mediator/config
    and is ok !!!
    CPCFG.RSURL = http://host:50000/irj/go/km/docs/documents/LSOREP
    CPCFG.REPUS = LSOCP_USER
    ServerURL=http://host:50000/irj/go/km/docs/documents/LSOREP ok!
    Error details
    No access: 500
    -> Please verify the settings: WebDavSlide-Repository: [ServerURL=http://localhost:50000/irj/go/km/docs/documents/LSOECD]
    com.sap.hcm.ls.shared.repository.access.NoAccessException: No access: 500
    -> Please verify the settings: WebDavSlide-Repository: [ServerURL=http://localhost:50000/irj/go/km/docs/documents/LSOECD]
         at com.sap.hcm.ls.shared.repository.access.wdslide.WDRepository.checkAccessability(WDRepository.java:402)
         at com.sap.hcm.ls.shared.repository.access.Repository.checkOnlineState(Repository.java:120)
         at com.sap.hcm.ls.las.repository.explorer.ConfigContext.checkMasterAccess(ConfigContext.java:886)
         at com.sap.hcm.ls.las.repository.explorer.ConfigContext.goCMOnlineCore(ConfigContext.java:866)
         at com.sap.hcm.ls.las.repository.explorer.ConfigContext.goCMOnline(ConfigContext.java:767)
         at com.sap.hcm.ls.las.repository.explorer.ConfigContext.goOnline(ConfigContext.java:739)
         at com.sap.hcm.ls.las.repository.explorer.ExplorerControl.doGoOnline(ExplorerControl.java:203)
         at com.sap.hcm.ls.las.repository.explorer.ExplorerGui$45.actionPerformed(ExplorerGui.java:1385)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at com.sap.hcm.ls.las.ide.CatchQueue.dispatchEvent(EditorFrame.java:1629)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)

    Hi Sara,
    From several simmilar past cases, please check if:
    1. the URL maintained in the IMG config in LMS was not correct. Although the URL was a WebDav compliant url, the config require a specific URL (see properties of the repository > WebDav url.)
    2. the actual service pack for the authoring environment was not installed. Could you please check the patch level of your systems?
    3. Could you also check it the configuration of your portal relies on NT authentication? This must be basic authentication (see note 590060 on this)
    Please consider also SAP Note 914824 with informations regarding LSO AE.
    Br,
    Javier

  • Cannot open gmail page says server error, but other pages from google tool bar work just fine

    I cannot access gmail from any opiton, web address, or tool bar. it gives an error of cannot find root? other pages from the tool bar work ie, utube, or g +..............I have checked my cookies and all are accepted. Specific message is: This page isn't redirecting properly Firefox has dected that the server is redirecting the request for this address in a way that will never complete. this problem can sometimes be caused by disabling or refusing to accept cookies.

    I have alike problem: I can access my account on Google+ or YouTube but when I try access GMail or Calendar I see error message about invalid redirect to https://accounts.google.com/CookieMismatch ("server redirects to this address in such way that request will never complete") with comment that this error usually occures when cookies are disabled. But I see that cookies are enabled in FireFox Setup. What's wrong?

  • Is it possible to check out whole repository from dtr command line tool?

    Hi
    I wonder is it possible to check out whole repository from dtr command line tool.
    Normally, in NWDS i have to log into SLD, select a component, then select components i want to check out into workspace.
    I would like to do some static analysis (PMD, etc) but checkiing out everything manually is really painfull.
    Are there any guides how to check out everyhing from the command line (so i would nothave to specify any paths except top level components)?

    Hi,
    I don't know of a feature which would allow to check out "everything" from the "root".
    checkout Checks the given resource out.
    Syntax checkout/co \[-exclusive| -x] resource \[activity]
    Options exclusive|x If specified the resource is exclusively checkout-out.
    Arguments resource The resource that should be checked out.
    activity The path or name of the open activity that should be used for the checkout, if no activity is specified one is implicitly created.
    Output Variables
    $wr[] Working resources
    $act[] Activities
    Description Checks a resource out.
    Examples
    Checkout a file within a given activity
    Checks out the file "/ws/wspdir/wsp/dir/a.txt" in the activity "/act/myActivity".
    checkout /ws/wspdir/wsp/dir/a.txt /act/myActivity
    Checkout a file
    Checks out the file "/ws/wspdir/wsp/dir/a.txt" in an activity that is implicitly created and returned in the output variable "$act".
    checkout /ws/wspdir/wsp/dir/a.txt
    Checkout a file exclusively
    Checks out the file "/ws/wspdir/wsp/dir/a.txt" exclusively in an activity that is implicitly created and returned in the output variable "$act".
    checkout -x /ws/wspdir/wsp/dir/a.txt
    Can you please also tell us what kind of statistics you intend to create? Sorry I don't know what PMD abbreviates.
    You can always generate yourself an up-to-date documentation of the DTR Console by exporting the help (for details type help help): help -x c:/DTRConsole.doc
    Best Regards,
    Ervin

  • Why does paintbrush not work on images opened from Bridge?

    This problem may be due to another cause but the most common occurance is when an image is opened from Bridge so I've posted it here.  Here are the details.
    I have had tons of problems with CS4 on my desktop PC but seem to have most of them resolved with a new video card, updated driver  and help from an earlier thread.  In fact, I thought all problems solved but this one has persisted.  If it matters I'm running Windows XP service pack 3, 4gb of RAM of which 3.4 is available.  It has an 2.67 GHz Intel Core2Duo cpu.
    If I open CS4 and open an image, all paintbrush tools (paintbrush itself, clone tool, healing tools, etc) work fine.  Sometimes I can work for hours with no problems.  Other times these tools simply stop working.   When this happens seems random.  For example, the other day as long as I did not send anything to print, all worked fine but after printing a few images the tools stopped.  Other times I've printed and the tools still worked.  Sometimes if I open images direct in Photoshop using file -> open, all is well but as soon as I launch an image from Bridge, tools don't work.  Other times launching from Bridge works fine, BUT more often than not, it seems to occur after launching from Bridge, hence the post here as I already noted.  I've tried to trace down a common set of circumstances but it is too erratic.
    What is interesting also is that the use of the tool shows up in the history panel as a step taken.  There just is no visible effect on the image.  This problem has been present since CS4 was originally installed along with several other problems.  In the course of attempting to solve them all, I have deleted preferences and allowed them to rebuild, I have actually uninstalled and reinstalled Photoshop multiple times. 
    More confounding is that CS4 works fine on a clunky old laptop with less RAM and a much, much older video card.  I also, as a test, ran the 30 day trial on the computer I'm using here.  It too is older and less RAM and that worked fine too.  So it seems to be saying there is something wrong with the computer used for photo editing or the video card.  Don't think it's the card.  I bought a new one.  It didn't solve any problems so I bought another and it corrected many of the other issues I was having.  Indeed after installing the latest drivers for this card, absolutely everything worked perfectly for almost two days but now this paintbrush tool issue is back. 
    So what the heck can be going on that is cumulative or is there a hardware component that is erratic or have I missed something in CS4?  Man I love the power of the program and the improvements since CS3 but if I have to shut it down and restart it every single image, clearly that is not feasible.
    Many thanks for any help.

    Well, now I'm an idiot.  I fired up without the tablet plugged in and
    paintbrush worked fine on all files.  I then left the image open I had just
    painted on, plugged in the tablet with pc still running, no paintbrush
    function using tablet mouse.  Without unplugging the tablet I again tried
    the regular mouse and paintbrush worked fine.  So it's not a matter of any
    sort of conflict with the tablet being active, it sure looks like a tablet
    malfunction.  It still mystifies my how this tablet is so smart it can tell
    the difference between psd and jpg but there it is...can't argue with
    results.  Still, one last thing confounds me and that is the tablet works
    fine on all file types in CS3 and every other app I have.  If there was a
    malfunction with the tablet, wouldn't you think it would misbehave on all
    apps?  Could it be that the tablet needs a new driver?  You must've had a
    clue to recommend this course of action.  Now that we're here, what do you
    suggest or should that be another thread?
    By the way, if it matters I had already upgraded vc drivers and CS to 11.0.1
    before this started.

  • How do I assign an ODI variable from an Open Tool?

    I'm writing an open tool (a custom tool to use in my ODI flows - a java class that implements oracle.odi.sdk.opentools.IOpenTool
    ). I need to perform a complex calculating in the java Open Tool and 'export' a value back into the ODI world. Idealy, it would be great if I could set a variable in ODI (from within the java world).
    Is this possible?
    If anyone knows the answer, or another way to do this (that might not be as ideal, but works all the same) please let me know.
    Matt.

    Matt
    It is not possible to directly populate an ODI variable, but what you can do is to put the result value into a memory engine table/column, and then to refresh the variable from there. As it is all in-memory, it is fast.
    Craig

Maybe you are looking for

  • Warranty question (battery)

    I bought a Toshiba Satellite (L755 series) laptop a few weeks ago. It says it has a 1-year warranty. Does this also apply to the battery. I plan to use the laptop quite a bit and I'm not sure how long the battery will last. Incidentally, the battery

  • Formatting a report in OFR.

    We have multi Scenarios for children of a Line of Business, We have them in one col on a report. some of the scenarios are %. We want to use Conditional formation on the cols, but OFR will not let you do this. If we break the scenarios into seperate

  • To read payload for an idoc

    Dear experts, Scenario is to copying file to a path of FTP server and XI posting corresponding idocs to SAP server. I find that in table EDIDC in sap server,we get messageid = Message id of monitoring in XI system. I am using this mapping to conclude

  • Sorting movies on iTunes

    The UI and search for iTunes is so clunky - given Apple are normally pretty handy UI designers - is this deliberate? Jumping on to look for new releases means sifting through an awful lot of useless B movies from the past. Why isnt there a category t

  • Importing itunes music videos

    I would like to import my itunes purchased music videos to a folder seperate from itunes music, similar to the fashion that itunes movies are imported.