Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Uffe

Pages: 1 2 3 [4] 5 6 ... 18
46
Bugs and Issues / Cloud Service user
« on: July 07, 2016, 12:25:40 am »
Hi all,


I'm helping a client set up a cloud service for their intranet, specifically to enable reusable assets. The environment is all-Windows, with SQL Server for the DBMS. IIS extensions will not be used.

We're using domain groups to control database access, and out of the box the Cloud Service sets itself up to be run by the local System user, which doesn't have access to any databases.

What is the best practice in this situation?

Should we create a local user on the server, give it access to the database, and make the Cloud Service run as that user?

Or should we give the local System user database access? This sounds iffy to me.

Any suggestions appreciated,


/Uffe

47
Bugs and Issues / Image library, the great mystery
« on: June 04, 2016, 12:44:11 am »
Hi all,


I seem to recall I wrote something on this a while back but I can't find it now. So.

1) How does the ImageID column work? Is it simply a key column with randomly assigned integers, or do they actually mean something and if so, how are they calculated?

2) What about the Type column? Bitmap, yes. What else can it be?

3) Is there any way to manage the contents via the API?

Thanks,


/Uffe


/Uffe

48
General Board / Re: Enterprise Architect 13 Beta 1 1300
« on: June 03, 2016, 07:03:15 pm »
Oh great. There goes my long weekend.  >:(

49
Hi again,


This is further to an earlier post of mine, but first I retracted and then the thread went funny.

But.

You can't actually use the SparxCloud.exe installer to install just the management client. The best you can do with the service is select "Feature will be installed when required," you can't actually deselect it (as in "Entire feature will be unavailable") -- which you can do with the management client (and the HTTP support).

So rant back on.

The management client needs to be separated from the service installer-wise. The whole point of the cloud service is to work in a networked environment. Who logs on to a server to manage its services? Nobody, that's who.

Meanwhile, can someone enlighten me as to when the service is actually required? In other words, if I defer installation of the service, under what circumstances will it suddenly install without me asking?

Thanks,


/Uffe

50
Hello,


My cloudy client repackages EA for their own intranet. The question arises, does the cloud service management client need the cloud service config file?

Yes, absolutely, according to the help.
"The first settings you will see in the configuration file are to control how the Management Client will connect to the server."

No, of course not, according to the help.
"The Logon screen is the first to be shown when launching the Management Client and at a minimum requires the address (and port) of the Cloud Server you wish to connect to."

So... Which is it?

Cheers,


/Uffe

51
Hi all,


The cloud service installation package installs both the server and the configuration client.
This is, well I don't want to say poor design but... dammit, it is poor design.

The configuration client should be installed with the regular EA client. The server should be a separate installation.
The current way is more convenient for sandbox proof-of-concept testing, I grant you, but for production use it is plain wrong.

In a production environment, you want the config client installed on the administrators' desktop machines. The server should only be installed on those machines where it is intended to run. With the installer the way it is, installing the config client means installing the server as well and setting it running as a Windows service -- not what you want on a desktop machine.

I understand the desire to keep things simple and convenient for those who just want to try things out, but it kinda leaves those who have decided to actually use the product properly paddleless somewhere up the creek.

So please, distribute the config client with the EA client and the cloud server on its own.

</rant>


/Uffe

52
Bugs and Issues / Cloud services and RAS on 11.1
« on: June 01, 2016, 07:04:32 pm »
Hi all,


I've got a client who wants to set up cloud services, primarily to enable use of reusable assets. They're on 11.1.1112, Windows clients, a mix of .EAP and SQL Server repositories and no external version control (ie Subversion etc).

Is anyone aware of any gotchas with RAS on 11.1?

Upgrading to 12.1 is an option but not the preferred one as it brings on a lot of GUI changes that the organization would rather not deal with at this time.

I've searched the history pages for references to the cloud and reusable asset services, and there don't seem to be any showstoppers there -- some minor bug fixes and a lot of GUI changes, but nothing major. But I might be missing something.

So are there any bear traps?

Thanks,


/Uffe

53
Bugs and Issues / User locks being dropped
« on: June 01, 2016, 01:02:40 am »
Hello,


I'm running 11.1 against a SQL Server repository with user security, and user-level locking.

In this repository I have, in its own root node, a "reference model" containing some 1100 elements in 50-odd packages, no diagrams, no connectors. From these elements, instances are created in various other packages. I keep the reference model locked by the admin user.

The reference model is imported from another project using baselines. During such an import, something went wrong and subsequently the locks on the packages are periodically dropped. I can re-lock them, but a few days later they're gone again. The elements and the top-level package stay locked.

What's gone out of sync and how can I fix it?


/Uffe

54
Bugs and Issues / Project transfer: login fails
« on: May 18, 2016, 07:18:19 pm »
Hello all,


I've got two projects in SQL Server, and I'm trying to do a transfer between them but it fails with an "Unknown user or incorrect password".

The setup:
  • EA 11.1.
  • Both repositories use Windows authentication.
  • My own user is not admin in either project. Specifically, it does not have the Transfer Data permission.
  • The admin user has a non-default password, same in both projects.
And here's the kicker: the target project was set up as a copy of the source project, and that worked fine. The only difference is that when I did that, the target project was empty.

I've tried initiating the transfer when logged into the source project (as admin), when logged into the target project (as admin) and when not logged into either project. Same result.

I've tried setting the target project's admin password back to "password", but that didn't help either.


Any hints?


/Uffe

55
Bugs and Issues / HTML export on web server
« on: May 14, 2016, 12:24:49 am »
Hi all,


This is such an obvious question, but I honestly haven't come across this situation before.

If I do an HTML export, can the resulting HTML file hierarchy be transferred onto a web server and served up by it, rather than having the browser read the files over a file share?

Or do I need to patch the HTML before Apache or IIS will touch it?

Cheers,


/Uffe

56
Hello boys and girls,


Working with a profile, is there a way to specify that an element should have a linked document? In other words, that it should behave like a Document in the Artifacts toolbox page?

It seems that what causes EA to auto-open (or create) the linked document when an element is double-clicked is the property "MDoc=1;" in t_object.Style. But I haven't found a way to set that; there's no special attribute in the metaclass or the stereotype that I can see, nor is there a Document metaclass available to extend.

Has anyone done this?

Cheers,


/Uffe

57
Hi all,


This one's got me stumped. I was hoping the new Document Script fragments might help, but... well, see my other post.

I've got a generalization hierarchy. No multiple inheritance.
The root element in this hierarchy has a RefGUID tagged value named "doc". Some of the descendants override this, some do not.
The reference elements have all got linked documents.

When I document any element in this hierarchy, I want to include the linked document from the element referenced in the nearest ancestor's "doc" tag.

I could do this easily if I wrote a document generation script, but I want to do it using just templates. Fragments are fine, but I want to be able to invoke the document generation process the regular F8 way, not by running a script.

How the hell am I meant to do that?

Cheers,


/Uffe

58
Automation Interface, Add-Ins and Tools / Document Script Fragments
« on: May 01, 2016, 02:08:54 am »
Hi all,


I'm trying to get to grips with document script fragments (hey, it's Saturday night), but I'm not getting anywhere and the help page is pretty uninformative.

Does the function script have to be called main(), or do I specify the function within the script like with Custom Script fragments?

Can I include an argument like #OBJECTID#?

In confusion,


/Uffe

59
Suggestions and Requests / Security: revert to own user
« on: April 30, 2016, 07:08:26 pm »
Hi all,


After reading a couple of Paolo's latest in Bugs&Issues, here's one I think would be useful: the ability to revert back to your own user after being logged in as someone else.

First, assume you're using Windows authentication.
Then, let's say you need to switch over to admin for something, such as unlocking a package.
In order to get back to your own user you have to close and reopen the project. That's something you want to avoid, especially if you've got a lot of stuff open.

The function should only be available (in the Project -- Security menu) if your current user differs from the Windows user, and the project uses Windows authentication.
When triggered, it should perform the exact same authentication that EA does when you open the project. If it fails (which would be an unusual situation), the project should close.

This way, you can elevate to admin temporarily when needed and then get back to your work with a minimum of fuss and context switching.

What say you, gentlemen?


/Uffe

60
Hi Gurus!


I've stereotyped an association class, and I would like to be able to show which elements it connects in the shape script for the class. That way I can drop the association class in a diagram on its own and see its source and target.

The information is available in a connector shape script, but of course I'm in an element context.
So is there a way to do this without resorting to an Add-In call?

Cheers,


/Uffe

Pages: 1 2 3 [4] 5 6 ... 18