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 - Boron

Pages: [1] 2 3
1
Hello,
not sure if my topic also relates to Pro Cloud Service, but at least if applies to the "old" Cloud Service, that was superseded by Pro Cloud.

If I use the Config Client to configure the many database managers, the different settings are stored in the Windows Registry in path HKEY_USERS\.DEFAULT\Software\Sparx Systems\SQLBridge\DBManagers.
Looking at the registry I see the following entries for a database manager:
- acceptConnections = "true"
- ConnectionString = "rdvp!BV]9dRfOztOB_,M(E&:H:t`RI*H=.MqsQB}2(!=R/+ADr\\H[;>:b0\"{$I55O&v;aW/fZRW,X"
- DBType = "POSTGRES"
- MaxConnections = "50"
- ReadOnly = "false"
- RunScheduledTasks = "false"
- SecureOnly = "false"

As I need more than 100 database managers for same number of EA Models I would like to "auto-create" the DB managers.
Only the ConnectionString gives me a big headache :-[.
This weird "encryption" is a real pain.

Does anybody know how this string was created? Idea: Take readable string -> encrypt -> use encrypted in DB manager.
Does anybody know if and how I can use an readable connection string instead? I tried, but without success so far.
Any other idea how I can generate > 100 database managers using e.g. a Python script? I do not want want me or anyone to configure that manually :o.

2
PCS General Board / How to use the "floating license server" of PCS?
« on: April 15, 2021, 04:32:12 pm »
Hello all,
I am currently setting up a new EA server. As the "old" Keystore Service is discontinued and superseded by PCS I would like to to use PCS's floating license server capabilities in the "unlicensed edition" of PCS (4.2.65).
Currently we do not see the need for Prolaborate, WebEA and the other fancy new stuff of PCS. That might change in the future, but not now.

First obstacle:
After installation I cannot connect/link to the keystore using the Floating License Config Client :(.
  • The "Sparx Systems Professional Cloud" windows service is running. The configuration is at default, no change in the *.config file.
  • I am working on localhost, so no firewall issues.
  • Neither ssks:// not https:// protocol works
Which protocol to choose? On old keystore service it simply was ssks://.
If HTTPS is the one to choose, how to deal with the certificate stuff? Either I am blind or there is really no documentation about this.


3
Hello,
a colleague sometimes observers that the "Require User Lock to Edit" option sometimes gets unchecked automatically.
Not a big deal to set it checked again, but we are wondering how this can happen.

We are using EA 14.1 (rollout of 15.2 is in preparation).
We do not have EA script in use that uncheck this option.

Has anyone also observed such behaviour?
Any idea what might cause this?
Any idea how to "prevent" this?


4
General Board / Where is the "model default diagram" stored?
« on: February 05, 2020, 09:49:59 pm »
Hello,
does anybody know in which database table the "model default diagram" is stored?

I have a model in which I cannot set the model default diagram using the UI.
I hope to get it set by directly manipulating the storage location in the database.

5
Hello all,
in an EA script (using EA 14.1) I would like to create and access :o a list of integers.
I want store the element IDs of a bunch of classes and objects in that list and do some checks on this.

What I did:
Code: [Select]
set listOfDs = CreateObject("System.Collections.ArrayList")
...
listOfIDs.add(connector.SupplierID)
Now I would like to access the elements in the list.
But unfortunately there is no listOfIDs.GetAt(<index>) method.
When trying to access an element with the [] operator I get an error message.
Code: [Select]
Session.Output listOfIDs[0]leads to the error message: "Expected end of statement".

Any idea how to access the element in the ArrayList?
Are there alternatives to the ArrayList (number of elements to be in the list is unknown, so dynamic resizing would be great)?

6
Hello,
when creating an enumeration element including some attributes, the attributes are displayed by default in a diagram.

In an MDG I have different stereotyped enumerations, and I would like to have own shape scripts for them.
But with the below shown code the shape script does not show the attributes.
What am I missing?
Code: [Select]
shape main
{
// initialisation
layoutType = "border";

rectangle(0,0,100,100);
addsubshape("namecompartment","N");

shape namecompartment
{
preferredHeight = "20";
h_align = "center";
rectangle(0,0,100,100);
print("#stereotype#: #name#");
}
}

7
Hello,
I have a structured tagged value (a class PhysicalRange with a "Min" and a "Max" attribute).
Now I want to query the Min and Max value in a shape script.
Something like:
Code: [Select]
if( HasTag("PhysicalRange.Min", "") ) {
// do something
}
Is that possible?
And if Yes, where can I find information on this?

Accessing normal (unstructured) tags is easy. No problems with that.

8
General Board / EA 14.1: How to see the "owner" of a port of class?
« on: October 30, 2018, 08:16:14 pm »
Hello,

I have a class "Child" that inherits a port from a base class "Parent".
In the dialog window "Features & Properties -> Interaction Points" EA 14.1 shows the owner of that port as "Child".
In EA 13.5 and earlier the owner was shown as "Parent", because that port was originally created at the Parent class.

How can I see in EA 14.1 if a port is inherited from a "base class" or not?

I feel tempted to report this as bug, as the EA <= v13.5 behavior was a bit more logical and helpful to me.

9
Bugs and Issues / Embedded elements of an instantiated class are locked
« on: October 23, 2018, 07:08:56 pm »
Hello,

some facts:
- EA model with enabled user security and activated "Require user lock to edit"
- Problem discovered in EA 12 to EA 14.1 (probably also earlier versions)

Problem:
I have a class with embedded elements like ports or parts.
If I now create an instance of this class, all embedded elements are also instantiated. Awesome :).
BUT: The instantiated embedded elements have no applied user lock, only the class instance gets the user lock.
Thus, giving a name to such an element, or giving a stereotype to an element is prevented, because the OK button is deactivated because of the missing user lock.
We have to manually apply user lock to the embedded elements.

Questions:
Is this behavior intended and why?
Any solution/workaround available to get applied user locks on element instantiation?
Or is a bug report to Sparx necessary, given that there is no reasonable argument why this is intended?

10
General Board / Package control without "version control" possible?
« on: October 16, 2018, 01:58:33 am »
Hello,

a colleague asked me if it is possible to have package control (package content is also stored in file system) in EA without the need of a version control server like SVN, TFS, etc.
He would like to "tell EA" that some packages shall be stored in a file and the EA model knows that these packages are not only stored in the model, but also in the files.
Whenever he changes the package content in the model (previous "checkout" needed), he also would accept to do some "checkin" to update the file content.

Background of the question:
We are going to use the IBM CLM with RTC (Ration Team Concert) for version control.
As RTC creates a local copy of version controlled elements we would need to have our design model to be split into many files (just like now; we use ClearCase as verison control).
BUT: As IBM RTC is not directly supported by EA, we are thinking of having a file based storage of our design model, instead of a monolithic model.
Of course we would still store the model in a DBMS, but single "package artifacts" would be needed in RTC as files.

11
Automation Interface, Add-Ins and Tools / Create MDG via script?
« on: October 09, 2018, 06:35:43 pm »
Hello,

is it possible to create an MDG from an EA Script?
Assuming I have already several xml files containing my UML profile, my own toolbox, my own diagram type, etc.
And, most important, I have already a correct and complete *.mts file.

I would now like to create the MDG.xml file running a script, instead of clicking through the dialog window.
Is that possible?
So far I have not found any information on that in the reference of the automation interface.

12
General Board / Where is my pattern that has been embedded to MDG?
« on: September 20, 2018, 04:11:59 pm »
Hello,
I created an UML profile with a bunch of stereotypes.
I also created a pattern in which classes of these stereotypes are used.
Profile and pattern are added to an MDG.

When importing this MDG to another model I see the toolbox offering my stereotypes -> As expected :)
What I am missing is my pattern.
Where is it?
Does my MDG need something additional to make the pattern usable and selectable somewhere?

13
General Board / Create read-only tag in an UML profile
« on: September 14, 2018, 11:58:39 pm »
Hello,
does anybody know how to make a tag read-only?

We created an own UML profile with some stereotypes for classes.
For one stereotype I would like to make one tag "read-only". The tag has a default value, and it would be nice if the user, who creates a class of such a stereotype cannot change the value of that tag.

14
General Board / Empty tags of a class not shown in diagram
« on: September 14, 2018, 11:48:33 pm »
Hello,
I just observed that EA 14.1 does not display tags with no value (empty tags) in a diagram, even if the compartment visibility is set for tags (or even inherited tags).
As soon as I give the empty tags a value they are displayed.

Is this behavior normal/intended?
How is the behavior in EA version <= EA 14.0?

I would like to see all tags, even those with no value, if compartment visibility is set for tags.

15
Hello,
since a long time (>> 1 year) I have a really annoying behavior when creating a message/call in a sequence chart.
Today it really makes me >:( >:( >:( >:(.

When creating a message between existing messages the message jumps down after creation.
Sometimes it is located at the very bottom, sometimes somewhere in the middle of the diagram.
I always have to move it with press Alt-key to the intended location.

This does not happen the created message is the last in the sequence.
The behavior is the same in EA 12 and 13 (14 not yet tested).

Any idea what might cause this behavior?
Or even better: how to get rid of this?
I do not think this is intended.
A re-installation did not help.

Pages: [1] 2 3