diff --git a/CHANGES b/CHANGES deleted file mode 100644 index 367e6425d66cacc3cd999a9464c8fca8cdf15f81..0000000000000000000000000000000000000000 --- a/CHANGES +++ /dev/null @@ -1,153 +0,0 @@ -CHANGES -======= - - - - - -10/05/2021 -========== -1. added dynamic resource loading at build time depending on the project name -see <target.project.name> property in the pom -2. fixed bug in Resources single instance invocation - -9/07/2019 - 2 -============== -1. fixed security bugs PATH_TRAVERSAL_IN and XXE_DOCUMENT - - -25/06/2019 - 2 -============== -1. fix: new code (to be tested in production environment) to fix Create DSA redirect bug - -25/06/2019 -=========== -1. new: fallback for loading local configuration when configServer is not -available -2. update: removed doGet from SimpleDispacthServlet (may cause problmes for NEW -DSA Template actions) -3. update: xml DSA documents with size = 0 byte are now ignored while loading DSA list - -18/06/2019 -========== -1. update: read configuration from ConfServer - - -06/06/2019 -========== -1. update: improved mechanism to read client side properties from the server side configuration -2. update: availableVocabularyList property moved from client side to server side configuration file - - -25/05/2019 -========== -1. update: server side configuration improvement (new single file config.properties) - - -15/04/2019 -========== -1. update: new updated version of 3.4 vocabulary (notifyOnUser) -2. new: DMO definition can now contain special option value "__USEREDITABLE__". -In the UI, the presence of this option causes a editable text field to appear instead of a combo box (applied for example to NotifyOnUser DMO). - - - -04/02/2019 -========== -1. fix: description field now is correctly updated in the DSA document (fixed both NEW DSA and Update DSA sections) -2. update: new updated version of 3.4 vocabulary -3. update: minor GUI changes - - -18/01/2019 -========== -1. update: improved "Description" form section, both in Edit and in View Mode -2. update: improved "Additional information" form section, both in Edit and in View Mode -3. update: changed "Validity" section, improved date picker fields, both in Edit and in View Mode -4. update: general UI code refactoring in several classes - - -14/01/2019 -========== -1. update: added question mark next to labels to show tooltip -2. fix: removed some wrong styles assigned to elements - - -21/12/2018 -========== -1. fix (ticked #27): single valued properties in policy statements now are correctly managed, -both in UI (Create/Edit DSA and View DSA) and in the XML document -2. update: added parameter "void" to some properties (such as AnonymiseByExponentialMechanism) in 3.4 vocabulary - - -30/11/2018 -========== -1. new: added "application-domain" property, both in the UI and in the XSD. -2. new: added new vocabulary: C3ISP DSAMGR M26 Env 3.4 -3. fix: "Purpose" and "Data classification" DSA properties were not correctly managed in the UI nor in the DSA XML serialization -4. update: slightly modified the Purpose/ApplicationDomain/DataClassification view in the UI (improved list size) -5. update: removed old vocabularies from list - - -28/11/2018 -========== -1. new: added close button to policy selection dialog -2. update: "UserText" section in Statement XML part is now saved including the data - value when needed (example: IF a Organisation hasName a Name(test org name) THEN a Subject CAN Create a Data) - WARNNG: UserText section seems to be a section of the XML which is never used -3. fix: "View DSA", now it contains the correct string value of the statement - WARNING: UserText XML string is not available in "View DSA", so the statement string value is recalculated - at each View request -4. fix: corrected XML in the DATUM section, now the correct values are saved - - -22/10/2018 -========== -1. fix: vocabulary list box selection - - -28/09/2018 -========== -1. update: new default DSA name now includes the current date and time -2. fix: removed blanks in some list of properties in the vocabulary 3.2 (causing UI error) -3. fix: now it is possible to define multiple values for identifier in a policy (new format is param1=val1|param2=val2|...) - - -6/08/2018 -========== -1. fix: THIRD_PARTIES_ label (View DSA) update in DERIVED_OBJECTS_ -2. update: local c3isp_vocabulary_3.2.owl - - -4/07/2018 -========== -1. new: changed xsd schema, from third_parties to derived_objects (connected to Anaystics Result UI element) -2. fix: solved bug in dsa document save operation, correctly save documents when derivedObjects Prohibitions and/or Obligations are specified - - -08/06/2018 -========== -1. fix: content is now centered on screen -2. new: added Analytics Result Policies section in DSA document -3. update: Analytics Result Policies cosmetics -4. update: local c3isp_vocabulary_3.1.owl - - -07/05/2018 -========== -1. fix: scroll bar visible on firefox and explorer -2. fix: c3isplogo.PNG not fount at build time, renamed in c3isplogo.png -3. fix: build failure, removed unused import - - -03/05/2018 -========== -1. new: home page UI (fixed header and footer, new icons and psd design file) -2. fix: some wrong paths for local deployment -3. fix: some dsa template have purpose set as empty string and failed to load, -purpose assigned by default as the first available in purposeList (class DSAAuthoringTool, method initFromDsaBean: ) -4. fix: multiple POM default profiles, now default profile is set only to "local" -5. update: some files for local deployment -6. update: reduced build time for local testing (just one permutation) -via user.agent property (<set-property name="user.agent" value="safari" />, file DSAAuthoringTool.gwt.xml ). Remeber to change this file before commit. -7. update: <transport-guarantee> changed form from CONFIDENTIAL to NONE (file web.xml) diff --git a/README.txt b/README.txt deleted file mode 100644 index ea3261a129a5576a75d6c5d31e90a33d8ba9c1d4..0000000000000000000000000000000000000000 --- a/README.txt +++ /dev/null @@ -1,106 +0,0 @@ -/** -* Copyright 2007-2017 Hewlett Packard Enterprise Development Company, L.P. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -Data Sharing Agreement Manager -============================================= - -Changelog - -- v1.0.0 - alfa release. - - -Vocabularies -============ -There is an assembly goal that creates a vocabularies.war which is installed in /vocabularies at deployment time. -The vocabularies.war contains the owl files, filtered as per the maven profile used, i.e.: -- mvn assembly:single -P test - This generates the vocabularies for the test environment, e.g. it writes the testcocodsa.iit.cnr.it as the URL used in the OWL files -- mvn assembly:single -P local - This generates the vocabularies for the local development, e.g. it writes the localhost:8080 as the URL used in the OWL files -Check pom.xml, <profiles> section, for further details. - - - - - - - -Local build -================== -pom > Run as Maven build; goal = package; Profile=local -war in /target/ - -Local deploy -================== -deploy.bat (edit customize for local environment) -ensure in local tomcat exist folders: - - webapps/dsaRepository - - webapps/vocabularies - /c3isp_vocabulary_3.0.owl - /upper_vocabulary.owl - -Local debug via GWT Dev Mode -============================ -Run as > GWT Dev Mode with jetty. -App search for local vocabulary files via HTTP Url, so run -an apache or tomcat is locally serving the -local vocabularies in vocabularies/ folder at the urls specified -in property "availableVocabularyList" in file -src\main\java\com\hpe\c3isp\dsa\infrastructure\authoring\client\DsaAuthoringToolMessages.properties - -Production build -================ -remeber to edit DSAAuthoringTool.gwt.xml and modify for production deploy -enabling compile of different localizations - -dynamic resource loading at build time depending on the project name -=============================== -see <target.project.name> property in the pom -each project has its own resource folder in src/non-packaged-resource. -Pom is configured to copy these resources when builing process starts (maven-resources-plugin) -In particular: images and css are copied from the project resources folder into -src/main/java/com/hpe/c3isp/dsa/infrastructure/authoring/client/res -Some of the images (currently only background.jpg) are instead copied into src/main/webapp -Unfortunately GWT needs the resources at compile time to create the ClientBundle so they must be copied -in the source folders before compilation starts. - -in pom the property target.project.name is used to determine which folder are to be copied. -defualt value is "ecorridor". Value can be changed manualy inside the pom or indicated in the mvn command -like for exapmple this - -mvn clean package "-Dtarget.project.name=c3isp" - -mvn clean package -P dsamgr "-Dtarget.project.name=medina" -mvn clean package -P dsamgr "-Dtarget.project.name=ecorridor" - - -Problems with xmlbeans-maven-plugin (errors while creating new DSA) -==================================================================== -Root cause is the fact that after some mvn clean, the xmlbeans must be reconstructed. - -1. First try: mvn xmlbeans:xmlbeans -If not working, -2. Workaround: -edit the pom and add the < compiler> property in the xmlbeans-maven-plugin configuration like this - - <compiler>C:/marco/dev/lib/jdk-1.8.0u144/bin/javac.exe</compiler> - -Then call mvn clean compile -After compilation is successfull, comment the previous row in the pom - - - - diff --git a/TODO b/TODO deleted file mode 100644 index 4c824d38b97c7bf0fbf4ffad736b4f851ee36f33..0000000000000000000000000000000000000000 --- a/TODO +++ /dev/null @@ -1,144 +0,0 @@ -cr 08.23 -added serviceName in URL -[...]&serviceName=testServiceName -Added label on top of the REO panels to visualize the service name (or "[Not available] if not found) - - -cr 06.23 - 2 -Replaced the "delete row" button in Statement table cell display -Replaced button "Add info" in Statement table cell display -Modified popup dialog UI "Add addition info": -- buttons replaced -- Labels style -- TextBox and ComboBox style - - -cr 06.23 -Change “TOM” by “Requirement” - DONE -Hide the requirement name since the name is identical to the Code - DONE -Tooltip are now visible also in small browser windows - DONE - - - - -cr 05.23 -- Header bg=black, rimuovere tutto il contenuto DONE -- Footer bg=colore medina, rimuovere logo e versione, aggiornare copyright, aggiungere logo hpe e flag eu al centro DONE -- Rimuovere main background image medina, rimpiazzare con colore grigio chiaro CFCFCF DONE - -- Aggiunto pulsante e icona HELp nel header - DONE -- Link a nuovo documento RequirementsObligationsManual.pdf (disponibile in /webapp/RequirementsObligationsManual.pdf) - DONE - -- Aggiunte descrizioni tooltip per TOM Code e parametri successivi - DONE -- Modificato L&F di alcuni Buttons - DONE - - -CR 03.23 -- impostato showAddObbligationButton=false nella configurazione di defualt -- sostituito attributo Description con Cloud Service ID e reso non modificabile da interfaccia - - -CR 02.23 -- rendere description read only; cambiare label in Clud prvider authorization: -- rimozione obligation: aggiunto message box che non e' possibile rimuovere l'ultima riga - DONE -- rimosso button addObligation (in caso di debug, in DsaAuthoringToolMessages.properties impostare la variabile showAddObbligationButton a true per visualizzarlo di nuovo ); -- rimosso button move row nelle obligation - - - - - -- setVisibleRows(0, 1000) impostato su tutte le CellTable (va impostato prima di inserire i dati nella table..) - -- Revisione completa intarfaccia (Create,Edit,View) - DONE (sostituiti tutti i textField/textArea/altri widget sparsi con una singola table editabile) -- Inserire metricID e MetricDescription nelle obligation (XML e interfaccia) - DONE -- TOM parametri nello schema XML e in interfaccia - DONE -- Rimuovere "DSA" dappertutto - DONE, sostituito con "document" -- Rimuovere pulsante "Link" in Edit statement - DONE -- In edit statement, sostituire la descrizione dello statement con la stessa stringa -che si vede in modalita' view, in modo che siano sempre visibili i vari parametri - PROVATO ma non é possibile senza una riscrittura completa -di tutto il codice (ogni elemento e'una singola label creata al volo alla selezione di elementi dal vocabolario) -- Modificare in schema XML nuovo elemento modification-date cambiando il tipo da date a datetime - DONE (attenzione, non verranno -piu aperti i vecchi DSA a meno di non inserire manualmente nel file XML un timestamp invece di una data, -esempio: modification-date="2022-03-24T11:20:39.804+01:00" - - - -- Completare ReqID + reqset readonly - Fatto ma toglierlo - tolto:DONE -- MetricList selezionalbili a partire da XML (sia la lista delle possibili che la lista delle selezionate) - Fatto ma toglierlo - tolto:DONE - -Medina: -aggiunto remote medina - - -Medina -JSON per nuovi parametri (vedi slide patrizia AND Excel patrizia) - > ora in createNewDSA carica i vari parametri dal file di configurazione "etc/config/requirements.config.json" - -Medina interfaccia per nuovi parametri (vedi slide patrizia) -> Aggiunto campo "Date" a xsd e a interfaccia (readonly) -> rimossa da interfaccia pannello con purpose/eccetera, sia in edit che in view -> modificato campo description e "additional info" come da slide -> Eliminati i campi non necessari come da slide, sia in create che in edit che in view DSA -> TODO: aggiungere i campi ReqID da configurazione json e la logica corrispondente in new/edit/view DSA -> Sostituire DSA Editor titolo con CNL Editor - - - -ViewDSA: -a Resource MUST PasswdEncr Strength3(>=,false) - DONE -a Resource MUST ActParamOpt(<=,AltroOperatore) Strength3(>=,false) - DONE - - per user Strength4=sdfsdf va trasf. in Strength4(sdfsdf) - DONE - - - - - -*PROVARE* a ripristinare param= option= nello statement info (ma non in visualizzazione) - -Strenght4: c'e User, aggiungere sia edit box che combo -ViewDSA: a Resource MUST PasswdEncr Strength4(inputUtente,false) - -Bug: ignorare perche non bloccante - - -Aggiungere filtro alla scelta dei termini dell'albero (Lista di requisiti a cui applicare il filtro sui termini -in modo da mostrare solo quelli definiti nei termini stessi all'interno del vocabolario) - - - - - - - - - - -2021 CR - -Modifica statement info, controllare con mirko le pending rules (per sapere se ci sono pending rules -si controlla se lo statementInfo e vuoto oppure no, ci sono problemi se statementinfo contiene piu valori?). -vedi metodo -public static boolean containsPendingRules(DsaBean obj) { - - - - - - - - - -20/04/2017 -========== - -TODO -1. update all the css files (copypaste from updated DSAAuthoringTool.css) -2. fix the rule selector box (must not force to colplete a rule before discarding it) -3. fix the "move tools" window -4. From email 24/04/2018 -Ho creato un difetto sul DSA Editor Tool: https://devc3isp.iit.cnr.it/trac/ticket/15 -Ti aggiungo sotto anche uno screenshot. -In pratica mettendo più Identifier nella policy, i valori che si possono specificare in Identifier#1 -e #2 “ricordano” sempre lo stesso valore e non valori distinti. Se infatti si clicca su Add Info e si mette per esempio “UserA”, anche cliccando sul secondo Add Info si vede sempre “UserA” e pur cambiandolo ad es. in “UserB” resta sempre al valore precedente.