Book a Demo

Author Topic: enterprise architect database abstraction  (Read 4203 times)

MarkN

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
enterprise architect database abstraction
« on: February 27, 2013, 02:43:13 pm »
Is there a data layer abstration avaliable for enterprise architect that doesn't reley on the add-in model?

I'm trying to intergrate EA into a build system, but would like to avoid going directly to the backing database.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: enterprise architect database abstraction
« Reply #1 on: February 27, 2013, 06:11:02 pm »
This is probably the closest to what you need.
http://code.google.com/p/ea-sqlapi/

Why would you want to avoid the add-in model?

That is in fact the abstraction provided by Sparx.

Geert

MarkN

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: enterprise architect database abstraction
« Reply #2 on: February 27, 2013, 06:24:30 pm »
The interfaces exposed by EA for addins assume your running EA, I have a build script that I would like consume EA data from. This will be running as a service so can't open EA.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: enterprise architect database abstraction
« Reply #3 on: February 27, 2013, 06:39:30 pm »
I guess it's not possible to run it as service. I remember having read some (recent) threads where also Sparxians tried to help but to no avail. The solution is to run it from a dedicated user.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: enterprise architect database abstraction
« Reply #4 on: February 27, 2013, 06:41:43 pm »
Mark,

I'm not so sure you can't use the API when running as a service.
There are operations in he API that allow you to start an instance of ea.exe (in the background) so you wouldn't need to have an instance of EA running.

Personally I've never needed such a thing, but I think there are a number of people on the forum here that have.

Geert


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: enterprise architect database abstraction
« Reply #6 on: February 27, 2013, 09:26:17 pm »
I meant this thread: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1355841023/0#0

It wasn't a Sparxian, but almost ;-)

q.